markus / KCOM / Views / AddRequirement.xaml.cs @ f3c08420
이력 | 보기 | 이력해설 | 다운로드 (1.17 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 |
using Telerik.Windows.Controls; |
16 |
|
17 |
namespace KCOM.Views |
18 |
{ |
19 |
/// <summary> |
20 |
/// AddRequirement.xaml에 대한 상호 작용 논리 |
21 |
/// </summary> |
22 |
public partial class AddRequirement : RadWindow |
23 |
{ |
24 |
public AddRequirement() |
25 |
{ |
26 |
InitializeComponent(); |
27 |
} |
28 |
|
29 |
public string Comment { get; set; } |
30 |
public bool IsContition { get; set; } |
31 |
|
32 |
private void Ok_click(object sender, RoutedEventArgs e) |
33 |
{ |
34 |
Comment = txtComment.Text; |
35 |
IsContition = chkCondition.IsChecked.GetValueOrDefault(); |
36 |
|
37 |
this.DialogResult =true; |
38 |
this.Close(); |
39 |
} |
40 |
|
41 |
private void Cancel_click(object sender, RoutedEventArgs e) |
42 |
{ |
43 |
this.DialogResult = false; |
44 |
this.Close(); |
45 |
} |
46 |
} |
47 |
} |