Ejemplo n.º 1
0
 private void FullScreenClick(object sender, EventArgs e)
 {
     if (_fullScreenEnforcer == null)
     {
         _fullScreenEnforcer             = new FullScreenEnforcer();
         _fullScreenEnforcer.FormClosed += FullScreenEnforcerFormClosed;
     }
     if (_fullScreenEnforcer.Visible)
     {
         _fullScreenEnforcer.Hide();
     }
     else
     {
         _fullScreenEnforcer.Show();
         UpdateDuration();
     }
 }
Ejemplo n.º 2
0
 private void FullScreenEnforcerFormClosed(object sender, FormClosedEventArgs e)
 {
     _fullScreenEnforcer = null;
 }
Ejemplo n.º 3
0
 private void FullScreenEnforcerFormClosed(object sender, FormClosedEventArgs e)
 {
     _fullScreenEnforcer = null;
 }
Ejemplo n.º 4
0
 private void FullScreenClick(object sender, EventArgs e)
 {
     if (_fullScreenEnforcer == null)
     {
         _fullScreenEnforcer = new FullScreenEnforcer();
         _fullScreenEnforcer.FormClosed += FullScreenEnforcerFormClosed;
     }
     if (_fullScreenEnforcer.Visible)
         _fullScreenEnforcer.Hide();
     else
     {
         _fullScreenEnforcer.Show();
         UpdateDuration();
     }
 }