예제 #1
0
        // We add this to our window as a callback
        public void OnWindowClosed(object sender, EventArgs e)
        {
//			_logger.Trace( "OnWindowClosed" );
            if (_button != null)
            {
                _button.SetOff( );
            }
            UpdateVisibility(false);
        }
예제 #2
0
 /// <summary>
 /// Force button to off state
 /// </summary>
 public void SetOff( )
 {
     _button.SetOff( );
 }