PersonalWindow.xaml.cs 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.Shapes;
  14. namespace olimp8
  15. {
  16. /// <summary>
  17. /// Interaction logic for PersonalWindow.xaml
  18. /// </summary>
  19. public partial class PersonalWindow : Window
  20. {
  21. public PersonalWindow()
  22. {
  23. InitializeComponent();
  24. }
  25. private void Button_Click(object sender, RoutedEventArgs e)
  26. {
  27. AddUser addUser = new AddUser();
  28. addUser.Show();
  29. this.Hide();
  30. }
  31. private void Button_Click_1(object sender, RoutedEventArgs e)
  32. {
  33. DeleteWindow deleteWindow = new DeleteWindow();
  34. deleteWindow.Show();
  35. this.Hide();
  36. }
  37. }
  38. }