private void button1_Click(object sender, EventArgs e) { AddCabin f2 = new AddCabin(); this.Hide(); f2.Show(); }
public Form1(AddCabin f2) { InitializeComponent(); this.f2 = f2; }