コード例 #1
0
 private void Form1_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         GraphSettingsDialog settings = new GraphSettingsDialog(grSettings, this);
         settings.Show();
     }
 }
コード例 #2
0
 private void settingsToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (settingsdialog == null)
     {
         settingsdialog = new GraphSettingsDialog(grSettings, this);
         settingsdialog.Show();
     }
     else if (settingsdialog.Exists)
     {
         settingsdialog.Focus();
     }
     else
     {
         settingsdialog = new GraphSettingsDialog(grSettings, this);
         settingsdialog.Show();
     }
 }
コード例 #3
0
ファイル: FunctionGrapher.cs プロジェクト: 3141592/vs
 private void settingsToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (settingsdialog == null)
     {
         settingsdialog = new GraphSettingsDialog(grSettings, this);
         settingsdialog.Show();
     }
     else if (settingsdialog.Exists)
     {
         settingsdialog.Focus();
     }
     else
     {
         settingsdialog = new GraphSettingsDialog(grSettings, this);
         settingsdialog.Show();
     }
 }
コード例 #4
0
ファイル: FunctionGrapher.cs プロジェクト: 3141592/vs
 private void Form1_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         GraphSettingsDialog settings = new GraphSettingsDialog(grSettings, this);
         settings.Show();
     }
 }