Form1.cs 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace BeautySaloon
  11. {
  12. public partial class AuthForm : Form
  13. {
  14. public AuthForm()
  15. {
  16. InitializeComponent();
  17. }
  18. private void klientButton_Click(object sender, EventArgs e)
  19. {
  20. KlientForm form = new KlientForm();
  21. form.Show();
  22. this.Hide();
  23. }
  24. private void ExitButton_Click(object sender, EventArgs e)
  25. {
  26. this.Close();
  27. Application.Exit();
  28. }
  29. private void AuthForm_Load(object sender, EventArgs e)
  30. {
  31. }
  32. private void AdminButton_Click(object sender, EventArgs e)
  33. {
  34. AdminAuthForm form = new AdminAuthForm();
  35. form.Show();
  36. this.Hide();
  37. }
  38. }
  39. }