markus / MarkusAutoUpdate / src / NetSparkle.UI.WPF / MessageNotificationWindow.xaml.cs @ d8f5045e
이력 | 보기 | 이력해설 | 다운로드 (1.07 KB)
1 | d8f5045e | taeseongkim | using NetSparkleUpdater.UI.WPF.ViewModels; |
---|---|---|---|
2 | using System; |
||
3 | using System.Collections.Generic; |
||
4 | using System.Linq; |
||
5 | using System.Text; |
||
6 | using System.Threading.Tasks; |
||
7 | using System.Windows; |
||
8 | using System.Windows.Controls; |
||
9 | using System.Windows.Data; |
||
10 | using System.Windows.Documents; |
||
11 | using System.Windows.Input; |
||
12 | using System.Windows.Media; |
||
13 | using System.Windows.Media.Imaging; |
||
14 | using System.Windows.Navigation; |
||
15 | using System.Windows.Shapes; |
||
16 | |||
17 | namespace NetSparkleUpdater.UI.WPF |
||
18 | { |
||
19 | /// <summary> |
||
20 | /// Interaction logic for MessageNotificationWindow.xaml |
||
21 | /// </summary> |
||
22 | public partial class MessageNotificationWindow : Window |
||
23 | { |
||
24 | public MessageNotificationWindow() |
||
25 | { |
||
26 | InitializeComponent(); |
||
27 | DataContext = new MessageNotificationWindowViewModel(); |
||
28 | } |
||
29 | |||
30 | public MessageNotificationWindow(MessageNotificationWindowViewModel viewModel) |
||
31 | { |
||
32 | InitializeComponent(); |
||
33 | DataContext = viewModel; |
||
34 | } |
||
35 | |||
36 | private void Button_Click(object sender, RoutedEventArgs e) |
||
37 | { |
||
38 | Close(); |
||
39 | } |
||
40 | } |
||
41 | } |