private void ShowNewForm(object sender, EventArgs e) { ChangePWD cpwd = new ChangePWD(); cpwd.ShowDialog(); //Form childForm = new Form(); //childForm.MdiParent = this; //childForm.Text = "Window " + childFormNumber++; //childForm.Show(); }