|
61 | 61 | </DataTemplate> |
62 | 62 | </ComboBox.ItemTemplate> |
63 | 63 | </ComboBox> |
| 64 | + <Button Click="btnAdd_Click" Content="{DynamicResource add}" /> |
| 65 | + <Button Click="btnDelete_Click" Content="{DynamicResource delete}" IsEnabled="{Binding CustomExplorer.Editable}" /> |
| 66 | + |
64 | 67 | </StackPanel> |
65 | 68 | <Rectangle Height="1" Margin="0,20,0,12" Fill="#cecece" /> |
66 | 69 | <StackPanel Margin="0,0,0,0" |
|
73 | 76 | <ColumnDefinition /> |
74 | 77 | </Grid.ColumnDefinitions> |
75 | 78 | <Grid.RowDefinitions> |
76 | | - <RowDefinition Height="50" /> |
| 79 | + <RowDefinition /> |
| 80 | + <RowDefinition /> |
77 | 81 | <RowDefinition /> |
78 | 82 | <RowDefinition /> |
79 | 83 | </Grid.RowDefinitions> |
|
83 | 87 | HorizontalAlignment="Left" |
84 | 88 | VerticalAlignment="Center" |
85 | 89 | FontSize="14" |
86 | | - Text="{DynamicResource fileManager_path}" /> |
| 90 | + Text="{DynamicResource fileManager_profile_name}" /> |
87 | 91 | <TextBox Grid.Row="0" |
88 | 92 | Grid.Column="1" |
89 | 93 | Width="Auto" |
90 | 94 | Margin="10,0,15,0" |
91 | 95 | HorizontalAlignment="Stretch" |
92 | 96 | VerticalAlignment="Center" |
93 | 97 | IsEnabled="{Binding Editable}" |
94 | | - Text="{Binding Path}"> |
| 98 | + Text="{Binding Name}"> |
95 | 99 | <TextBox.Style> |
96 | 100 | <Style TargetType="TextBox"> |
97 | 101 | <Setter Property="Background" Value="#ffffff" /> |
|
104 | 108 | </TextBox.Style> |
105 | 109 | </TextBox> |
106 | 110 | <TextBlock Grid.Row="1" |
| 111 | + Grid.Column="0" |
| 112 | + Margin="14,0,0,0" |
| 113 | + HorizontalAlignment="Left" |
| 114 | + VerticalAlignment="Center" |
| 115 | + FontSize="14" |
| 116 | + Text="{DynamicResource fileManager_path}" /> |
| 117 | + <TextBox Grid.Row="1" |
| 118 | + Grid.Column="1" |
| 119 | + Width="Auto" |
| 120 | + Margin="10,0,15,0" |
| 121 | + HorizontalAlignment="Stretch" |
| 122 | + VerticalAlignment="Center" |
| 123 | + IsEnabled="{Binding Editable}" |
| 124 | + Text="{Binding Path}"> |
| 125 | + <TextBox.Style> |
| 126 | + <Style TargetType="TextBox"> |
| 127 | + <Setter Property="Background" Value="#ffffff" /> |
| 128 | + <Setter Property="Height" Value="34" /> |
| 129 | + <Setter Property="FontSize" Value="14" /> |
| 130 | + <Setter Property="Padding" Value="6,6,0,0" /> |
| 131 | + <Setter Property="VerticalAlignment" Value="Center" /> |
| 132 | + <Setter Property="BorderBrush" Value="#000000" /> |
| 133 | + </Style> |
| 134 | + </TextBox.Style> |
| 135 | + </TextBox> |
| 136 | + <TextBlock Grid.Row="2" |
107 | 137 | Grid.Column="0" |
108 | 138 | Margin="14,15,0,0" |
109 | 139 | HorizontalAlignment="Left" |
110 | 140 | VerticalAlignment="Center" |
111 | 141 | FontSize="14" |
112 | 142 | Text="{DynamicResource fileManager_directory_arg}" /> |
113 | | - <TextBox Grid.Row="1" |
| 143 | + <TextBox Grid.Row="2" |
114 | 144 | Grid.Column="1" |
115 | 145 | Width="Auto" |
116 | 146 | Margin="10,15,15,0" |
|
129 | 159 | </Style> |
130 | 160 | </TextBox.Style> |
131 | 161 | </TextBox> |
132 | | - <TextBlock Grid.Row="2" |
| 162 | + <TextBlock Grid.Row="3" |
133 | 163 | Grid.Column="0" |
134 | 164 | Margin="14,15,0,0" |
135 | 165 | HorizontalAlignment="Left" |
136 | 166 | VerticalAlignment="Center" |
137 | 167 | FontSize="14" |
138 | 168 | Text="{DynamicResource fileManager_file_arg}" /> |
139 | | - <TextBox Grid.Row="2" |
| 169 | + <TextBox Grid.Row="3" |
140 | 170 | Grid.Column="1" |
141 | 171 | Width="Auto" |
142 | 172 | Margin="10,15,15,0" |
|
0 commit comments