private void button1_Click(object sender, EventArgs e) { Main_From pParent = new Main_From(); //pParent.RestoreWindow(); pParent.RestoreWindow(); }
private void SwitchToMain() { Main_From pParent = new Main_From(); //pParent.RestoreWindow(); pParent.RestoreWindow(); this.Hide(); }