Example #1
0
 public void button_ColorChanged(object sender, ColorChangeArgs e)
 {
     if (ColorChanged != null)
     {
         ColorChanged(this, e);
     }
 }
Example #2
0
 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
     {
         this.selectedColor = e.color;
     }
 }
Example #3
0
		public void button_ColorChanged( object sender, ColorChangeArgs e ) {
			if( ColorChanged != null ) {
				ColorChanged( this, e );
			}
		}
Example #4
0
			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 {
					this.selectedColor = e.color;
				}
			}
Example #5
0
 private void colorBG_ColorChanged(object sender, ColorChangeArgs e)
 {
 }
Example #6
0
 private void ColorBox_ColorChanged(object sender, ColorChangeArgs e)
 {
     UpdateEmblem();
 }
Example #7
0
		private void colorBG_ColorChanged( object sender, ColorChangeArgs e ) {

		}
Example #8
0
		private void ColorBox_ColorChanged( object sender, ColorChangeArgs e ) {
			UpdateEmblem();
		}