示例#1
0
        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)
 {
     var About = new aboutForm();
         About.Show();
 }
示例#3
0
 private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Form aboutForm = new aboutForm();
     aboutForm.ShowDialog();
 }
示例#4
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form aboutForm = new aboutForm();

            aboutForm.ShowDialog();
        }