private void aboutSBProCalculatorToolStripMenuItem_Click(object sender, EventArgs e) { aboutForm frmAbout = new aboutForm(); frmAbout.StartPosition = FormStartPosition.Manual; frmAbout.Left = this.Location.X + (this.Size.Width - frmAbout.Size.Width) / 2; frmAbout.Top = this.Location.Y + (this.Size.Height - frmAbout.Size.Height) / 2; frmAbout.ShowDialog(this); }
private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { Form aboutForm = new aboutForm(); aboutForm.ShowDialog(); }