Beispiel #1
0
 private void CloseMicStatusOverlay()
 {
     if (micStatusForm != null)
     {
         micStatusForm.Close();
         micStatusForm.Dispose();
         micStatusForm = null;
     }
 }
Beispiel #2
0
 private void ExitMenuItem_Click(object sender, EventArgs e)
 {
     if (micStatusForm != null)
     {
         micStatusForm.Close();
         micStatusForm.Dispose();
         micStatusForm = null;
     }
     Application.Exit();
 }
Beispiel #3
0
 private void ShowMicStatusOverlay()
 {
     CloseMicStatusOverlay();
     micStatusForm = new MicStatusForm();
     micStatusForm.Show();
     micStatusForm.Activate();
     micStatusForm.FormClosing += (s, e) =>
     {
         mnuItemMicStatusOverlay.Checked = false;
     };
     UpdateSelectedDevice();
 }