-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMachineCloneWindow.xaml
More file actions
111 lines (104 loc) · 4.97 KB
/
Copy pathMachineCloneWindow.xaml
File metadata and controls
111 lines (104 loc) · 4.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<Window x:Class="DanteConfigEditor.MachineCloneWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Dupliquer la machine"
Width="610"
Height="620"
MinWidth="520"
MinHeight="500"
ResizeMode="CanResize"
WindowStartupLocation="CenterOwner">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Resources/DialogStyles.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid Margin="18">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel>
<TextBlock x:Name="HeadingTextBlock"
Text="Dupliquer la machine"
FontSize="20"
FontWeight="SemiBold" />
<TextBlock x:Name="IntroTextBlock"
Margin="0,6,0,14"
Foreground="{DynamicResource DialogMutedBrush}"
TextWrapping="Wrap" />
</StackPanel>
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto">
<StackPanel Margin="0,0,8,0">
<Label x:Name="NewNameLabel" Content="Nouveau nom" />
<TextBox x:Name="NewNameTextBox"
MaxLength="31"
AutomationProperties.Name="Nouveau nom de la machine" />
<TextBlock x:Name="NameRulesTextBlock"
Margin="0,5,0,14"
Foreground="{DynamicResource DialogMutedBrush}"
FontSize="12"
TextWrapping="Wrap" />
<GroupBox x:Name="LabelsGroupBox" Header="Labels de canaux">
<StackPanel>
<CheckBox x:Name="PreserveRxLabelsCheckBox"
Content="Conserver les labels RX"
IsChecked="True" />
<CheckBox x:Name="PreserveTxLabelsCheckBox"
Content="Conserver les labels TX"
IsChecked="True" />
</StackPanel>
</GroupBox>
<GroupBox x:Name="SettingsGroupBox" Header="Paramètres">
<StackPanel>
<CheckBox x:Name="PreserveSettingsCheckBox"
Content="Conserver sample rate, encodage et latence"
IsChecked="True" />
<CheckBox x:Name="PreservePreferredMasterCheckBox"
Content="Conserver Preferred Master"
IsChecked="False" />
</StackPanel>
</GroupBox>
<GroupBox x:Name="AdvancedGroupBox" Header="Options avancées">
<StackPanel>
<CheckBox x:Name="PreserveNetworkCheckBox"
Content="Conserver les interfaces et adresses réseau"
IsChecked="False" />
<CheckBox x:Name="PreserveSubscriptionsCheckBox"
Content="Conserver les subscriptions RX de cette machine"
IsChecked="False" />
<CheckBox x:Name="PreserveFlowsCheckBox"
Content="Conserver les flows multicast TX"
IsChecked="False" />
<TextBlock x:Name="AdvancedWarningTextBlock"
Margin="0,8,0,0"
Foreground="#F59E0B"
TextWrapping="Wrap" />
</StackPanel>
</GroupBox>
</StackPanel>
</ScrollViewer>
<DockPanel Grid.Row="2" Margin="0,14,0,0" LastChildFill="False">
<TextBlock x:Name="IdentityNoticeTextBlock"
DockPanel.Dock="Left"
Width="330"
Margin="0,0,12,8"
VerticalAlignment="Center"
Foreground="{DynamicResource DialogMutedBrush}"
TextWrapping="Wrap" />
<Button x:Name="CancelButton"
DockPanel.Dock="Right"
Content="Annuler"
Style="{StaticResource DialogSecondaryButtonStyle}"
IsCancel="True" />
<Button x:Name="DuplicateButton"
DockPanel.Dock="Right"
Content="Dupliquer"
IsDefault="True"
Click="DuplicateButton_Click" />
</DockPanel>
</Grid>
</Window>