private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { Form_Credits f3 = new Form_Credits(); //sending parent form to hide parent form by form2 f3.ShowDialog(this); }
private void btAbout_Click(object sender, EventArgs e) { Form_Credits f = Form_Credits.GetInstance; //creating Form_Credits object f.ShowDialog(); //show Form_Credits window }
private void creditsToolStripMenuItem1_Click(object sender, EventArgs e) { Form_Credits f = Form_Credits.GetInstance; //creating Form_Credits object f.Show(); //show Form_Credits window }