개정판 38d69491
issue #00000 ctrl+S입력시 텍스트박스 입력 완료 되도록 수정
Change-Id: Id4ab97a53ab61022f5a2ac4d5ae63cd14338c2a7
KCOM/Views/TopMenu.xaml | ||
---|---|---|
1 |
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="KCOM.Views.TopMenu" |
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:common="clr-namespace:KCOM.Common" |
|
4 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
5 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
6 |
xmlns:fonts="clr-namespace:Markus.Fonts;assembly=Markus.Fonts" |
|
7 |
xmlns:local="clr-namespace:KCOM.Views" |
|
8 |
mc:Ignorable="d" |
|
9 |
d:DesignHeight="250" d:DesignWidth="1600"> |
|
10 |
<!--d:DesignHeight="250" d:DesignWidth="1600">--> |
|
1 |
<UserControl |
|
2 |
x:Class="KCOM.Views.TopMenu" |
|
3 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
5 |
xmlns:common="clr-namespace:KCOM.Common" |
|
6 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
7 |
xmlns:fonts="clr-namespace:Markus.Fonts;assembly=Markus.Fonts" |
|
8 |
xmlns:local="clr-namespace:KCOM.Views" |
|
9 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
10 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
|
11 |
d:DesignHeight="250" |
|
12 |
d:DesignWidth="1600" |
|
13 |
mc:Ignorable="d"> |
|
14 |
<!-- d:DesignHeight="250" d:DesignWidth="1600"> --> |
|
11 | 15 |
<UserControl.Resources> |
12 | 16 |
<Style TargetType="telerik:RadToggleButton"> |
13 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/> |
|
14 |
<Setter Property="BorderThickness" Value="0"/> |
|
15 |
<Setter Property="Background" Value="Transparent"/> |
|
17 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
|
|
18 |
<Setter Property="BorderThickness" Value="0" />
|
|
19 |
<Setter Property="Background" Value="Transparent" />
|
|
16 | 20 |
</Style> |
17 | 21 |
<Style TargetType="telerik:RadRibbonComboBox"> |
18 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/> |
|
22 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
|
|
19 | 23 |
</Style> |
20 | 24 |
<Style TargetType="telerik:RadRibbonButton"> |
21 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/> |
|
25 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
|
|
22 | 26 |
</Style> |
23 | 27 |
<Style TargetType="telerik:RadRibbonToggleButton"> |
24 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013"/> |
|
28 |
<Setter Property="telerik:StyleManager.Theme" Value="VisualStudio2013" />
|
|
25 | 29 |
</Style> |
26 | 30 |
</UserControl.Resources> |
27 | 31 |
<Grid> |
28 |
<telerik:RadRibbonView Title="KCOM" ApplicationName="세부 내용 입력란" TitleBarVisibility="Collapsed" VerticalAlignment="Top" telerik:StyleManager.Theme="Office2016" |
|
29 |
ApplicationButtonVisibility="Collapsed" BorderThickness="0.5" SelectedIndex="1" |
|
30 |
x:Name="radRibbonView" MaxHeight="Infinity" IsApplicationMenuOpen="False" IsBackstageOpen="False" IsMinimizable="True" IsMinimized="False" |
|
31 |
QuickAccessToolBarPosition="AboveRibbon" MinimizeButtonVisibility="Visible"> |
|
32 |
<telerik:RadRibbonView |
|
33 |
x:Name="radRibbonView" |
|
34 |
Title="KCOM" |
|
35 |
MaxHeight="Infinity" |
|
36 |
VerticalAlignment="Top" |
|
37 |
telerik:StyleManager.Theme="Office2016" |
|
38 |
ApplicationButtonVisibility="Collapsed" |
|
39 |
ApplicationName="세부 내용 입력란" |
|
40 |
BorderThickness="0.5" |
|
41 |
IsApplicationMenuOpen="False" |
|
42 |
IsBackstageOpen="False" |
|
43 |
IsMinimizable="True" |
|
44 |
IsMinimized="False" |
|
45 |
MinimizeButtonVisibility="Visible" |
|
46 |
QuickAccessToolBarPosition="AboveRibbon" |
|
47 |
SelectedIndex="1" |
|
48 |
TitleBarVisibility="Collapsed"> |
|
32 | 49 |
<!--<telerik:RadRibbonView.QuickAccessToolBar> |
33 | 50 |
<telerik:QuickAccessToolBar telerik:StyleManager.Theme="Office2016"> |
34 | 51 |
<telerik:QuickAccessToolBar> |
... | ... | |
45 | 62 |
</telerik:QuickAccessToolBar> |
46 | 63 |
</telerik:RadRibbonView.QuickAccessToolBar>--> |
47 | 64 |
<telerik:RadRibbonView.BorderBrush> |
48 |
<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}"/> |
|
65 |
<SolidColorBrush Color="{DynamicResource {x:Static SystemColors.ActiveBorderColorKey}}" />
|
|
49 | 66 |
</telerik:RadRibbonView.BorderBrush> |
50 |
|
|
51 |
<telerik:RadRibbonTab Header="HOME" Visibility="Visible"> |
|
52 |
<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" |
|
53 |
telerik:ScreenTip.Description="Show the File Task options." |
|
54 |
telerik:ScreenTip.Title="File" |
|
55 |
Visibility="Visible"> |
|
67 |
|
|
68 |
<telerik:RadRibbonTab Header="HOME" Visibility="Visible"> |
|
69 |
<telerik:RadRibbonGroup |
|
70 |
telerik:ScreenTip.Description="Show the File Task options." |
|
71 |
telerik:ScreenTip.Title="File" |
|
72 |
DialogLauncherVisibility="Collapsed" |
|
73 |
Visibility="Visible"> |
|
56 | 74 |
<telerik:RadOrderedWrapPanel> |
57 | 75 |
<StackPanel Orientation="Horizontal"> |
58 |
<telerik:RadRibbonButton Content="Print" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png" Click="PrintEvent"/> |
|
59 |
<telerik:RadRibbonButton Content="Export" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png" Click="PrintEvent"/> |
|
60 |
<telerik:RadRibbonButton Content="SAVE" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png" Click="SaveEventCallback"/> |
|
76 |
<telerik:RadRibbonButton |
|
77 |
Click="PrintEvent" |
|
78 |
Content="Print" |
|
79 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png" |
|
80 |
Size="Large" /> |
|
81 |
<telerik:RadRibbonButton |
|
82 |
Click="PrintEvent" |
|
83 |
Content="Export" |
|
84 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png" |
|
85 |
Size="Large" /> |
|
86 |
<telerik:RadRibbonButton |
|
87 |
Click="SaveEventCallback" |
|
88 |
Content="SAVE" |
|
89 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png" |
|
90 |
Size="Large" /> |
|
61 | 91 |
<Grid Margin="0,-1,0,0"> |
62 | 92 |
<Grid.ColumnDefinitions> |
63 |
<ColumnDefinition/>
|
|
93 |
<ColumnDefinition />
|
|
64 | 94 |
</Grid.ColumnDefinitions> |
65 | 95 |
<Grid.RowDefinitions> |
66 |
<RowDefinition/> |
|
67 |
<RowDefinition/>
|
|
96 |
<RowDefinition />
|
|
97 |
<RowDefinition />
|
|
68 | 98 |
</Grid.RowDefinitions> |
69 |
<CheckBox VerticalAlignment="Center" Grid.Column="0" Grid.Row="0" Margin="10,5,2,0" IsChecked="False" HorizontalAlignment="Left" Content="Auto Save" x:Name="cbAutoSave" Checked="cbAutoSave_Checked" Unchecked="cbAutoSave_Checked" /> |
|
70 |
|
|
71 |
<telerik:RadButtonGroup Margin="10,0,0,0" Height="20" Grid.Column="0" Grid.Row="1" |
|
72 |
BorderThickness="1" |
|
73 |
telerik:StyleManager.Theme="Windows8"> |
|
74 |
<TextBlock Width="40" |
|
75 |
HorizontalAlignment="Center" |
|
76 |
VerticalAlignment="Center" |
|
77 |
FontSize="10" |
|
78 |
Text="Interval" |
|
79 |
TextAlignment="Center" /> |
|
80 |
<telerik:RadNumericUpDown x:Name="cbSaveInterval" |
|
81 |
Width="60" |
|
82 |
Height="20" |
|
83 |
Margin="2" |
|
84 |
HorizontalAlignment="Stretch" |
|
85 |
VerticalAlignment="Center" |
|
86 |
HorizontalContentAlignment="Center" |
|
87 |
Maximum="100" |
|
88 |
Minimum="1" |
|
89 |
NumberDecimalDigits="0" |
|
90 |
telerik:StyleManager.Theme="Windows7" |
|
91 |
ToolTipService.ToolTip="Save Interval Value" |
|
92 |
ValueChanged="cbSaveInterval_ValueChanged" |
|
93 |
Value="{Binding SaveInterval, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" |
|
94 |
/> |
|
99 |
<CheckBox |
|
100 |
x:Name="cbAutoSave" |
|
101 |
Grid.Row="0" |
|
102 |
Grid.Column="0" |
|
103 |
Margin="10,5,2,0" |
|
104 |
HorizontalAlignment="Left" |
|
105 |
VerticalAlignment="Center" |
|
106 |
Checked="cbAutoSave_Checked" |
|
107 |
Content="Auto Save" |
|
108 |
IsChecked="False" |
|
109 |
Unchecked="cbAutoSave_Checked" /> |
|
110 |
|
|
111 |
<telerik:RadButtonGroup |
|
112 |
Grid.Row="1" |
|
113 |
Grid.Column="0" |
|
114 |
Height="20" |
|
115 |
Margin="10,0,0,0" |
|
116 |
telerik:StyleManager.Theme="Windows8" |
|
117 |
BorderThickness="1"> |
|
118 |
<TextBlock |
|
119 |
Width="40" |
|
120 |
HorizontalAlignment="Center" |
|
121 |
VerticalAlignment="Center" |
|
122 |
FontSize="10" |
|
123 |
Text="Interval" |
|
124 |
TextAlignment="Center" /> |
|
125 |
<telerik:RadNumericUpDown |
|
126 |
x:Name="cbSaveInterval" |
|
127 |
Width="60" |
|
128 |
Height="20" |
|
129 |
Margin="2" |
|
130 |
HorizontalAlignment="Stretch" |
|
131 |
VerticalAlignment="Center" |
|
132 |
HorizontalContentAlignment="Center" |
|
133 |
telerik:StyleManager.Theme="Windows7" |
|
134 |
Maximum="100" |
|
135 |
Minimum="1" |
|
136 |
NumberDecimalDigits="0" |
|
137 |
ToolTipService.ToolTip="Save Interval Value" |
|
138 |
ValueChanged="cbSaveInterval_ValueChanged" |
|
139 |
Value="{Binding SaveInterval, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" /> |
|
95 | 140 |
</telerik:RadButtonGroup> |
96 | 141 |
|
97 | 142 |
</Grid> |
98 |
<!--<telerik:RadRibbonButton Content="GO"
|
|
143 |
<!--<telerik:RadRibbonButton Content="GO" |
|
99 | 144 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/print.png" |
100 | 145 |
Size="Large"/>--> |
101 | 146 |
</StackPanel> |
... | ... | |
128 | 173 |
telerik:ScreenTip.Title="File" |
129 | 174 |
Visibility="Visible"> |
130 | 175 |
<telerik:RadCollapsiblePanel>--> |
131 |
<!--<telerik:RadRibbonButton
|
|
176 |
<!--<telerik:RadRibbonButton |
|
132 | 177 |
CollapseToMedium="WhenGroupIsMedium" |
133 | 178 |
CollapseToSmall="WhenGroupIsSmall" |
134 | 179 |
CommandParameter="Print" |
... | ... | |
137 | 182 |
telerik:ScreenTip.Description="Use basic pen." |
138 | 183 |
telerik:ScreenTip.Title="Free Mark Pen" |
139 | 184 |
Text="From File" />--> |
140 |
<!--<telerik:RadRibbonButton
|
|
185 |
<!--<telerik:RadRibbonButton |
|
141 | 186 |
CollapseToMedium="WhenGroupIsMedium" |
142 | 187 |
CollapseToSmall="WhenGroupIsSmall" |
143 | 188 |
CommandParameter="PDF" |
... | ... | |
146 | 191 |
telerik:ScreenTip.Description="Use basic pen." |
147 | 192 |
telerik:ScreenTip.Title="Free Mark Pen" |
148 | 193 |
Text="Sync" />--> |
149 |
<!--</telerik:RadCollapsiblePanel>
|
|
194 |
<!--</telerik:RadCollapsiblePanel> |
|
150 | 195 |
</telerik:RadRibbonGroup>--> |
151 | 196 |
</telerik:RadRibbonTab> |
152 |
|
|
197 |
|
|
153 | 198 |
<telerik:RadRibbonTab Header="COMMENT"> |
154 | 199 |
|
155 |
<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" |
|
156 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/control.png" |
|
157 |
Header="CONTROL" |
|
158 |
IsEnabled="True"> |
|
200 |
<telerik:RadRibbonGroup |
|
201 |
DialogLauncherVisibility="Collapsed" |
|
202 |
Header="CONTROL" |
|
203 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/control.png" |
|
204 |
IsEnabled="True"> |
|
159 | 205 |
<telerik:RadCollapsiblePanel> |
160 |
<telerik:RadRibbonToggleButton
|
|
161 |
CollapseToMedium="WhenGroupIsMedium"
|
|
162 |
CollapseToSmall="WhenGroupIsSmall"
|
|
163 |
CommandParameter="Undo"
|
|
164 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/undo3.png"
|
|
165 |
Size="Medium"
|
|
166 |
Click="ControlEvent"
|
|
167 |
Tag="Undo"
|
|
168 |
telerik:ScreenTip.Description="Undo the work"
|
|
169 |
telerik:ScreenTip.Title="Undo"
|
|
170 |
Text="Undo" />
|
|
171 |
<telerik:RadRibbonToggleButton
|
|
172 |
CollapseToMedium="WhenGroupIsMedium"
|
|
173 |
CollapseToSmall="WhenGroupIsSmall"
|
|
174 |
CommandParameter="Copy"
|
|
175 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/copy2.png"
|
|
176 |
Size="Medium"
|
|
177 |
Click="ControlEvent"
|
|
178 |
Tag="Copy"
|
|
179 |
telerik:ScreenTip.Description="Copy markup"
|
|
180 |
telerik:ScreenTip.Title="Copy"
|
|
181 |
Text="Copy" />
|
|
182 |
<telerik:RadRibbonToggleButton
|
|
183 |
CollapseToMedium="WhenGroupIsMedium"
|
|
184 |
CollapseToSmall="WhenGroupIsSmall"
|
|
185 |
CommandParameter="Ink"
|
|
186 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
|
|
187 |
Size="Medium"
|
|
188 |
Click="ControlEvent"
|
|
189 |
Tag="Eraser"
|
|
190 |
telerik:ScreenTip.Description="Delete the Markup"
|
|
191 |
telerik:ScreenTip.Title="Eraser"
|
|
192 |
Text="Eraser" />
|
|
206 |
<telerik:RadRibbonToggleButton |
|
207 |
telerik:ScreenTip.Description="Undo the work"
|
|
208 |
telerik:ScreenTip.Title="Undo"
|
|
209 |
Click="ControlEvent"
|
|
210 |
CollapseToMedium="WhenGroupIsMedium"
|
|
211 |
CollapseToSmall="WhenGroupIsSmall"
|
|
212 |
CommandParameter="Undo"
|
|
213 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/undo3.png"
|
|
214 |
Size="Medium"
|
|
215 |
Tag="Undo"
|
|
216 |
Text="Undo" /> |
|
217 |
<telerik:RadRibbonToggleButton |
|
218 |
telerik:ScreenTip.Description="Copy markup"
|
|
219 |
telerik:ScreenTip.Title="Copy"
|
|
220 |
Click="ControlEvent"
|
|
221 |
CollapseToMedium="WhenGroupIsMedium"
|
|
222 |
CollapseToSmall="WhenGroupIsSmall"
|
|
223 |
CommandParameter="Copy"
|
|
224 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/copy2.png"
|
|
225 |
Size="Medium"
|
|
226 |
Tag="Copy"
|
|
227 |
Text="Copy" /> |
|
228 |
<telerik:RadRibbonToggleButton |
|
229 |
telerik:ScreenTip.Description="Delete the Markup"
|
|
230 |
telerik:ScreenTip.Title="Eraser"
|
|
231 |
Click="ControlEvent"
|
|
232 |
CollapseToMedium="WhenGroupIsMedium"
|
|
233 |
CollapseToSmall="WhenGroupIsSmall"
|
|
234 |
CommandParameter="Ink"
|
|
235 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraser.png"
|
|
236 |
Size="Medium"
|
|
237 |
Tag="Eraser"
|
|
238 |
Text="Eraser" /> |
|
193 | 239 |
</telerik:RadCollapsiblePanel> |
194 | 240 |
<telerik:RadCollapsiblePanel> |
195 |
<telerik:RadRibbonToggleButton
|
|
196 |
CollapseToMedium="WhenGroupIsMedium"
|
|
197 |
CollapseToSmall="WhenGroupIsSmall"
|
|
198 |
CommandParameter="Redo"
|
|
199 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Redo3.png"
|
|
200 |
Size="Medium"
|
|
201 |
Click="ControlEvent"
|
|
202 |
Tag="Redo"
|
|
203 |
telerik:ScreenTip.Description="Undo the work"
|
|
204 |
telerik:ScreenTip.Title="Eraser"
|
|
205 |
Text="Redo" />
|
|
206 |
<telerik:RadRibbonToggleButton
|
|
207 |
CollapseToMedium="WhenGroupIsMedium"
|
|
208 |
CollapseToSmall="WhenGroupIsSmall"
|
|
209 |
CommandParameter="Cut"
|
|
210 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/cut1.png"
|
|
211 |
Size="Medium"
|
|
212 |
Click="ControlEvent"
|
|
213 |
Tag="Cut"
|
|
214 |
telerik:ScreenTip.Description="Cut selected markup"
|
|
215 |
telerik:ScreenTip.Title="Cut"
|
|
216 |
Text="Cut" />
|
|
217 |
<telerik:RadRibbonToggleButton
|
|
218 |
CollapseToMedium="WhenGroupIsMedium"
|
|
219 |
CollapseToSmall="WhenGroupIsSmall"
|
|
220 |
CommandParameter="Delete"
|
|
221 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/delete3.png"
|
|
222 |
Size="Medium"
|
|
223 |
Click="ControlEvent"
|
|
224 |
Tag="Delete"
|
|
225 |
telerik:ScreenTip.Description="Delete selected markup"
|
|
226 |
telerik:ScreenTip.Title="Delete"
|
|
227 |
Text="Delete" />
|
|
241 |
<telerik:RadRibbonToggleButton |
|
242 |
telerik:ScreenTip.Description="Undo the work"
|
|
243 |
telerik:ScreenTip.Title="Eraser"
|
|
244 |
Click="ControlEvent"
|
|
245 |
CollapseToMedium="WhenGroupIsMedium"
|
|
246 |
CollapseToSmall="WhenGroupIsSmall"
|
|
247 |
CommandParameter="Redo"
|
|
248 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/Redo3.png"
|
|
249 |
Size="Medium"
|
|
250 |
Tag="Redo"
|
|
251 |
Text="Redo" /> |
|
252 |
<telerik:RadRibbonToggleButton |
|
253 |
telerik:ScreenTip.Description="Cut selected markup"
|
|
254 |
telerik:ScreenTip.Title="Cut"
|
|
255 |
Click="ControlEvent"
|
|
256 |
CollapseToMedium="WhenGroupIsMedium"
|
|
257 |
CollapseToSmall="WhenGroupIsSmall"
|
|
258 |
CommandParameter="Cut"
|
|
259 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/cut1.png"
|
|
260 |
Size="Medium"
|
|
261 |
Tag="Cut"
|
|
262 |
Text="Cut" /> |
|
263 |
<telerik:RadRibbonToggleButton |
|
264 |
telerik:ScreenTip.Description="Delete selected markup"
|
|
265 |
telerik:ScreenTip.Title="Delete"
|
|
266 |
Click="ControlEvent"
|
|
267 |
CollapseToMedium="WhenGroupIsMedium"
|
|
268 |
CollapseToSmall="WhenGroupIsSmall"
|
|
269 |
CommandParameter="Delete"
|
|
270 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/delete3.png"
|
|
271 |
Size="Medium"
|
|
272 |
Tag="Delete"
|
|
273 |
Text="Delete" /> |
|
228 | 274 |
</telerik:RadCollapsiblePanel> |
229 | 275 |
<telerik:RadCollapsiblePanel> |
230 |
<telerik:RadRibbonToggleButton
|
|
231 |
CollapseToMedium="WhenGroupIsMedium"
|
|
232 |
CollapseToSmall="WhenGroupIsSmall"
|
|
233 |
CommandParameter="Select"
|
|
234 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
|
|
235 |
Size="Medium"
|
|
236 |
Click="ControlEvent"
|
|
237 |
Tag="Select"
|
|
238 |
x:Name="btnSelection"
|
|
239 |
telerik:ScreenTip.Description="Select an area of markup"
|
|
240 |
telerik:ScreenTip.Title="Eraser"
|
|
241 |
Text="Selection"/>
|
|
242 |
<telerik:RadRibbonToggleButton
|
|
243 |
CollapseToMedium="WhenGroupIsMedium"
|
|
244 |
CollapseToSmall="WhenGroupIsSmall"
|
|
245 |
CommandParameter="Paste"
|
|
246 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/paste1.png"
|
|
247 |
Size="Medium"
|
|
248 |
Click="ControlEvent"
|
|
249 |
Tag="Ink"
|
|
250 |
telerik:ScreenTip.Description="Paste markup"
|
|
251 |
telerik:ScreenTip.Title="Paste"
|
|
252 |
Text="Paste" />
|
|
253 |
<telerik:RadRibbonToggleButton ></telerik:RadRibbonToggleButton>
|
|
276 |
<telerik:RadRibbonToggleButton |
|
277 |
x:Name="btnSelection"
|
|
278 |
telerik:ScreenTip.Description="Select an area of markup"
|
|
279 |
telerik:ScreenTip.Title="Eraser"
|
|
280 |
Click="ControlEvent"
|
|
281 |
CollapseToMedium="WhenGroupIsMedium"
|
|
282 |
CollapseToSmall="WhenGroupIsSmall"
|
|
283 |
CommandParameter="Select"
|
|
284 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/select.png"
|
|
285 |
Size="Medium"
|
|
286 |
Tag="Select"
|
|
287 |
Text="Selection" />
|
|
288 |
<telerik:RadRibbonToggleButton |
|
289 |
telerik:ScreenTip.Description="Paste markup"
|
|
290 |
telerik:ScreenTip.Title="Paste"
|
|
291 |
Click="ControlEvent"
|
|
292 |
CollapseToMedium="WhenGroupIsMedium"
|
|
293 |
CollapseToSmall="WhenGroupIsSmall"
|
|
294 |
CommandParameter="Paste"
|
|
295 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/paste1.png"
|
|
296 |
Size="Medium"
|
|
297 |
Tag="Ink"
|
|
298 |
Text="Paste" /> |
|
299 |
<telerik:RadRibbonToggleButton />
|
|
254 | 300 |
</telerik:RadCollapsiblePanel> |
255 | 301 |
</telerik:RadRibbonGroup> |
256 | 302 |
|
257 |
<telerik:RadRibbonGroup x:Name="LineControlGroup" DialogLauncherVisibility="Collapsed" |
|
258 |
Header="LINE" |
|
259 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/line.png" |
|
260 |
telerik:ScreenTip.Description="Show the File Task options." |
|
261 |
telerik:ScreenTip.Title="File" |
|
262 |
Visibility="Visible"> |
|
303 |
<telerik:RadRibbonGroup |
|
304 |
x:Name="LineControlGroup" |
|
305 |
telerik:ScreenTip.Description="Show the File Task options." |
|
306 |
telerik:ScreenTip.Title="File" |
|
307 |
DialogLauncherVisibility="Collapsed" |
|
308 |
Header="LINE" |
|
309 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/line.png" |
|
310 |
Visibility="Visible"> |
|
263 | 311 |
<Grid Margin="0,-1,0,0"> |
264 | 312 |
<Grid.ColumnDefinitions> |
265 |
<ColumnDefinition/> |
|
266 |
<ColumnDefinition/> |
|
267 |
<ColumnDefinition/> |
|
268 |
<ColumnDefinition/> |
|
313 |
<ColumnDefinition />
|
|
314 |
<ColumnDefinition />
|
|
315 |
<ColumnDefinition />
|
|
316 |
<ColumnDefinition />
|
|
269 | 317 |
</Grid.ColumnDefinitions> |
270 | 318 |
<Grid.RowDefinitions> |
271 |
<RowDefinition/> |
|
272 |
<RowDefinition/> |
|
273 |
<RowDefinition/> |
|
319 |
<RowDefinition />
|
|
320 |
<RowDefinition />
|
|
321 |
<RowDefinition />
|
|
274 | 322 |
</Grid.RowDefinitions> |
275 | 323 |
|
276 |
<telerik:RadToggleButton CommandParameter="Line" Grid.Column="0" Grid.Row="0" Tag="Line3" Width="30" Height="30" Click="ControlEvent"> |
|
277 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/line.png" /> |
|
278 |
</telerik:RadToggleButton> |
|
279 |
<telerik:RadToggleButton CommandParameter="Arrow" Grid.Column="1" Grid.Row="0" Tag="Normal" Width="30" Height="30" Click="ControlEvent"> |
|
280 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/Arrow.png" /> |
|
281 |
</telerik:RadToggleButton> |
|
282 |
<telerik:RadToggleButton CommandParameter="ArrowMulti" Grid.Column="2" Grid.Row="0" Tag="Normal" Width="30" Height="30" Click="ControlEvent"> |
|
283 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowTrans.png" /> |
|
284 |
</telerik:RadToggleButton> |
|
285 |
<telerik:RadToggleButton CommandParameter="TwinLine" Tag="Arrow" Grid.Column="0" Grid.Row="1" Width="30" Height="30" Click="ControlEvent"> |
|
286 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimension.png" /> |
|
287 |
</telerik:RadToggleButton> |
|
288 |
<telerik:RadToggleButton CommandParameter="DimLine" Tag="Dim" Grid.Column="1" Grid.Row="1" Width="30" Height="30" Click="ControlEvent"> |
|
289 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimensionEx.png" /> |
|
290 |
</telerik:RadToggleButton> |
|
291 |
<telerik:RadToggleButton CommandParameter="CancelLine" Grid.Column="2" Grid.Row="1" Tag="Line3" Width="30" Height="30" Click="ControlEvent"> |
|
292 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineDelete.png" /> |
|
293 |
</telerik:RadToggleButton> |
|
294 |
<telerik:RadToggleButton CommandParameter="Arc" Grid.Column="0" Grid.Row="2" Tag="Arc" Width="30" Height="30" Click="ControlEvent"> |
|
295 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/arc.png" /> |
|
296 |
</telerik:RadToggleButton> |
|
297 |
<telerik:RadToggleButton CommandParameter="ArrowArc" Grid.Column="1" Grid.Row="2" Tag="ArrowArc" Width="30" Height="30" Click="ControlEvent"> |
|
298 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowarc.png" /> |
|
299 |
</telerik:RadToggleButton> |
|
300 |
<telerik:RadToggleButton CommandParameter="ChainLine" Grid.Column="2" Grid.Row="2" Tag="Chain" Width="30" Height="30" Click="ControlEvent"> |
|
301 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineChain.png" /> |
|
302 |
</telerik:RadToggleButton> |
|
324 |
<telerik:RadToggleButton |
|
325 |
Grid.Row="0" |
|
326 |
Grid.Column="0" |
|
327 |
Width="30" |
|
328 |
Height="30" |
|
329 |
Click="ControlEvent" |
|
330 |
CommandParameter="Line" |
|
331 |
Tag="Line3"> |
|
332 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/line.png" /> |
|
333 |
</telerik:RadToggleButton> |
|
334 |
<telerik:RadToggleButton |
|
335 |
Grid.Row="0" |
|
336 |
Grid.Column="1" |
|
337 |
Width="30" |
|
338 |
Height="30" |
|
339 |
Click="ControlEvent" |
|
340 |
CommandParameter="Arrow" |
|
341 |
Tag="Normal"> |
|
342 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/Arrow.png" /> |
|
343 |
</telerik:RadToggleButton> |
|
344 |
<telerik:RadToggleButton |
|
345 |
Grid.Row="0" |
|
346 |
Grid.Column="2" |
|
347 |
Width="30" |
|
348 |
Height="30" |
|
349 |
Click="ControlEvent" |
|
350 |
CommandParameter="ArrowMulti" |
|
351 |
Tag="Normal"> |
|
352 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowTrans.png" /> |
|
353 |
</telerik:RadToggleButton> |
|
354 |
<telerik:RadToggleButton |
|
355 |
Grid.Row="1" |
|
356 |
Grid.Column="0" |
|
357 |
Width="30" |
|
358 |
Height="30" |
|
359 |
Click="ControlEvent" |
|
360 |
CommandParameter="TwinLine" |
|
361 |
Tag="Arrow"> |
|
362 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimension.png" /> |
|
363 |
</telerik:RadToggleButton> |
|
364 |
<telerik:RadToggleButton |
|
365 |
Grid.Row="1" |
|
366 |
Grid.Column="1" |
|
367 |
Width="30" |
|
368 |
Height="30" |
|
369 |
Click="ControlEvent" |
|
370 |
CommandParameter="DimLine" |
|
371 |
Tag="Dim"> |
|
372 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/dimensionEx.png" /> |
|
373 |
</telerik:RadToggleButton> |
|
374 |
<telerik:RadToggleButton |
|
375 |
Grid.Row="1" |
|
376 |
Grid.Column="2" |
|
377 |
Width="30" |
|
378 |
Height="30" |
|
379 |
Click="ControlEvent" |
|
380 |
CommandParameter="CancelLine" |
|
381 |
Tag="Line3"> |
|
382 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineDelete.png" /> |
|
383 |
</telerik:RadToggleButton> |
|
384 |
<telerik:RadToggleButton |
|
385 |
Grid.Row="2" |
|
386 |
Grid.Column="0" |
|
387 |
Width="30" |
|
388 |
Height="30" |
|
389 |
Click="ControlEvent" |
|
390 |
CommandParameter="Arc" |
|
391 |
Tag="Arc"> |
|
392 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/arc.png" /> |
|
393 |
</telerik:RadToggleButton> |
|
394 |
<telerik:RadToggleButton |
|
395 |
Grid.Row="2" |
|
396 |
Grid.Column="1" |
|
397 |
Width="30" |
|
398 |
Height="30" |
|
399 |
Click="ControlEvent" |
|
400 |
CommandParameter="ArrowArc" |
|
401 |
Tag="ArrowArc"> |
|
402 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/arrowarc.png" /> |
|
403 |
</telerik:RadToggleButton> |
|
404 |
<telerik:RadToggleButton |
|
405 |
Grid.Row="2" |
|
406 |
Grid.Column="2" |
|
407 |
Width="30" |
|
408 |
Height="30" |
|
409 |
Click="ControlEvent" |
|
410 |
CommandParameter="ChainLine" |
|
411 |
Tag="Chain"> |
|
412 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_New/lineChain.png" /> |
|
413 |
</telerik:RadToggleButton> |
|
303 | 414 |
<!--<CheckBox Margin="10,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" />--> |
304 |
<CheckBox VerticalAlignment="Center" Grid.Column="3" Grid.Row="0" Margin="10,5,2,0" HorizontalAlignment="Left" Content="Axis Lock" |
|
305 |
IsChecked="{Binding IsAxisLock, Source={x:Static common:ViewerDataModel.Instance}}" /> |
|
415 |
<CheckBox |
|
416 |
Grid.Row="0" |
|
417 |
Grid.Column="3" |
|
418 |
Margin="10,5,2,0" |
|
419 |
HorizontalAlignment="Left" |
|
420 |
VerticalAlignment="Center" |
|
421 |
Content="Axis Lock" |
|
422 |
IsChecked="{Binding IsAxisLock, Source={x:Static common:ViewerDataModel.Instance}}" /> |
|
423 |
|
|
424 |
<telerik:RadButtonGroup |
|
425 |
Grid.Row="1" |
|
426 |
Grid.Column="3" |
|
427 |
Height="20" |
|
428 |
Margin="10,0,0,0" |
|
429 |
telerik:StyleManager.Theme="Windows8" |
|
430 |
BorderThickness="1"> |
|
431 |
<TextBlock |
|
432 |
Width="40" |
|
433 |
HorizontalAlignment="Center" |
|
434 |
VerticalAlignment="Center" |
|
435 |
FontSize="10" |
|
436 |
Text="Interval" |
|
437 |
TextAlignment="Center" /> |
|
438 |
<telerik:RadNumericUpDown |
|
439 |
x:Name="cbIntervalSize" |
|
440 |
Width="60" |
|
441 |
Height="20" |
|
442 |
Margin="2" |
|
443 |
HorizontalAlignment="Stretch" |
|
444 |
VerticalAlignment="Center" |
|
445 |
HorizontalContentAlignment="Center" |
|
446 |
telerik:StyleManager.Theme="Windows7" |
|
447 |
Maximum="100" |
|
448 |
Minimum="5" |
|
449 |
NumberDecimalDigits="0" |
|
450 |
ToolTipService.ToolTip="Interval Value" |
|
451 |
ValueChanged="cbIntervalSize_ValueChanged" |
|
452 |
Value="{Binding Interval, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" /> |
|
453 |
</telerik:RadButtonGroup> |
|
306 | 454 |
|
307 |
<telerik:RadButtonGroup Margin="10,0,0,0" Height="20" Grid.Column="3" Grid.Row="1" |
|
308 |
BorderThickness="1" |
|
309 |
telerik:StyleManager.Theme="Windows8"> |
|
310 |
<TextBlock Width="40" |
|
311 |
HorizontalAlignment="Center" |
|
312 |
VerticalAlignment="Center" |
|
313 |
FontSize="10" |
|
314 |
Text="Interval" |
|
315 |
TextAlignment="Center" /> |
|
316 |
<telerik:RadNumericUpDown x:Name="cbIntervalSize" |
|
317 |
Width="60" |
|
318 |
Height="20" |
|
319 |
Margin="2" |
|
320 |
HorizontalAlignment="Stretch" |
|
321 |
VerticalAlignment="Center" |
|
322 |
HorizontalContentAlignment="Center" |
|
323 |
Maximum="100" |
|
324 |
Minimum="5" |
|
325 |
NumberDecimalDigits="0" |
|
326 |
telerik:StyleManager.Theme="Windows7" |
|
327 |
ToolTipService.ToolTip="Interval Value" |
|
328 |
ValueChanged="cbIntervalSize_ValueChanged" |
|
329 |
Value="{Binding Interval, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" |
|
330 |
/> |
|
331 |
</telerik:RadButtonGroup> |
|
332 | 455 |
|
333 |
|
|
334 | 456 |
</Grid> |
335 | 457 |
</telerik:RadRibbonGroup> |
336 | 458 |
|
337 | 459 |
|
338 |
<telerik:RadRibbonGroup x:Name="ShapeControlGroup" DialogLauncherVisibility="Collapsed" |
|
339 |
Header="SHAPE" |
|
340 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/shape.png" |
|
341 |
telerik:ScreenTip.Description="Show the File Task options." |
|
342 |
telerik:ScreenTip.Title="File" |
|
343 |
Visibility="Visible"> |
|
460 |
<telerik:RadRibbonGroup |
|
461 |
x:Name="ShapeControlGroup" |
|
462 |
telerik:ScreenTip.Description="Show the File Task options." |
|
463 |
telerik:ScreenTip.Title="File" |
|
464 |
DialogLauncherVisibility="Collapsed" |
|
465 |
Header="SHAPE" |
|
466 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/shape.png" |
|
467 |
Visibility="Visible"> |
|
344 | 468 |
<Grid Margin="0,-1,0,0"> |
345 | 469 |
<Grid.ColumnDefinitions> |
346 |
<ColumnDefinition/> |
|
347 |
<ColumnDefinition/> |
|
348 |
<ColumnDefinition/> |
|
349 |
<ColumnDefinition/> |
|
470 |
<ColumnDefinition />
|
|
471 |
<ColumnDefinition />
|
|
472 |
<ColumnDefinition />
|
|
473 |
<ColumnDefinition />
|
|
350 | 474 |
</Grid.ColumnDefinitions> |
351 | 475 |
<Grid.RowDefinitions> |
352 |
<RowDefinition/> |
|
353 |
<RowDefinition/> |
|
354 |
<RowDefinition/> |
|
476 |
<RowDefinition />
|
|
477 |
<RowDefinition />
|
|
478 |
<RowDefinition />
|
|
355 | 479 |
</Grid.RowDefinitions> |
356 | 480 |
|
357 |
<telerik:RadToggleButton CommandParameter="PolygonCloud" Grid.Column="0" Grid.Row="0" Tag="Cloud" Width="30" Height="30" Click="ControlEvent"> |
|
358 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/Cloud.png" /> |
|
359 |
</telerik:RadToggleButton> |
|
360 |
<telerik:RadToggleButton CommandParameter="RectCloud" Grid.Column="1" Grid.Row="0" Tag="RectCloud" Width="30" Height="30" Click="ControlEvent"> |
|
361 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" /> |
|
362 |
</telerik:RadToggleButton> |
|
363 |
|
|
364 |
<!--강인구 추가--> |
|
365 |
<CheckBox Margin="10,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" /> |
|
366 |
<CheckBox Margin="2,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="3" Grid.Row="0" Content="Hatch" Checked="HatchShapeEvent" Unchecked="HatchShapeEvent" x:Name="cbHatchShape" IsChecked="{Binding checkHatchShape, Source={x:Static common:ViewerDataModel.Instance}}"/> |
|
367 |
|
|
368 |
<telerik:RadToggleButton CommandParameter="Polygon" Grid.Column="0" Grid.Row="1" Tag="Poly" Width="30" Height="30" Click="ControlEvent"> |
|
481 |
<telerik:RadToggleButton |
|
482 |
Grid.Row="0" |
|
483 |
Grid.Column="0" |
|
484 |
Width="30" |
|
485 |
Height="30" |
|
486 |
Click="ControlEvent" |
|
487 |
CommandParameter="PolygonCloud" |
|
488 |
Tag="Cloud"> |
|
489 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/Cloud.png" /> |
|
490 |
</telerik:RadToggleButton> |
|
491 |
<telerik:RadToggleButton |
|
492 |
Grid.Row="0" |
|
493 |
Grid.Column="1" |
|
494 |
Width="30" |
|
495 |
Height="30" |
|
496 |
Click="ControlEvent" |
|
497 |
CommandParameter="RectCloud" |
|
498 |
Tag="RectCloud"> |
|
499 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" /> |
|
500 |
</telerik:RadToggleButton> |
|
501 |
|
|
502 |
<!-- 강인구 추가 --> |
|
503 |
<CheckBox |
|
504 |
x:Name="cbFillShape" |
|
505 |
Grid.Row="0" |
|
506 |
Grid.Column="2" |
|
507 |
Margin="10,5,2,0" |
|
508 |
HorizontalAlignment="Left" |
|
509 |
VerticalAlignment="Center" |
|
510 |
Checked="FillShapeEvent" |
|
511 |
Content="Fill" |
|
512 |
IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" |
|
513 |
Unchecked="FillShapeEvent" /> |
|
514 |
<CheckBox |
|
515 |
x:Name="cbHatchShape" |
|
516 |
Grid.Row="0" |
|
517 |
Grid.Column="3" |
|
518 |
Margin="2,5,2,0" |
|
519 |
HorizontalAlignment="Left" |
|
520 |
VerticalAlignment="Center" |
|
521 |
Checked="HatchShapeEvent" |
|
522 |
Content="Hatch" |
|
523 |
IsChecked="{Binding checkHatchShape, Source={x:Static common:ViewerDataModel.Instance}}" |
|
524 |
Unchecked="HatchShapeEvent" /> |
|
525 |
|
|
526 |
<telerik:RadToggleButton |
|
527 |
Grid.Row="1" |
|
528 |
Grid.Column="0" |
|
529 |
Width="30" |
|
530 |
Height="30" |
|
531 |
Click="ControlEvent" |
|
532 |
CommandParameter="Polygon" |
|
533 |
Tag="Poly"> |
|
369 | 534 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/polygon.png" /> |
370 | 535 |
</telerik:RadToggleButton> |
371 |
<telerik:RadToggleButton CommandParameter="Rectangle" Grid.Column="1" Grid.Row="1" Tag="RectShape" Width="30" Height="30" Click="ControlEvent"> |
|
372 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/rectangle.png" /> |
|
373 |
</telerik:RadToggleButton> |
|
374 |
<telerik:RadToggleButton CommandParameter="Triangle" Grid.Column="0" Grid.Row="2" Tag="TriShape" Width="30" Height="30" Click="ControlEvent"> |
|
536 |
<telerik:RadToggleButton |
|
537 |
Grid.Row="1" |
|
538 |
Grid.Column="1" |
|
539 |
Width="30" |
|
540 |
Height="30" |
|
541 |
Click="ControlEvent" |
|
542 |
CommandParameter="Rectangle" |
|
543 |
Tag="RectShape"> |
|
544 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/rectangle.png" /> |
|
545 |
</telerik:RadToggleButton> |
|
546 |
<telerik:RadToggleButton |
|
547 |
Grid.Row="2" |
|
548 |
Grid.Column="0" |
|
549 |
Width="30" |
|
550 |
Height="30" |
|
551 |
Click="ControlEvent" |
|
552 |
CommandParameter="Triangle" |
|
553 |
Tag="TriShape"> |
|
375 | 554 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/triangle.png" /> |
376 | 555 |
</telerik:RadToggleButton> |
377 |
<telerik:RadToggleButton CommandParameter="Circle" Grid.Column="1" Grid.Row="2" Tag="CicleShape" Width="30" Height="30" Click="ControlEvent"> |
|
556 |
<telerik:RadToggleButton |
|
557 |
Grid.Row="2" |
|
558 |
Grid.Column="1" |
|
559 |
Width="30" |
|
560 |
Height="30" |
|
561 |
Click="ControlEvent" |
|
562 |
CommandParameter="Circle" |
|
563 |
Tag="CicleShape"> |
|
378 | 564 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/circle.png" /> |
379 | 565 |
</telerik:RadToggleButton> |
380 |
<telerik:RadDockPanel Grid.Column="2" Grid.Row="1" Grid.ColumnSpan="2"> |
|
381 |
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Bottom" Text="Opacity" FontSize="10" Margin="10,0,0,4"/> |
|
382 |
<telerik:RadSlider HorizontalAlignment="Center" Width="70" Margin="10,4,10,-2" telerik:StyleManager.Theme="VisualStudio2013" Value="{Binding ControlOpacity, Source={x:Static common:ViewerDataModel.Instance}}" |
|
383 |
Maximum="1" Minimum="0" HandlesVisibility="Visible" VerticalAlignment="Center" ValueChanged="sdOpacity_ValueChanged"/> |
|
566 |
<telerik:RadDockPanel |
|
567 |
Grid.Row="1" |
|
568 |
Grid.Column="2" |
|
569 |
Grid.ColumnSpan="2"> |
|
570 |
<TextBlock |
|
571 |
Margin="10,0,0,4" |
|
572 |
HorizontalAlignment="Center" |
|
573 |
VerticalAlignment="Bottom" |
|
574 |
FontSize="10" |
|
575 |
Text="Opacity" /> |
|
576 |
<telerik:RadSlider |
|
577 |
Width="70" |
|
578 |
Margin="10,4,10,-2" |
|
579 |
HorizontalAlignment="Center" |
|
580 |
VerticalAlignment="Center" |
|
581 |
telerik:StyleManager.Theme="VisualStudio2013" |
|
582 |
HandlesVisibility="Visible" |
|
583 |
Maximum="1" |
|
584 |
Minimum="0" |
|
585 |
ValueChanged="sdOpacity_ValueChanged" |
|
586 |
Value="{Binding ControlOpacity, Source={x:Static common:ViewerDataModel.Instance}}" /> |
|
384 | 587 |
</telerik:RadDockPanel> |
385 | 588 |
|
386 |
<telerik:RadDockPanel Margin="10,3,0,0" Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="2"> |
|
387 |
<TextBlock Width="50" |
|
388 |
HorizontalAlignment="Center" |
|
389 |
VerticalAlignment="Center" |
|
390 |
FontSize="10" |
|
391 |
Text="ArcLength" |
|
392 |
TextAlignment="Center" /> |
|
393 |
<telerik:RadNumericUpDown x:Name="cbArcLength" |
|
394 |
Width="60" |
|
395 |
Height="Auto" |
|
396 |
HorizontalAlignment="Stretch" |
|
397 |
VerticalAlignment="Center" |
|
398 |
HorizontalContentAlignment="Center" |
|
399 |
Maximum="100" |
|
400 |
Minimum="5" |
|
401 |
NumberDecimalDigits="0" |
|
402 |
telerik:StyleManager.Theme="Windows7" |
|
403 |
ToolTipService.ToolTip="Interval Value" |
|
404 |
ValueChanged="cbArcLength_ValueChanged" |
|
405 |
Value="{Binding ArcLength, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" |
|
406 |
/> |
|
589 |
<telerik:RadDockPanel |
|
590 |
Grid.Row="2" |
|
591 |
Grid.Column="2" |
|
592 |
Grid.ColumnSpan="2" |
|
593 |
Margin="10,3,0,0"> |
|
594 |
<TextBlock |
|
595 |
Width="50" |
|
596 |
HorizontalAlignment="Center" |
|
597 |
VerticalAlignment="Center" |
|
598 |
FontSize="10" |
|
599 |
Text="ArcLength" |
|
600 |
TextAlignment="Center" /> |
|
601 |
<telerik:RadNumericUpDown |
|
602 |
x:Name="cbArcLength" |
|
603 |
Width="60" |
|
604 |
Height="Auto" |
|
605 |
HorizontalAlignment="Stretch" |
|
606 |
VerticalAlignment="Center" |
|
607 |
HorizontalContentAlignment="Center" |
|
608 |
telerik:StyleManager.Theme="Windows7" |
|
609 |
Maximum="100" |
|
610 |
Minimum="5" |
|
611 |
NumberDecimalDigits="0" |
|
612 |
ToolTipService.ToolTip="Interval Value" |
|
613 |
ValueChanged="cbArcLength_ValueChanged" |
|
614 |
Value="{Binding ArcLength, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}" /> |
|
407 | 615 |
</telerik:RadDockPanel> |
408 | 616 |
|
409 | 617 |
|
... | ... | |
431 | 639 |
telerik:StyleManager.Theme="Windows7" |
432 | 640 |
ToolTipService.ToolTip="Stroke Value" |
433 | 641 |
ValueChanged="cbLineSize_ValueChanged" |
434 |
|
|
642 |
|
|
435 | 643 |
Value="{Binding LineSize, Source={x:Static common:ViewerDataModel.Instance}}" |
436 | 644 |
/> |
437 | 645 |
</telerik:RadButtonGroup>--> |
... | ... | |
439 | 647 |
</telerik:RadRibbonGroup> |
440 | 648 |
<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="MACRO"> |
441 | 649 |
<Grid VerticalAlignment="Top"> |
442 |
<telerik:RadToggleButton Width="64" Height="30" Click="ControlEvent" CommandParameter="MACRO;1" Tag="Normal" BorderThickness="1"> |
|
443 |
<StackPanel Orientation="Horizontal" Background="Transparent"> |
|
650 |
<telerik:RadToggleButton |
|
651 |
Width="64" |
|
652 |
Height="30" |
|
653 |
BorderThickness="1" |
|
654 |
Click="ControlEvent" |
|
655 |
CommandParameter="MACRO;1" |
|
656 |
Tag="Normal"> |
|
657 |
<StackPanel Background="Transparent" Orientation="Horizontal"> |
|
444 | 658 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/cloudRect.png" /> |
445 |
<TextBlock Text="+"/> |
|
446 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png"/> |
|
659 |
<TextBlock Text="+" />
|
|
660 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" />
|
|
447 | 661 |
</StackPanel> |
448 | 662 |
</telerik:RadToggleButton> |
449 | 663 |
</Grid> |
450 | 664 |
</telerik:RadRibbonGroup> |
451 |
<telerik:RadRibbonGroup x:Name="TextControlGroup" DialogLauncherVisibility="Collapsed" |
|
452 |
Header="TEXT" Icon="/KCOM;component/Resources/Images/MenuImage_New/small/text.png"> |
|
453 |
|
|
665 |
<telerik:RadRibbonGroup |
|
666 |
x:Name="TextControlGroup" |
|
667 |
DialogLauncherVisibility="Collapsed" |
|
668 |
Header="TEXT" |
|
669 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/text.png"> |
|
670 |
|
|
454 | 671 |
<Grid Margin="0,-1,0,0"> |
455 | 672 |
<Grid.ColumnDefinitions> |
456 |
<ColumnDefinition/> |
|
457 |
<ColumnDefinition/> |
|
458 |
<ColumnDefinition/> |
|
459 |
<ColumnDefinition/> |
|
673 |
<ColumnDefinition />
|
|
674 |
<ColumnDefinition />
|
|
675 |
<ColumnDefinition />
|
|
676 |
<ColumnDefinition />
|
|
460 | 677 |
</Grid.ColumnDefinitions> |
461 | 678 |
<Grid.RowDefinitions> |
462 |
<RowDefinition/> |
|
463 |
<RowDefinition/> |
|
464 |
<RowDefinition/> |
|
679 |
<RowDefinition />
|
|
680 |
<RowDefinition />
|
|
681 |
<RowDefinition />
|
|
465 | 682 |
</Grid.RowDefinitions> |
466 |
<telerik:RadToggleButton Width="30" Height="30" Click="ControlEvent" CommandParameter="Text" Tag="Normal"> |
|
683 |
<telerik:RadToggleButton |
|
684 |
Width="30" |
|
685 |
Height="30" |
|
686 |
Click="ControlEvent" |
|
687 |
CommandParameter="Text" |
|
688 |
Tag="Normal"> |
|
467 | 689 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/text.png" /> |
468 | 690 |
</telerik:RadToggleButton> |
469 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Click="ControlEvent" CommandParameter="TextBorder" Tag="Border"> |
|
691 |
<telerik:RadToggleButton |
|
692 |
Grid.Column="1" |
|
693 |
Width="30" |
|
694 |
Height="30" |
|
695 |
Click="ControlEvent" |
|
696 |
CommandParameter="TextBorder" |
|
697 |
Tag="Border"> |
|
470 | 698 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/textBorder.png" /> |
471 | 699 |
</telerik:RadToggleButton> |
472 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Click="ControlEvent" CommandParameter="TextCloud" Tag="Cloud"> |
|
700 |
<telerik:RadToggleButton |
|
701 |
Grid.Column="2" |
|
702 |
Width="30" |
|
703 |
Height="30" |
|
704 |
Click="ControlEvent" |
|
705 |
CommandParameter="TextCloud" |
|
706 |
Tag="Cloud"> |
|
473 | 707 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/textCloud.png" /> |
474 | 708 |
</telerik:RadToggleButton> |
475 |
<CheckBox HorizontalAlignment="Left" Content="Highlight" Grid.Column="3" VerticalAlignment="Center" Margin="2,5,2,0" Checked="HighlightEvent" Unchecked="HighlightEvent" IsChecked="{Binding checkHighlight, Source={x:Static common:ViewerDataModel.Instance}}" /> |
|
709 |
<CheckBox |
|
710 |
Grid.Column="3" |
|
711 |
Margin="2,5,2,0" |
|
712 |
HorizontalAlignment="Left" |
|
713 |
VerticalAlignment="Center" |
|
714 |
Checked="HighlightEvent" |
|
715 |
Content="Highlight" |
|
716 |
IsChecked="{Binding checkHighlight, Source={x:Static common:ViewerDataModel.Instance}}" |
|
717 |
Unchecked="HighlightEvent" /> |
|
476 | 718 |
<!--<CheckBox Margin="10,5,2,0" HorizontalAlignment="Left" VerticalAlignment="Center" Grid.Column="2" Grid.Row="0" Content="Fill" Checked="FillShapeEvent" Unchecked="FillShapeEvent" x:Name="cbFillShape" IsChecked="{Binding checkFillShape, Source={x:Static common:ViewerDataModel.Instance}}" />--> |
477 | 719 |
|
478 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="0" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Normal"> |
|
720 |
<telerik:RadToggleButton |
|
721 |
Grid.Row="1" |
|
722 |
Grid.Column="0" |
|
723 |
Width="30" |
|
724 |
Height="30" |
|
725 |
Click="ControlEvent" |
|
726 |
CommandParameter="ArrowText" |
|
727 |
Tag="ArrowText_Normal"> |
|
479 | 728 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowText.png" /> |
480 | 729 |
</telerik:RadToggleButton> |
481 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Border"> |
|
730 |
<telerik:RadToggleButton |
|
731 |
Grid.Row="1" |
|
732 |
Grid.Column="1" |
|
733 |
Width="30" |
|
734 |
Height="30" |
|
735 |
Click="ControlEvent" |
|
736 |
CommandParameter="ArrowText" |
|
737 |
Tag="ArrowText_Border"> |
|
482 | 738 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextBorder.png" /> |
483 | 739 |
</telerik:RadToggleButton> |
484 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Grid.Row="1" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowText_Cloud"> |
|
740 |
<telerik:RadToggleButton |
|
741 |
Grid.Row="1" |
|
742 |
Grid.Column="2" |
|
743 |
Width="30" |
|
744 |
Height="30" |
|
745 |
Click="ControlEvent" |
|
746 |
CommandParameter="ArrowText" |
|
747 |
Tag="ArrowText_Cloud"> |
|
485 | 748 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTextCloud.png" /> |
486 | 749 |
</telerik:RadToggleButton> |
487 | 750 |
|
488 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="0" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Normal"> |
|
751 |
<telerik:RadToggleButton |
|
752 |
Grid.Row="2" |
|
753 |
Grid.Column="0" |
|
754 |
Width="30" |
|
755 |
Height="30" |
|
756 |
Click="ControlEvent" |
|
757 |
CommandParameter="ArrowText" |
|
758 |
Tag="ArrowTextFix_Normal"> |
|
489 | 759 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/ArrowTextTrans.png" /> |
490 | 760 |
</telerik:RadToggleButton> |
491 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="1" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Border"> |
|
761 |
<telerik:RadToggleButton |
|
762 |
Grid.Row="2" |
|
763 |
Grid.Column="1" |
|
764 |
Width="30" |
|
765 |
Height="30" |
|
766 |
Click="ControlEvent" |
|
767 |
CommandParameter="ArrowText" |
|
768 |
Tag="ArrowTextFix_Border"> |
|
492 | 769 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransBorder.png" /> |
493 | 770 |
</telerik:RadToggleButton> |
494 |
<telerik:RadToggleButton Width="30" Height="30" Grid.Column="2" Grid.Row="2" Click="ControlEvent" CommandParameter="ArrowText" Tag="ArrowTextFix_Cloud"> |
|
771 |
<telerik:RadToggleButton |
|
772 |
Grid.Row="2" |
|
773 |
Grid.Column="2" |
|
774 |
Width="30" |
|
775 |
Height="30" |
|
776 |
Click="ControlEvent" |
|
777 |
CommandParameter="ArrowText" |
|
778 |
Tag="ArrowTextFix_Cloud"> |
|
495 | 779 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/arrowTransCloud.png" /> |
496 | 780 |
</telerik:RadToggleButton> |
497 | 781 |
</Grid> |
498 | 782 |
</telerik:RadRibbonGroup> |
499 | 783 |
|
500 |
<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" Header="FONT" Icon="/KCOM;component/Resources/Images/MenuImage_New/small/font.png"> |
|
501 |
|
|
784 |
<telerik:RadRibbonGroup |
|
785 |
DialogLauncherVisibility="Collapsed" |
|
786 |
Header="FONT" |
|
787 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/font.png"> |
|
788 |
|
|
502 | 789 |
<telerik:RadOrderedWrapPanel> |
503 | 790 |
<StackPanel Orientation="Horizontal"> |
504 |
<telerik:RadRibbonComboBox Width="60" Name="comboFontFamily" SelectedIndex="0" telerik:ScreenTip.Title="Font" |
|
505 |
telerik:ScreenTip.Description="Change the font face." |
|
506 |
IsEditable="False"> |
|
791 |
<telerik:RadRibbonComboBox |
|
792 |
Name="comboFontFamily" |
|
793 |
Width="60" |
|
794 |
telerik:ScreenTip.Description="Change the font face." |
|
795 |
telerik:ScreenTip.Title="Font" |
|
796 |
IsEditable="False" |
|
797 |
SelectedIndex="0"> |
|
507 | 798 |
<telerik:RadRibbonComboBox.ItemTemplate> |
508 | 799 |
<DataTemplate> |
509 | 800 |
<Grid> |
510 |
<TextBlock Text="{Binding FamilyNames[0]}" FontSize="14" FontFamily="{Binding FontFamily}"/> |
|
801 |
<TextBlock |
|
802 |
FontFamily="{Binding FontFamily}" |
|
803 |
FontSize="14" |
|
804 |
Text="{Binding FamilyNames[0]}" /> |
|
511 | 805 |
</Grid> |
512 | 806 |
</DataTemplate> |
513 | 807 |
</telerik:RadRibbonComboBox.ItemTemplate> |
514 | 808 |
</telerik:RadRibbonComboBox> |
515 |
<telerik:RadNumericUpDown x:Name="comboFontSize" |
|
516 |
MinWidth="35" MaxWidth="35" |
|
517 |
HorizontalContentAlignment="Center" |
|
518 |
Maximum="999" |
|
519 |
Minimum="1" |
|
520 |
NumberDecimalDigits="0" |
|
521 |
telerik:StyleManager.Theme="Windows7" |
|
522 |
ToolTipService.ToolTip="Stroke Value" |
|
523 |
ValueChanged="comboFontSize_ValueChanged" |
|
524 |
Value="{Binding TextSize, Source={x:Static common:ViewerDataModel.Instance}}"/> |
|
809 |
<telerik:RadNumericUpDown |
|
810 |
x:Name="comboFontSize" |
|
811 |
MinWidth="42" |
|
812 |
MaxWidth="32" |
|
813 |
HorizontalContentAlignment="Center" |
|
814 |
telerik:StyleManager.Theme="Windows7" |
|
815 |
Maximum="999" |
|
816 |
Minimum="1" |
|
817 |
NumberDecimalDigits="0" |
|
818 |
ToolTipService.ToolTip="Stroke Value" |
|
819 |
ValueChanged="comboFontSize_ValueChanged" |
|
820 |
Value="{Binding TextSize, Source={x:Static common:ViewerDataModel.Instance}}" /> |
|
525 | 821 |
</StackPanel> |
526 | 822 |
<StackPanel Orientation="Horizontal"> |
527 |
<telerik:RadToggleButton x:Name="btnBold" telerik:ScreenTip.Title="Bold" telerik:ScreenTip.Description="Make the selected text bold." Width="32" Height="32" Checked="btnBold_Checked" Unchecked="btnBold_Checked" IsChecked="{Binding checkTextWeight, Source={x:Static common:ViewerDataModel.Instance}}"> |
|
823 |
<telerik:RadToggleButton |
|
824 |
x:Name="btnBold" |
|
825 |
Width="32" |
|
826 |
Height="32" |
|
827 |
telerik:ScreenTip.Description="Make the selected text bold." |
|
828 |
telerik:ScreenTip.Title="Bold" |
|
829 |
Checked="btnBold_Checked" |
|
830 |
IsChecked="{Binding checkTextWeight, Source={x:Static common:ViewerDataModel.Instance}}" |
|
831 |
Unchecked="btnBold_Checked"> |
|
528 | 832 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/bold.png" /> |
529 |
</telerik:RadToggleButton> |
|
530 |
<telerik:RadToggleButton x:Name="btnItalic" telerik:ScreenTip.Title="Italic" telerik:ScreenTip.Description="Italicize the selected text." Width="32" Height="32" Checked="btnItalic_Checked" Unchecked="btnItalic_Checked" IsChecked="{Binding checkTextStyle, Source={x:Static common:ViewerDataModel.Instance}}"> |
|
531 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/italic.png"/> |
|
532 |
</telerik:RadToggleButton> |
|
533 |
<telerik:RadToggleButton x:Name="btnUnderLine" Width="32" Height="32" telerik:ScreenTip.Title="Underline" telerik:ScreenTip.Description="Underline the selected text." Checked="btnUnderLine_Checked" Unchecked="btnUnderLine_Checked" IsChecked="{Binding checkUnderLine, Source={x:Static common:ViewerDataModel.Instance}}"> |
|
534 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/underline.png"/> |
|
833 |
</telerik:RadToggleButton> |
|
834 |
<telerik:RadToggleButton |
|
835 |
x:Name="btnItalic" |
|
836 |
Width="32" |
|
837 |
Height="32" |
|
838 |
telerik:ScreenTip.Description="Italicize the selected text." |
|
839 |
telerik:ScreenTip.Title="Italic" |
|
840 |
Checked="btnItalic_Checked" |
|
841 |
IsChecked="{Binding checkTextStyle, Source={x:Static common:ViewerDataModel.Instance}}" |
|
842 |
Unchecked="btnItalic_Checked"> |
|
843 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/italic.png" /> |
|
844 |
</telerik:RadToggleButton> |
|
845 |
<telerik:RadToggleButton |
|
846 |
x:Name="btnUnderLine" |
|
847 |
Width="32" |
|
848 |
Height="32" |
|
849 |
telerik:ScreenTip.Description="Underline the selected text." |
|
850 |
telerik:ScreenTip.Title="Underline" |
|
851 |
Checked="btnUnderLine_Checked" |
|
852 |
IsChecked="{Binding checkUnderLine, Source={x:Static common:ViewerDataModel.Instance}}" |
|
853 |
Unchecked="btnUnderLine_Checked"> |
|
854 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/underline.png" /> |
|
535 | 855 |
</telerik:RadToggleButton> |
536 | 856 |
</StackPanel> |
537 | 857 |
</telerik:RadOrderedWrapPanel> |
538 | 858 |
</telerik:RadRibbonGroup> |
539 | 859 |
|
540 |
<telerik:RadRibbonGroup x:Name="PenControlGroup" DialogLauncherVisibility="Collapsed" |
|
541 |
Header="PEN" |
|
542 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/pen.png" |
|
543 |
IsEnabled="True" |
|
544 |
telerik:ScreenTip.Description="Use pen tool to draw" |
|
545 |
telerik:ScreenTip.Title="Pen"> |
|
860 |
<telerik:RadRibbonGroup |
|
861 |
x:Name="PenControlGroup" |
|
862 |
telerik:ScreenTip.Description="Use pen tool to draw" |
|
863 |
telerik:ScreenTip.Title="Pen" |
|
864 |
DialogLauncherVisibility="Collapsed" |
|
865 |
Header="PEN" |
|
866 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/pen.png" |
|
867 |
IsEnabled="True"> |
|
546 | 868 |
<telerik:RadCollapsiblePanel> |
547 |
<telerik:RadToggleButton Width="30" Height="30" |
|
548 |
CommandParameter="Ink" |
|
549 |
Click="ControlEvent" |
|
550 |
Tag="Pensil" |
|
551 |
telerik:ScreenTip.Description="Use basic pen." |
|
552 |
telerik:ScreenTip.Title="Free Mark Pen"> |
|
553 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/pen.png"/> |
|
869 |
<telerik:RadToggleButton |
|
870 |
Width="30" |
|
871 |
Height="30" |
|
872 |
telerik:ScreenTip.Description="Use basic pen." |
|
873 |
telerik:ScreenTip.Title="Free Mark Pen" |
|
874 |
Click="ControlEvent" |
|
875 |
CommandParameter="Ink" |
|
876 |
Tag="Pensil"> |
|
877 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/pen.png" /> |
|
554 | 878 |
</telerik:RadToggleButton> |
555 |
<!--<telerik:RadRibbonToggleButton
|
|
879 |
<!--<telerik:RadRibbonToggleButton |
|
556 | 880 |
CollapseToMedium="WhenGroupIsMedium" |
557 | 881 |
CollapseToSmall="WhenGroupIsSmall" |
558 | 882 |
CommandParameter="Select" |
... | ... | |
563 | 887 |
telerik:ScreenTip.Description="Select markup that is drawn with a pen" |
564 | 888 |
telerik:ScreenTip.Title="Select Ink Strokes" |
565 | 889 |
Text="Selection" />--> |
566 |
<!--<telerik:RadRibbonToggleButton
|
|
890 |
<!--<telerik:RadRibbonToggleButton |
|
567 | 891 |
CollapseToMedium="WhenGroupIsMedium" |
568 | 892 |
CollapseToSmall="WhenGroupIsSmall" |
569 |
CommandParameter="Ink"
|
|
893 |
CommandParameter="Ink" |
|
570 | 894 |
LargeImage="/KCOM;component/Resources/Images/MenuImage_new/eraserLine.png" |
571 | 895 |
Size="Medium" |
572 | 896 |
Click="ControlEvent" |
... | ... | |
574 | 898 |
telerik:ScreenTip.Description="펜으로 그린 부분을 점 단위로 제거합니다" |
575 | 899 |
telerik:ScreenTip.Title="Dot Unit Eraser" |
576 | 900 |
Text="Eraser(Dot)" />--> |
577 |
<!--<telerik:RadRibbonToggleButton
|
|
901 |
<!--<telerik:RadRibbonToggleButton |
|
578 | 902 |
CollapseToMedium="WhenGroupIsMedium" |
579 | 903 |
CollapseToSmall="WhenGroupIsSmall" |
580 | 904 |
CommandParameter="Ink" |
... | ... | |
588 | 912 |
</telerik:RadCollapsiblePanel> |
589 | 913 |
</telerik:RadRibbonGroup> |
590 | 914 |
|
591 |
<telerik:RadRibbonGroup x:Name="AppStampControlGroup" DialogLauncherVisibility="Collapsed" |
|
592 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/stamp.png" |
|
593 |
Header="Approval Stamp" |
|
594 |
telerik:ScreenTip.Description="Stamp , Image , Date 등을 만듭니다" |
|
595 |
telerik:ScreenTip.Title="Approval"> |
|
915 |
<telerik:RadRibbonGroup |
|
916 |
x:Name="AppStampControlGroup" |
|
917 |
telerik:ScreenTip.Description="Stamp , Image , Date 등을 만듭니다" |
|
918 |
telerik:ScreenTip.Title="Approval" |
|
919 |
DialogLauncherVisibility="Collapsed" |
|
920 |
Header="Approval Stamp" |
|
921 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/stamp.png"> |
|
596 | 922 |
<Grid Margin="0,-1,0,0"> |
597 | 923 |
<Grid.ColumnDefinitions> |
598 |
<ColumnDefinition/> |
|
599 |
<ColumnDefinition/> |
|
600 |
<ColumnDefinition/> |
|
924 |
<ColumnDefinition />
|
|
925 |
<ColumnDefinition />
|
|
926 |
<ColumnDefinition />
|
|
601 | 927 |
</Grid.ColumnDefinitions> |
602 | 928 |
<Grid.RowDefinitions> |
603 |
<RowDefinition/> |
|
604 |
<RowDefinition/> |
|
605 |
<RowDefinition/> |
|
929 |
<RowDefinition />
|
|
930 |
<RowDefinition />
|
|
931 |
<RowDefinition />
|
|
606 | 932 |
</Grid.RowDefinitions> |
607 | 933 |
|
608 |
<!--강인구 추가 Mark Click 이벤트 추가--> |
|
609 |
<telerik:RadToggleButton CommandParameter="Shape" Tag="RectShape_Fill" Grid.Column="0" Grid.Row="0" Width="30" Height="30" |
|
610 |
telerik:ScreenTip.Description="Draw square mark easily" |
|
611 |
telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent"> |
|
934 |
<!-- 강인구 추가 Mark Click 이벤트 추가 --> |
|
935 |
<telerik:RadToggleButton |
|
936 |
Grid.Row="0" |
|
937 |
Grid.Column="0" |
|
938 |
Width="30" |
|
939 |
Height="30" |
|
940 |
telerik:ScreenTip.Description="Draw square mark easily" |
|
941 |
telerik:ScreenTip.Title="Rectangle Mark" |
|
942 |
Click="ControlEvent" |
|
943 |
CommandParameter="Shape" |
|
944 |
Tag="RectShape_Fill"> |
|
612 | 945 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/markRect.png" /> |
613 | 946 |
</telerik:RadToggleButton> |
614 |
<!--강인구 추가 Stamp Click 이벤트 추가--> |
|
615 |
<telerik:RadToggleButton CommandParameter="SymbolN" Grid.Column="1" Grid.Row="0" Width="30" Height="30" |
|
616 |
Tag="approved" Visibility="Visible" x:Name="btnTopStamp" |
|
617 |
telerik:ScreenTip.Description="Draw approved mark easily" |
|
618 |
telerik:ScreenTip.Title="Approved" Click="ControlEvent"> |
|
947 |
<!-- 강인구 추가 Stamp Click 이벤트 추가 --> |
|
948 |
<telerik:RadToggleButton |
|
949 |
x:Name="btnTopStamp" |
|
950 |
Grid.Row="0" |
|
951 |
Grid.Column="1" |
|
952 |
Width="30" |
|
953 |
Height="30" |
|
954 |
telerik:ScreenTip.Description="Draw approved mark easily" |
|
955 |
telerik:ScreenTip.Title="Approved" |
|
956 |
Click="ControlEvent" |
|
957 |
CommandParameter="SymbolN" |
|
958 |
Tag="approved" |
|
959 |
Visibility="Visible"> |
|
619 | 960 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/stamp.png" /> |
620 | 961 |
</telerik:RadToggleButton> |
621 | 962 |
|
622 |
<!--강인구 추가 Sign Click 이벤트 추가--> |
|
623 |
<telerik:RadToggleButton CommandParameter="Sign" Tag="Sign" Grid.Column="2" Grid.Row="0" Width="30" Height="30" |
|
624 |
telerik:ScreenTip.Description="Draw signature easily" |
|
625 |
telerik:ScreenTip.Title="Signature" Click="ControlEvent"> |
|
963 |
<!-- 강인구 추가 Sign Click 이벤트 추가 --> |
|
964 |
<telerik:RadToggleButton |
|
965 |
Grid.Row="0" |
|
966 |
Grid.Column="2" |
|
967 |
Width="30" |
|
968 |
Height="30" |
|
969 |
telerik:ScreenTip.Description="Draw signature easily" |
|
970 |
telerik:ScreenTip.Title="Signature" |
|
971 |
Click="ControlEvent" |
|
972 |
CommandParameter="Sign" |
|
973 |
Tag="Sign"> |
|
626 | 974 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/signReal.png" /> |
627 | 975 |
</telerik:RadToggleButton> |
628 | 976 |
|
629 |
<!--강인구 추가 check Click 이벤트 추가--> |
|
630 |
<telerik:RadToggleButton CommandParameter="Check" Grid.Column="0" Grid.Row="1" Width="30" Height="30" Tag="Check" |
|
631 |
telerik:ScreenTip.Description="Draw check mark easily" |
|
632 |
telerik:ScreenTip.Title="Check Mark" Click="ControlEvent"> |
|
977 |
<!-- 강인구 추가 check Click 이벤트 추가 --> |
|
978 |
<telerik:RadToggleButton |
|
979 |
Grid.Row="1" |
|
980 |
Grid.Column="0" |
|
981 |
Width="30" |
|
982 |
Height="30" |
|
983 |
telerik:ScreenTip.Description="Draw check mark easily" |
|
984 |
telerik:ScreenTip.Title="Check Mark" |
|
985 |
Click="ControlEvent" |
|
986 |
CommandParameter="Check" |
|
987 |
Tag="Check"> |
|
633 | 988 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/markCheck.png" /> |
634 | 989 |
</telerik:RadToggleButton> |
635 | 990 |
|
636 |
<telerik:RadToggleButton CommandParameter="Image" Click="ControlEvent" Tag="Image" Grid.Column="1" Grid.Row="1" Width="30" Height="30" |
|
637 |
telerik:ScreenTip.Description="Add image easily" |
|
638 |
telerik:ScreenTip.Title="Image"> |
|
991 |
<telerik:RadToggleButton |
|
992 |
Grid.Row="1" |
|
993 |
Grid.Column="1" |
|
994 |
Width="30" |
|
995 |
Height="30" |
|
996 |
telerik:ScreenTip.Description="Add image easily" |
|
997 |
telerik:ScreenTip.Title="Image" |
|
998 |
Click="ControlEvent" |
|
999 |
CommandParameter="Image" |
|
1000 |
Tag="Image"> |
|
639 | 1001 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/Picture.png" /> |
640 | 1002 |
</telerik:RadToggleButton> |
641 | 1003 |
|
642 |
<telerik:RadToggleButton CommandParameter="Date" Grid.Column="2" Grid.Row="1" Width="30" Height="30" |
|
643 |
Tag="Date" Click="ControlEvent" |
|
644 |
telerik:ScreenTip.Description="Insert a date" |
|
645 |
telerik:ScreenTip.Title="Date"> |
|
1004 |
<telerik:RadToggleButton |
|
1005 |
Grid.Row="1" |
|
1006 |
Grid.Column="2" |
|
1007 |
Width="30" |
|
1008 |
Height="30" |
|
1009 |
telerik:ScreenTip.Description="Insert a date" |
|
1010 |
telerik:ScreenTip.Title="Date" |
|
1011 |
Click="ControlEvent" |
|
1012 |
CommandParameter="Date" |
|
1013 |
Tag="Date"> |
|
646 | 1014 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/calendar.png" /> |
647 | 1015 |
</telerik:RadToggleButton> |
648 | 1016 |
|
649 |
<telerik:RadToggleButton x:Name="btn_Batch" Grid.Column="0" Grid.Row="2" Width="30" Height="30" |
|
650 |
CommandParameter="Batch" |
|
651 |
Tag="Batch" |
|
652 |
telerik:ScreenTip.Title="batch Approval" Click="ControlEvent"> |
|
1017 |
<telerik:RadToggleButton |
|
1018 |
x:Name="btn_Batch" |
|
1019 |
Grid.Row="2" |
|
1020 |
Grid.Column="0" |
|
1021 |
Width="30" |
|
1022 |
Height="30" |
|
1023 |
telerik:ScreenTip.Title="batch Approval" |
|
1024 |
Click="ControlEvent" |
|
1025 |
CommandParameter="Batch" |
|
1026 |
Tag="Batch"> |
|
653 | 1027 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/chronometer.png" /> |
654 | 1028 |
</telerik:RadToggleButton> |
655 | 1029 |
|
... | ... | |
661 | 1035 |
telerik:ScreenTip.Description="Create stamp, image, date MARK" |
662 | 1036 |
telerik:ScreenTip.Title="Approval"> |
663 | 1037 |
<telerik:RadCollapsiblePanel Margin="3,0,3,0"> |
664 |
--><!--강인구 추가 Mark Click 이벤트 추가--><!-- |
|
1038 |
--> |
|
1039 |
<!-- 강인구 추가 Mark Click 이벤트 추가 --> |
|
1040 |
<!-- |
|
665 | 1041 |
<telerik:RadRibbonToggleButton MaxWidth="100" |
666 | 1042 |
CollapseToSmall="WhenGroupIsMedium" |
667 | 1043 |
CommandParameter="Shape" |
... | ... | |
671 | 1047 |
telerik:ScreenTip.Description="사각마크를 쉽게 그립니다" |
672 | 1048 |
telerik:ScreenTip.Title="Rectangle Mark" Click="ControlEvent" |
673 | 1049 |
/> |
674 |
--><!--강인구 추가 Stamp Click 이벤트 추가--><!-- |
|
1050 |
--> |
|
1051 |
<!-- 강인구 추가 Stamp Click 이벤트 추가 --> |
|
1052 |
<!-- |
|
675 | 1053 |
<telerik:RadRibbonToggleButton MaxWidth="100" |
676 | 1054 |
CollapseToSmall="WhenGroupIsMedium" |
677 | 1055 |
CommandParameter="SymbolN" |
... | ... | |
681 | 1059 |
telerik:ScreenTip.Description="Approved를 쉽게 그립니다" |
682 | 1060 |
telerik:ScreenTip.Title="Approved" Click="ControlEvent" |
683 | 1061 |
/> |
684 |
--><!--강인구 추가 Sign Click 이벤트 추가--><!-- |
|
1062 |
--> |
|
1063 |
<!-- 강인구 추가 Sign Click 이벤트 추가 --> |
|
1064 |
<!-- |
|
685 | 1065 |
<telerik:RadRibbonToggleButton MaxWidth="100" |
686 | 1066 |
CollapseToSmall="WhenGroupIsMedium" |
687 | 1067 |
CommandParameter="Sign" |
... | ... | |
690 | 1070 |
Tag="Sign" |
691 | 1071 |
telerik:ScreenTip.Description="Signature를 쉽게 그립니다" |
692 | 1072 |
telerik:ScreenTip.Title="Signature" Click="ControlEvent"/> |
693 |
|
|
694 |
--><!--강인구 추가 check Click 이벤트 추가--><!-- |
|
1073 |
|
|
1074 |
--> |
|
1075 |
<!-- 강인구 추가 check Click 이벤트 추가 --> |
|
1076 |
<!-- |
|
695 | 1077 |
<telerik:RadRibbonToggleButton MaxWidth="100" |
696 | 1078 |
CollapseToSmall="WhenGroupIsMedium" |
697 | 1079 |
CommandParameter="Check" |
... | ... | |
700 | 1082 |
Tag="Check" |
701 | 1083 |
telerik:ScreenTip.Description="체크마크를 쉽게 그립니다" |
702 | 1084 |
telerik:ScreenTip.Title="Check Mark" Click="ControlEvent"/> |
703 |
|
|
1085 |
|
|
704 | 1086 |
<telerik:RadRibbonToggleButton MaxWidth="100" |
705 | 1087 |
CollapseToSmall="WhenGroupIsMedium" |
706 | 1088 |
CommandParameter="Image" |
... | ... | |
709 | 1091 |
Tag="Image" |
710 | 1092 |
telerik:ScreenTip.Description="Image를 쉽게 추가합니다" |
711 | 1093 |
telerik:ScreenTip.Title="Image"/> |
712 |
|
|
1094 |
|
|
713 | 1095 |
<telerik:RadRibbonToggleButton MaxWidth="100" |
714 | 1096 |
CollapseToSmall="WhenGroupIsMedium" |
715 | 1097 |
CommandParameter="Date" |
... | ... | |
718 | 1100 |
Tag="Date" Click="ControlEvent" |
719 | 1101 |
telerik:ScreenTip.Description="날짜를 삽입합니다" |
720 | 1102 |
telerik:ScreenTip.Title="Date"/> |
721 |
|
|
1103 |
|
|
722 | 1104 |
<telerik:RadRibbonToggleButton MaxWidth="100" x:Name="btn_Batch" |
723 | 1105 |
CollapseToSmall="WhenGroupIsMedium" |
724 | 1106 |
CommandParameter="Batch" |
... | ... | |
728 | 1110 |
|
729 | 1111 |
</telerik:RadCollapsiblePanel> |
730 | 1112 |
</telerik:RadRibbonGroup>--> |
731 |
|
|
732 |
<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" |
|
733 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/linestyle.png" |
|
734 |
Header="Adjustment (Line,Shape)" |
|
735 |
telerik:ScreenTip.Description="Set line and shape option" |
|
736 |
telerik:ScreenTip.Title="Adjustment(Line,Shape)"> |
|
1113 |
|
|
1114 |
<telerik:RadRibbonGroup |
|
1115 |
telerik:ScreenTip.Description="Set line and shape option" |
|
1116 |
telerik:ScreenTip.Title="Adjustment(Line,Shape)" |
|
1117 |
DialogLauncherVisibility="Collapsed" |
|
1118 |
Header="Adjustment (Line,Shape)" |
|
1119 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/linestyle.png"> |
|
737 | 1120 |
<telerik:RadOrderedWrapPanel Margin="3,0,3,0"> |
738 |
<telerik:RadButtonGroup Height="30" |
|
739 |
BorderThickness="1" |
|
740 |
telerik:StyleManager.Theme="Windows8"> |
|
741 |
<TextBlock Width="50" |
|
742 |
Margin="2" |
|
743 |
HorizontalAlignment="Center" |
|
744 |
VerticalAlignment="Center" |
|
745 |
FontSize="10" |
|
746 |
Text="Style" |
|
747 |
TextAlignment="Center" /> |
|
748 |
<telerik:RadComboBox x:Name="cbDashStyle" |
|
749 |
Width="60" Margin="5,0,5,0" |
|
750 |
SelectedIndex="0" Background="Transparent" |
|
751 |
telerik:StyleManager.Theme="Office2016" |
|
752 |
ToolTipService.ToolTip="Dash Style" |
|
753 |
SelectionChanged="cbDashStyle_SelectionChanged" |
|
754 |
> |
|
1121 |
<telerik:RadButtonGroup |
|
1122 |
Height="30" |
|
1123 |
telerik:StyleManager.Theme="Windows8" |
|
1124 |
BorderThickness="1"> |
|
1125 |
<TextBlock |
|
1126 |
Width="50" |
|
1127 |
Margin="2" |
|
1128 |
HorizontalAlignment="Center" |
|
1129 |
VerticalAlignment="Center" |
|
1130 |
FontSize="10" |
|
1131 |
Text="Style" |
|
1132 |
TextAlignment="Center" /> |
|
1133 |
<telerik:RadComboBox |
|
1134 |
x:Name="cbDashStyle" |
|
1135 |
Width="60" |
|
1136 |
Margin="5,0,5,0" |
|
1137 |
telerik:StyleManager.Theme="Office2016" |
|
1138 |
Background="Transparent" |
|
1139 |
SelectedIndex="0" |
|
1140 |
SelectionChanged="cbDashStyle_SelectionChanged" |
|
1141 |
ToolTipService.ToolTip="Dash Style"> |
|
755 | 1142 |
<telerik:RadComboBox.ItemTemplate> |
756 | 1143 |
<DataTemplate> |
757 |
<StackPanel Height="10" |
|
758 |
Margin="5" |
|
759 |
VerticalAlignment="Center"> |
|
760 |
<Line Stroke="Red" |
|
761 |
StrokeDashArray="{Binding dashData}" |
|
762 |
StrokeDashOffset="1" |
|
763 |
StrokeThickness="2" |
|
764 |
X1="0" |
내보내기 Unified diff