Example #1
0
 public HandleColor(HandleColorSetting handleColorSetting, Color standart, Color? over = null, Color? selected = null)
 {
     _standart = standart;
     if (over != null) _over = (Color)over;
     if (selected != null) _selected = (Color)selected;
     this.handleColorSetting = handleColorSetting;
 }
Example #2
0
 public HandleColor(HandleColorSetting handleColorSetting, Color standart, Color?over = null, Color?selected = null)
 {
     _standart = standart;
     if (over != null)
     {
         _over = (Color)over;
     }
     if (selected != null)
     {
         _selected = (Color)selected;
     }
     this.handleColorSetting = handleColorSetting;
 }