-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddProcessWindow.xaml
More file actions
46 lines (35 loc) · 1.38 KB
/
Copy pathAddProcessWindow.xaml
File metadata and controls
46 lines (35 loc) · 1.38 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
<Window x:Class="Process_automation_ENGINE.AddProcessWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Add new process"
Width="400" Height="350"
WindowStartupLocation="CenterOwner"
ResizeMode="NoResize">
<Grid Margin="10">
<StackPanel>
<!-- زر اختيار ملف -->
<Button Content="pick file"
Margin="0 0 0 10"
Click="PickFile_Click"/>
<!-- قائمة المسارات المحفوظة -->
<TextBlock Text="saved paths:"
FontWeight="Bold"
Margin="0 10 0 5"/>
<ListBox x:Name="SavedPathsList"
Height="150"
DisplayMemberPath="Name"/>
<!-- أزرار -->
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Right"
Margin="0 15 0 0">
<Button Content="add"
Width="80"
Margin="0 0 10 0"
Click="Add_Click"/>
<Button Content="cancel"
Width="80"
Click="Cancel_Click"/>
</StackPanel>
</StackPanel>
</Grid>
</Window>