添加项目文件。
This commit is contained in:
98
Szmedi.RvKits/FamilyTools/MassSaveFamiliesWin.xaml
Normal file
98
Szmedi.RvKits/FamilyTools/MassSaveFamiliesWin.xaml
Normal file
@@ -0,0 +1,98 @@
|
||||
<controls:MaterialWindow
|
||||
x:Class="Szmedi.RvKits.MassSaveFamily.MassSaveFamiliesWin"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:controls="clr-namespace:Szmedi.RvKits.Controls"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:helper="clr-namespace:Szmedi.RvKits.Assists"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
Title="批量保存"
|
||||
Width="340"
|
||||
Height="600"
|
||||
Loaded="Window_Loaded"
|
||||
SizeToContent="Height"
|
||||
mc:Ignorable="d">
|
||||
<controls:MaterialWindow.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/Szmedi.RvKits;component/WPFUI.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</controls:MaterialWindow.Resources>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<helper:UserTreeView x:Name="FamilyTreeView" Grid.ColumnSpan="2" />
|
||||
<Button
|
||||
x:Name="btnPathChoose"
|
||||
Grid.Row="2"
|
||||
Grid.Column="1"
|
||||
Click="btnPathChoose_Click"
|
||||
Content="路径选择" />
|
||||
<ComboBox
|
||||
x:Name="cbbFrom"
|
||||
Grid.Row="3"
|
||||
Grid.Column="0"
|
||||
md:HintAssist.Hint="请选择项目"
|
||||
DisplayMemberPath="Name"
|
||||
DropDownClosed="cbbFrom_DropDownClosed"
|
||||
SelectedValuePath="Value" />
|
||||
<TextBox
|
||||
x:Name="tbPathChoose"
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
TextChanged="tbPathChoose_TextChanged" />
|
||||
<Button
|
||||
x:Name="btnSave"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Click="btnSave_Click"
|
||||
Content="导出保存" />
|
||||
<GroupBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Header="保存选项">
|
||||
<StackPanel VerticalAlignment="Center">
|
||||
<RadioButton
|
||||
x:Name="rbOverride"
|
||||
Content="覆盖存在文件"
|
||||
IsChecked="True" />
|
||||
<RadioButton x:Name="rbIgnore" Content="忽略存在文件" />
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
<GroupBox
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Header="保存选项">
|
||||
<StackPanel>
|
||||
<CheckBox
|
||||
x:Name="cbToFolder"
|
||||
Grid.Row="1"
|
||||
VerticalAlignment="Bottom"
|
||||
Content="添加族类别文件夹" />
|
||||
<CheckBox
|
||||
x:Name="cbAddCate"
|
||||
Grid.Row="1"
|
||||
Height="18"
|
||||
VerticalAlignment="Bottom"
|
||||
Content="文件名添加族类别" />
|
||||
<CheckBox
|
||||
x:Name="cbSet3D"
|
||||
Grid.Row="1"
|
||||
Height="18"
|
||||
VerticalAlignment="Bottom"
|
||||
Content="以三维为默认视图" />
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
</Grid>
|
||||
</controls:MaterialWindow>
|
||||
Reference in New Issue
Block a user