コード例 #1
0
 private void configureToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (form_configuration == null)
     {
         form_configuration = new ConfigurationForm();
         form_configuration.ShowDialog(this, configuration);
         form_configuration = null;
     }
     else
     {
         form_configuration.Activate();
     }
 }
コード例 #2
0
ファイル: TrayIconForm.cs プロジェクト: pbalint/Playground
 private void configureToolStripMenuItem_Click( object sender, EventArgs e )
 {
     if ( form_configuration == null )
     {
         form_configuration = new ConfigurationForm();
         form_configuration.ShowDialog( this, configuration );
         form_configuration = null;
     }
     else
     {
         form_configuration.Activate();
     }
 }