コード例 #1
0
 private void color_ColorChanged(object sender, ColorExEvent e)
 {
     this.color.ColorChanged -= new EventHandler <ColorExEvent>(this.color_ColorChanged);
     using (CompositeTask.Run("ColorChanged"))
         this._propertyItem.SetValue(this.colorText, (object)e.Color, (object[])null);
     this.color.ColorChanged += new EventHandler <ColorExEvent>(this.color_ColorChanged);
 }
コード例 #2
0
 private void widget_ColorChanged(object sender, ColorExEvent e)
 {
     this.UpDateData(delegate
     {
         this._propertyItem.SetValue(this._propertyItem.Instance, this.widget.Color, null);
     });
 }
コード例 #3
0
 private void widget_ColorChanged(object sender, ColorExEvent e)
 {
     this.UpDateData((System.Action)(() => this._propertyItem.SetValue(this._propertyItem.Instance, (object)this.widget.Color, (object[])null)));
 }