// We add this to our window as a callback
        public void OnWindowOpened(object sender, EventArgs e)
        {
//			_logger.Trace( "OnWindowOpened" );
            if (_button != null)
            {
                _button.SetOn( );
            }
            UpdateVisibility(true);
        }
示例#2
0
 /// <summary>
 /// Force button to on state
 /// </summary>
 public void SetOn( )
 {
     _button.SetOn( );
 }