123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace WindowsFormsApp1
- {
- public partial class Form2 : Form
- {
- public Form2()
- {
- InitializeComponent();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- Form3 Main = new Form3();
- Main.Show();
- Hide();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- Form4 Main = new Form4();
- Main.Show();
- Hide();
- }
- private void button3_Click(object sender, EventArgs e)
- {
- Form5 Main = new Form5();
- Main.Show();
- Hide();
- }
- private void button4_Click(object sender, EventArgs e)
- {
- Form6 Main = new Form6();
- Main.Show();
- Hide();
- }
- private void button5_Click(object sender, EventArgs e)
- {
- Form7 Main = new Form7();
- Main.Show();
- Hide();
- }
- private void button6_Click(object sender, EventArgs e)
- {
- Form8 Main = new Form8();
- Main.Show();
- Hide();
- }
- private void button7_Click(object sender, EventArgs e)
- {
- Form1 Main = new Form1();
- Main.Show();
- Hide();
- }
- }
- }
|