public void LoadFormTest() { LoadForm testLoadForm = new LoadForm(); testLoadForm.button1_Click(); testLoadForm.OnFormClosing(); }
private void button3_Click(object sender, EventArgs e) { this.Hide(); LoadForm form = new LoadForm(); form.Show(); }