コード例 #1
0
 void showOutbandDialog()
 {
     if (outbandForm != null)
     {
         outbandForm.Activate();
     }
     else
     {
         outbandForm = new OutBandwidth();
         outbandForm.Show();
         outbandForm.Activate();
         outbandForm.FormClosed += hideOutbandDialog;
     }
 }
コード例 #2
0
 void hideOutbandDialog(object sender, FormClosedEventArgs e)
 {
     outbandForm.Dispose();
     outbandForm = null;
     Utils.ReleaseMemory(true);
 }