/////////////////////////////////////////////////////////////////////////////// // Eventhandler for Custom Defined Events // /////////////////////////////////////////////////////////////////////////////// #region CUSTOMEVENTHANDLER /// <summary> /// The OnColorChanged method raises the /// <see cref="ColorChanged"/> event by invoking the delegates. /// </summary> /// <param name="e">The <see cref="ColorChangedEventArgs"/> with the event data.</param> private void OnColorChanged(ColorChangedEventArgs e) { if (ColorChanged != null) { // Invokes the delegates. ColorChanged(this, e); } }
/////////////////////////////////////////////////////////////////////////////// // Eventhandler for Custom Defined Events // /////////////////////////////////////////////////////////////////////////////// #region CUSTOMEVENTHANDLER /// <summary> /// The OnColorChanged method raises the /// <see cref="ColorChanged"/> event by invoking the delegates. /// </summary> /// <param name="e">The <see cref="ColorChangedEventArgs"/> with the event data.</param> private void OnColorChanged(ColorChangedEventArgs e) { if (ColorChanged != null) { // Invokes the delegates. ColorChanged(this, e); } }
private void clcSolid_ColorChanged(object sender, ColorChangedEventArgs e) { SetSolidBrush(); }
private void fontColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e) { RecreateFont(); }
/////////////////////////////////////////////////////////////////////////////// // Eventhandler // /////////////////////////////////////////////////////////////////////////////// #region EVENTS /////////////////////////////////////////////////////////////////////////////// // Eventhandler for UI, Menu, Buttons, Toolbars etc. // /////////////////////////////////////////////////////////////////////////////// #region WINDOWSEVENTHANDLER private void penColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e) { RecreatePen(); }
private void clcSolid_ColorChanged(object sender, ColorChangedEventArgs e) { SetSolidBrush(); }
private void fontColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e) { RecreateFont(); }
/////////////////////////////////////////////////////////////////////////////// // Eventhandler // /////////////////////////////////////////////////////////////////////////////// #region EVENTS /////////////////////////////////////////////////////////////////////////////// // Eventhandler for UI, Menu, Buttons, Toolbars etc. // /////////////////////////////////////////////////////////////////////////////// #region WINDOWSEVENTHANDLER private void penColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e) { RecreatePen(); }