Form1.cs 897 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 Brovi11
  11. {
  12. public partial class Form1 : Form
  13. {
  14. public Form1()
  15. {
  16. InitializeComponent();
  17. }
  18. private void radioButton1_CheckedChanged(object sender, EventArgs e)
  19. {
  20. }
  21. private void button1_Click(object sender, EventArgs e)
  22. {
  23. if (radioButton1.Checked)
  24. {
  25. FormaAdmin f1 = new FormaAdmin();
  26. f1.Show();
  27. this.Hide();
  28. }
  29. if (radioButton2.Checked)
  30. {
  31. FormaClient f1 = new FormaClient();
  32. f1.Show();
  33. this.Hide();
  34. }
  35. }
  36. }
  37. }