Example #1
0
        ///////////////////////////////////////////////////////////////////////////////
        // 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);
            }
        }
Example #2
0
    ///////////////////////////////////////////////////////////////////////////////
    // 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);
      }
    }
Example #3
0
 private void clcSolid_ColorChanged(object sender, ColorChangedEventArgs e)
 {
     SetSolidBrush();
 }
Example #4
0
 private void fontColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e)
 {
     RecreateFont();
 }
Example #5
0
    ///////////////////////////////////////////////////////////////////////////////
    // Eventhandler                                                              //
    ///////////////////////////////////////////////////////////////////////////////
    #region EVENTS

    ///////////////////////////////////////////////////////////////////////////////
    // Eventhandler for UI, Menu, Buttons, Toolbars etc.                         //
    ///////////////////////////////////////////////////////////////////////////////
    #region WINDOWSEVENTHANDLER

    private void penColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e)
    {
      RecreatePen();
    }
Example #6
0
 private void clcSolid_ColorChanged(object sender, ColorChangedEventArgs e)
 {
   SetSolidBrush();
 }
Example #7
0
 private void fontColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e)
 {
   RecreateFont();
 }
Example #8
0
        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler                                                              //
        ///////////////////////////////////////////////////////////////////////////////
        #region EVENTS

        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler for UI, Menu, Buttons, Toolbars etc.                         //
        ///////////////////////////////////////////////////////////////////////////////
        #region WINDOWSEVENTHANDLER

        private void penColorSelectControl_ColorChanged(object sender, ColorChangedEventArgs e)
        {
            RecreatePen();
        }