markus / KCOM / Controls / SymbolPrompt.xaml.cs @ b2c6901f
이력 | 보기 | 이력해설 | 다운로드 (1.32 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
using System.Windows; |
7 |
using System.Windows.Controls; |
8 |
using System.Windows.Data; |
9 |
using System.Windows.Documents; |
10 |
using System.Windows.Input; |
11 |
using System.Windows.Media; |
12 |
using System.Windows.Media.Imaging; |
13 |
using System.Windows.Navigation; |
14 |
using System.Windows.Shapes; |
15 |
|
16 |
namespace KCOM.Controls |
17 |
{ |
18 |
/// <summary> |
19 |
/// SymbolPopup.xaml에 대한 상호 작용 논리 |
20 |
/// </summary> |
21 |
public partial class SymbolPrompt : UserControl |
22 |
{ |
23 |
public SymbolPrompt() |
24 |
{ |
25 |
InitializeComponent(); |
26 |
//t; |
27 |
} |
28 |
|
29 |
private void BtnOK_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) |
30 |
{ |
31 |
Window window = Window.GetWindow(this); |
32 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.symbolname = symbolName.Text; |
33 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.symbolsvg = svgRadioBox.IsChecked.Value; |
34 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.symbolpng = pngRadioBox.IsChecked.Value; |
35 |
window.Close(); |
36 |
} |
37 |
|
38 |
private void BtnOK_PreviewKeyDown(object sender, KeyEventArgs e) |
39 |
{ |
40 |
Window window = Window.GetWindow(this); |
41 |
window.Close(); |
42 |
} |
43 |
} |
44 |
} |