-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWindow1.xaml.cs
40 lines (30 loc) · 839 Bytes
/
Window1.xaml.cs
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
using System.Windows;
namespace Google_Bookmarks_Manager_for_GPOs
{
public partial class ImportWindow : Window
{
#region Public Constructors
public ImportWindow()
{
InitializeComponent();
}
#endregion Public Constructors
#region Public Properties
public string Json { get; set; }
#endregion Public Properties
#region Private Methods
private void cancelButton_Click(object sender, RoutedEventArgs e)
{
Json = null;
DialogResult = false;
Close();
}
private void importButton_Click(object sender, RoutedEventArgs e)
{
Json = jsonTextBox.Text;
DialogResult = true;
Close();
}
#endregion Private Methods
}
}