forked from Viruaithal/ScriptPro
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
138 lines (138 loc) · 5.17 KB
/
MainWindow.xaml
File metadata and controls
138 lines (138 loc) · 5.17 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<ribbon:RibbonWindow x:Class="BatchProcessApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mcl="clr-namespace:DrawingListUC;assembly=DrawingListUC"
xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
Title="ScriptPro 2.0"
x:Name="RibbonWindow"
Width="Auto"
Height="Auto"
Icon="/ScriptPro;component/Images/cog.png"
Loaded="RibbonWindow_Loaded"
Closing="RibbonWindow_Closing">
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ribbon:Ribbon
x:Name="Ribbon">
<ribbon:Ribbon.ApplicationMenu>
<ribbon:RibbonApplicationMenu Visibility="Hidden">
<ribbon:RibbonApplicationMenuItem
Header="Drawing"
x:Name="DrawingMenu1"/>
</ribbon:RibbonApplicationMenu>
</ribbon:Ribbon.ApplicationMenu>
<ribbon:RibbonTab x:Name="ManageTab" Header="ScriptPro">
<ribbon:RibbonGroup Header="List">
<ribbon:RibbonButton
x:Name="NewList"
Label="New"
LargeImageSource="/ScriptPro;component/Images/script-new.png"
Click="NewList_Click" />
<ribbon:RibbonButton
x:Name="WizardList"
Label="Wizard"
LargeImageSource="/ScriptPro;component/Images/magic_wand_2.png"
Click="WizardList_Click" />
<ribbon:RibbonButton
x:Name="LoadList"
Label="Load"
LargeImageSource="/ScriptPro;component/Images/script-add.png"
Click="LoadList_Click" />
<ribbon:RibbonButton
x:Name="SaveList"
Label="Save"
LargeImageSource="/ScriptPro;component/Images/script-save.png"
Click="SaveList_Click" />
<ribbon:RibbonButton
x:Name="SaveAsList"
Label="Save As"
LargeImageSource="/ScriptPro;component/Images/script-save.png"
Click="SaveAsList_Click" />
<ribbon:RibbonButton
x:Name="LoadSCP"
Label="Load SCP Project"
LargeImageSource="/ScriptPro;component/Images/table_add.png"
Click="LoadSCP_Click" />
</ribbon:RibbonGroup>
<ribbon:RibbonGroup x:Name="Group1" Header="Drawing files">
<ribbon:RibbonButton
x:Name="AddDWGFile"
LargeImageSource="Images\add.png"
Label="Add" Click="AddDWGFile_Click"/>
<ribbon:RibbonButton
x:Name="AddDWGFolder"
Label="Add From Folder"
LargeImageSource="/ScriptPro;component/Images/folder_add.png"
Click="AddDWGFolder_Click"/>
<ribbon:RibbonButton
x:Name="RemoveDWG"
Label="Remove"
LargeImageSource="/ScriptPro;component/Images/Delete.png"
Click="RemoveDWG_Click"/>
<ribbon:RibbonButton
x:Name="SkipDWG"
Label="Check/Uncheck"
LargeImageSource="/ScriptPro;component/Images/checked-unchecked.png"
Click="SkipDWG_Click" />
</ribbon:RibbonGroup>
<ribbon:RibbonGroup Header="Run">
<ribbon:RibbonButton
x:Name="RunChecked"
Label="Checked"
LargeImageSource="/ScriptPro;component/Images/script-go-checked.png"
Click="RunChecked_Click" />
<ribbon:RibbonButton
x:Name="RunSelected"
Label="Selected"
LargeImageSource="/ScriptPro;component/Images/script-go-selected.png"
Click="RunSelected_Click" />
<ribbon:RibbonButton
x:Name="RunFailed"
Label="Failed"
LargeImageSource="/ScriptPro;component/Images/script-go-failed.png"
Click="RunFailed_Click"/>
</ribbon:RibbonGroup>
<ribbon:RibbonGroup Header="Stop">
<ribbon:RibbonButton
x:Name="StopProcess"
Label="Stop"
LargeImageSource="/ScriptPro;component/Images/stop.png"
Click="StopProcess_Click" />
</ribbon:RibbonGroup>
<ribbon:RibbonGroup Header="Options">
<ribbon:RibbonButton
x:Name="ProcessOptions"
Label="Settings"
LargeImageSource="/ScriptPro;component/Images/wrench.png"
Click="ProcessOptions_Click" />
</ribbon:RibbonGroup>
<ribbon:RibbonGroup Header="Help">
<ribbon:RibbonButton
x:Name="ProcessHelp"
Label="Help"
LargeImageSource="/ScriptPro;component/Images/Help.png"
Click="ProcessHelp_Click"/>
</ribbon:RibbonGroup>
</ribbon:RibbonTab>
</ribbon:Ribbon>
<DockPanel
Grid.Row="1"
Height="Auto"
HorizontalAlignment="Stretch"
Margin="12,10,0,0"
Name="dockPanel1"
VerticalAlignment="Stretch"
Width="Auto">
<WindowsFormsHost
Name="FormUserControl"
DockPanel.Dock="Top">
<mcl:DrawingListControl
x:Name="DWGControl"
Name="DrawingListUserControl"/>
</WindowsFormsHost>
</DockPanel>
</Grid>
</ribbon:RibbonWindow>