Exemplo n.º 1
0
 private void Form1_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         GraphSettingsDialog settings = new GraphSettingsDialog(grSettings, this);
         settings.Show();
     }
 }
Exemplo n.º 2
0
 private void settingsToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (mGraphSettingsDialog == null)
     {
         mGraphSettingsDialog = new GraphSettingsDialog(grSettings, this);
         mGraphSettingsDialog.Show();
     }
     else if (mGraphSettingsDialog.Exists)
     {
         mGraphSettingsDialog.Focus();
     }
     else
     {
         mGraphSettingsDialog = new GraphSettingsDialog(grSettings, this);
         mGraphSettingsDialog.Show();
     }
 }
Exemplo n.º 3
0
 private void settingsToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (mGraphSettingsDialog == null)
     {
         mGraphSettingsDialog = new GraphSettingsDialog(grSettings, this);
         mGraphSettingsDialog.Show();
     }
     else if (mGraphSettingsDialog.Exists)
     {
         mGraphSettingsDialog.Focus();
     }
     else
     {
         mGraphSettingsDialog = new GraphSettingsDialog(grSettings, this);
         mGraphSettingsDialog.Show();
     }
 }
Exemplo n.º 4
0
 private void Form1_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         GraphSettingsDialog settings = new GraphSettingsDialog(grSettings, this);
         settings.Show();
     }
 }