Пример #1
0
        // 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( );
 }