root / trunk / Pithos.Client.WPF / PreferencesView.xaml.cs @ 5bcf6d70
History | View | Annotate | Download (989 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Windows; |
6 |
using System.Windows.Controls; |
7 |
using System.Windows.Data; |
8 |
using System.Windows.Documents; |
9 |
using System.Windows.Input; |
10 |
using System.Windows.Media; |
11 |
using System.Windows.Media.Imaging; |
12 |
using System.Windows.Shapes; |
13 |
|
14 |
namespace Pithos.Client.WPF |
15 |
{ |
16 |
/// <summary> |
17 |
/// Interaction logic for PreferencesView.xaml |
18 |
/// </summary> |
19 |
public partial class PreferencesView : Window |
20 |
{ |
21 |
public PreferencesView() |
22 |
{ |
23 |
InitializeComponent(); |
24 |
} |
25 |
|
26 |
private void SaveChanges_Click(object sender, RoutedEventArgs e) |
27 |
{ |
28 |
this.Hide(); |
29 |
} |
30 |
|
31 |
private void RejectChanges_Click(object sender, RoutedEventArgs e) |
32 |
{ |
33 |
this.Hide(); |
34 |
} |
35 |
|
36 |
private void ShowPreferences_Click(object sender, RoutedEventArgs e) |
37 |
{ |
38 |
this.Show(); |
39 |
this.Topmost = true; |
40 |
} |
41 |
} |
42 |
} |