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