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