Esempio n. 1
0
 protected virtual void OnCheckChanged(CheckChangedEventArgs args)
 {
     EventHandler<CheckChangedEventArgs> handler = base.Events[EventCheckChanged] as EventHandler<CheckChangedEventArgs>;
     if (handler != null) {
         handler(this, args);
     }
 }
Esempio n. 2
0
 private void AssositeButtonOnCheckChanged(object sender, CheckChangedEventArgs e)
 {
     this.on = e.Checked;
     this.Invalidate();
 }