Initial commit
This commit is contained in:
77
C#/FiveM/CarConverter/MainWindow.xaml
Normal file
77
C#/FiveM/CarConverter/MainWindow.xaml
Normal file
@@ -0,0 +1,77 @@
|
||||
<Window x:Class="CarConverter.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:CarConverter"
|
||||
mc:Ignorable="d"
|
||||
Title="CarConverter" Height="500" Width="800">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Grid Column="0" Background="Gray">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Content="Resource Files" HorizontalAlignment="Center"/>
|
||||
<StackPanel Grid.Row="1" Margin="5" Background="LightGray" AllowDrop="True" Drop="OnRPFDrop">
|
||||
<TreeView x:Name="FoldersItem" Background="LightGray" BorderThickness="0" MouseDoubleClick="OnImplement">
|
||||
<TreeView.ItemContainerStyle>
|
||||
<Style TargetType="{x:Type TreeViewItem}">
|
||||
<Setter Property="IsExpanded" Value="True" />
|
||||
</Style>
|
||||
</TreeView.ItemContainerStyle>
|
||||
</TreeView>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<Grid Column="1" Background="DarkGray">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="50"/>
|
||||
<RowDefinition Height="20"/>
|
||||
<RowDefinition Height="30"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Label Grid.Row="0" Content="Stream Files" HorizontalAlignment="Center"/>
|
||||
<StackPanel Grid.Row="1" Margin="5" Background="LightGray" AllowDrop="True">
|
||||
<TreeView x:Name="StreamFiles" Background="LightGray" BorderThickness="0" MouseDoubleClick="OnRemove"/>
|
||||
</StackPanel>
|
||||
|
||||
<Label Grid.Row="2" Content="Meta Files" HorizontalAlignment="Center"/>
|
||||
<StackPanel Grid.Row="3" Margin="5" Background="LightGray" AllowDrop="True">
|
||||
<TreeView x:Name="MetaFiles" Background="LightGray" BorderThickness="0" MouseDoubleClick="OnRemove"/>
|
||||
</StackPanel>
|
||||
|
||||
<Grid Row="4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Button Grid.Column="0" Margin="50, 5" Content="Build" Click="Build"/>
|
||||
<Button Grid.Column="1" Margin="50, 5" Content="Clear" Click="Clear"/>
|
||||
</Grid>
|
||||
|
||||
<TextBox Grid.Row="5" Text="CarName" x:Name="CarName"/>
|
||||
|
||||
<Grid Row="6">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Label Grid.Column="0" Content="No OutputDir selected" x:Name="OutputDir"/>
|
||||
<Button Grid.Column="1" Content="Choose Ouput Directory" Click="ChooseOutput"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user