public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
     base.OnAmbientPropertyChanged(ambientProperty);
     if (ambientProperty == AmbientProperty.OperatingSystemSetting)
     {
         this.ApplySystemColors();
     }
 }
 public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
     base.OnAmbientPropertyChanged(ambientProperty);
     if (ambientProperty == AmbientProperty.OperatingSystemSetting)
     {
         this.ApplySystemColors();
     }
 }
 public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
     base.OnAmbientPropertyChanged(ambientProperty);
     if (ambientProperty == AmbientProperty.DesignerSize)
     {
         this.PreviewBorderColor = this.previewBorderColor;
     }
     else if (ambientProperty == AmbientProperty.OperatingSystemSetting)
     {
         this.ApplySystemColors();
     }
 }
 public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
     if (ambientProperty == AmbientProperty.DesignerSize)
     {
         this.ForeColor   = this.foreColor;
         this.BorderColor = this.borderColor;
     }
     else if (ambientProperty == AmbientProperty.OperatingSystemSetting)
     {
         this.ApplySystemColors();
     }
 }
示例#5
0
 public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
     base.OnAmbientPropertyChanged(ambientProperty);
     if (ambientProperty == AmbientProperty.DesignerSize)
     {
         this.PreviewBorderColor = this.previewBorderColor;
     }
     else if (ambientProperty == AmbientProperty.OperatingSystemSetting)
     {
         this.ApplySystemColors();
     }
 }
 public virtual void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
 }
 public virtual void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
 }
 public override void OnAmbientPropertyChanged(AmbientProperty ambientProperty)
 {
     if (ambientProperty == AmbientProperty.DesignerSize)
     {
         this.ForeColor = this.foreColor;
         this.BorderColor = this.borderColor;
     }
     else if (ambientProperty == AmbientProperty.OperatingSystemSetting)
     {
         this.ApplySystemColors();
     }
 }