public void button_ColorChanged(object sender, ColorChangeArgs e)
 {
     if (ColorChanged != null)
     {
         ColorChanged(this, e);
     }
 }
 //event handler for the color change event from the popup window
 //simply relay the event to the parent control
 protected void OnColorChanged(object sender, ColorChangeArgs e)
 {
     //if a someone wants the event, and the color has actually changed
     //call the event handler
     if (ColorChanged != null && e.color != this.selectedColor)
     {
         this.selectedColor = e.color;
         ColorChanged(this, e);
     }
     else //otherwise simply make note of the new color
     {
         this.selectedColor = e.color;
     }
 }
Пример #3
0
 protected void OnPgmOnLaterColorChanged(object sender, ColorChangeArgs e)
 {
   _guideColorProgramOnLater = e.color.ToArgb();
 }
Пример #4
0
 protected void OnGroupSelColorChanged(object sender, ColorChangeArgs e)
 {
   _guideColorGroupButtonSelected = e.color.ToArgb();
 }
Пример #5
0
 protected void OnChannelColorChanged(object sender, ColorChangeArgs e)
 {
   _guideColorChannelButton = e.color.ToArgb();
 }
Пример #6
0
 protected void OnPgmBorderColorChanged(object sender, ColorChangeArgs e)
 {
   _guideColorBorderHighlight = e.color.ToArgb();
 }
Пример #7
0
 protected void OnPgmSelColorChanged(object sender, ColorChangeArgs e)
 {
   _guideColorProgramSelected = e.color.ToArgb();
 }
Пример #8
0
 public void button_ColorChanged(object sender, ColorChangeArgs e)
 {
     if (ColorChanged != null)
     {
         ColorChanged(this, e);
     }
 }
Пример #9
0
 //event handler for the color change event from the popup window
 //simply relay the event to the parent control
 protected void OnColorChanged(object sender, ColorChangeArgs e)
 {
     //if a someone wants the event, and the color has actually changed
     //call the event handler
     if (ColorChanged != null && e.color != this.selectedColor)
     {
         this.selectedColor = e.color;
         ColorChanged(this, e);
     }
     else //otherwise simply make note of the new color
     {
         this.selectedColor = e.color;
     }
 }