Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
verneylmavt committed Nov 17, 2024
0 parents commit 5372221
Show file tree
Hide file tree
Showing 79 changed files with 2,885 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .vs/DirectoryTreeGenerator/v17/.suo
Binary file not shown.
23 changes: 23 additions & 0 deletions .vs/DirectoryTreeGenerator/v17/DocumentLayout.backup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\ASUS\\source\\repos\\DirectoryTreeGenerator\\",
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": -1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
}
]
}
]
}
]
}
23 changes: 23 additions & 0 deletions .vs/DirectoryTreeGenerator/v17/DocumentLayout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\ASUS\\source\\repos\\DirectoryTreeGenerator\\",
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": -1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
}
]
}
]
}
]
}
6 changes: 6 additions & 0 deletions DarkTheme.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Dark Theme Styles -->
<SolidColorBrush x:Key="BackgroundBrush" Color="#FF1E1E1E"/>
<SolidColorBrush x:Key="ForegroundBrush" Color="White"/>
</ResourceDictionary>
28 changes: 28 additions & 0 deletions DirectoryTreeGenerator.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35506.116
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DirectoryTreeGenerator", "DirectoryTreeGenerator\DirectoryTreeGenerator.csproj", "{5B4B3C4C-5965-41F0-9EB3-E6C4829AD234}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DirectoryTreeInstaller", "DirectoryTreeInstaller\DirectoryTreeInstaller.vdproj", "{03696520-9580-4BD2-A0D5-54A94A20B8CD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5B4B3C4C-5965-41F0-9EB3-E6C4829AD234}.Debug|Any CPU.ActiveCfg = Release|Any CPU
{5B4B3C4C-5965-41F0-9EB3-E6C4829AD234}.Debug|Any CPU.Build.0 = Release|Any CPU
{5B4B3C4C-5965-41F0-9EB3-E6C4829AD234}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5B4B3C4C-5965-41F0-9EB3-E6C4829AD234}.Release|Any CPU.Build.0 = Release|Any CPU
{03696520-9580-4BD2-A0D5-54A94A20B8CD}.Debug|Any CPU.ActiveCfg = Release
{03696520-9580-4BD2-A0D5-54A94A20B8CD}.Debug|Any CPU.Build.0 = Release
{03696520-9580-4BD2-A0D5-54A94A20B8CD}.Release|Any CPU.ActiveCfg = Release
{03696520-9580-4BD2-A0D5-54A94A20B8CD}.Release|Any CPU.Build.0 = Release
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Binary file added DirectoryTreeGenerator/1024x1024.ico
Binary file not shown.
6 changes: 6 additions & 0 deletions DirectoryTreeGenerator/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>
13 changes: 13 additions & 0 deletions DirectoryTreeGenerator/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Application x:Class="DirectoryTreeGenerator.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!-- Merge the default theme dictionary -->
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="LightTheme.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
17 changes: 17 additions & 0 deletions DirectoryTreeGenerator/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace DirectoryTreeGenerator
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
6 changes: 6 additions & 0 deletions DirectoryTreeGenerator/DarkTheme.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Dark Theme Styles -->
<SolidColorBrush x:Key="BackgroundBrush" Color="#FF1E1E1E"/>
<SolidColorBrush x:Key="ForegroundBrush" Color="White"/>
</ResourceDictionary>
143 changes: 143 additions & 0 deletions DirectoryTreeGenerator/DirectoryTreeGenerator.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5B4B3C4C-5965-41F0-9EB3-E6C4829AD234}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>DirectoryTreeGenerator</RootNamespace>
<AssemblyName>DirectoryTreeGenerator</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>1024x1024.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="DarkTheme.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="LightTheme.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Resource Include="LargeTile.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.8 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Resource Include="1024x1024.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
13 changes: 13 additions & 0 deletions DirectoryTreeGenerator/DirectoryTreeGenerator.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>
Binary file added DirectoryTreeGenerator/LargeTile.ico
Binary file not shown.
6 changes: 6 additions & 0 deletions DirectoryTreeGenerator/LightTheme.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- Light Theme Styles -->
<SolidColorBrush x:Key="BackgroundBrush" Color="White"/>
<SolidColorBrush x:Key="ForegroundBrush" Color="Black"/>
</ResourceDictionary>
91 changes: 91 additions & 0 deletions DirectoryTreeGenerator/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<Window x:Class="DirectoryTreeGenerator.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Directory Tree Generator" Height="450" Width="800"
AllowDrop="True"
DragEnter="MainGrid_DragEnter"
Drop="MainGrid_Drop">
<Window.Resources>
<!-- Merged dictionaries will be added here -->
</Window.Resources>
<Grid Background="{DynamicResource BackgroundBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>

<!-- Top Controls -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10">
<Button x:Name="btnSelectFolder"
Content="&#xE838;"
Width="50"
Height="50"
Margin="5"
Click="BtnSelectFolder_Click"
FontFamily="Segoe MDL2 Assets"
FontSize="24"
ToolTip="Select Folder"
Foreground="{DynamicResource ForegroundBrush}"/>
<!-- Include Hidden Items Button -->
<Button x:Name="btnToggleHidden"
Content="&#xE72E;"
Width="50"
Height="50"
Margin="5"
Click="BtnToggleHidden_Click"
FontFamily="Segoe MDL2 Assets"
FontSize="24"
ToolTip="Include Hidden Items"
Foreground="{DynamicResource ForegroundBrush}"/>
<!-- Theme Toggle Button -->
<Button x:Name="btnToggleTheme"
Content="&#xE706;"
Width="50"
Height="50"
Margin="5"
Click="BtnToggleTheme_Click"
FontFamily="Segoe MDL2 Assets"
FontSize="24"
ToolTip="Toggle Theme"
Foreground="{DynamicResource ForegroundBrush}"/>
</StackPanel>

<!-- Output TextBox -->
<ScrollViewer Grid.Row="1" Margin="10" VerticalScrollBarVisibility="Auto">
<TextBox x:Name="txtOutput"
TextWrapping="Wrap"
IsReadOnly="True"
AcceptsReturn="True"
Background="{DynamicResource BackgroundBrush}"
Foreground="{DynamicResource ForegroundBrush}"
FontFamily="Consolas"
FontSize="14"/>
</ScrollViewer>

<!-- Bottom Controls -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Grid.Row="2" Margin="10">
<Button x:Name="btnCopyToClipboard"
Content="&#xEA35;"
Width="50"
Height="50"
Margin="5"
Click="BtnCopyToClipboard_Click"
FontFamily="Segoe MDL2 Assets"
FontSize="24"
ToolTip="Copy to Clipboard"
Foreground="{DynamicResource ForegroundBrush}"/>
<!-- Save to File Button -->
<Button x:Name="btnSaveToFile"
Content="&#xE74E;"
Width="50"
Height="50"
Margin="5"
Click="BtnSaveToFile_Click"
FontFamily="Segoe MDL2 Assets"
FontSize="24"
ToolTip="Save to File"
Foreground="{DynamicResource ForegroundBrush}"/>
</StackPanel>
</Grid>
</Window>
Loading

0 comments on commit 5372221

Please sign in to comment.