/// <summary> /// /// </summary> /// <param name="box"></param> public void CheckboxToggled( CheckBox box ) { }
void box_CheckChanged( object sender, CheckBox box ) { patchPass.PolygonMode = ( box.IsChecked ? PolygonMode.Wireframe : PolygonMode.Solid ); }
public void OnCheckChanged( object sender, CheckBox box ) { if ( CheckChanged != null ) CheckChanged( sender, box ); }
/// <summary> /// /// </summary> /// <param name="trayLoc"></param> /// <param name="name"></param> /// <param name="caption"></param> /// <param name="width"></param> /// <returns></returns> public CheckBox CreateCheckBox( TrayLocation trayLoc, String name, DisplayString caption, Real width ) { var cb = new CheckBox( name, caption, width ); MoveWidgetToTray( cb, trayLoc ); cb.AssignedTrayListener = this.listener; return cb; }
private void box_CheckChanged( CheckBox sender ) { this.patchPass.PolygonMode = ( sender.IsChecked ? PolygonMode.Wireframe : PolygonMode.Solid ); }
public void OnCheckChanged( CheckBox sender ) { if ( CheckChanged != null ) { CheckChanged( sender ); } }