Form1.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using Brovi07.session1;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Data;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. namespace Brovi07
  12. {
  13. public partial class AutorizationForm : Form
  14. {
  15. public AutorizationForm()
  16. {
  17. InitializeComponent();
  18. }
  19. private void tovarButton_Click(object sender, EventArgs e)
  20. {
  21. tovarForm form = new tovarForm();
  22. form.Show();
  23. this.Hide();
  24. }
  25. private void editTovarButton_Click(object sender, EventArgs e)
  26. {
  27. authForm form = new authForm();
  28. form.Show();
  29. this.Hide();
  30. }
  31. private void saleTovarButton_Click(object sender, EventArgs e)
  32. {
  33. AuthSaleForm form = new AuthSaleForm();
  34. form.Show();
  35. this.Hide();
  36. }
  37. private void exitButton_Click(object sender, EventArgs e)
  38. {
  39. this.Close();
  40. Application.Exit();
  41. }
  42. }
  43. }