ComponentFactory.Krypton.Toolkit.ButtonSpec.GenerateClick C# (CSharp) Method

GenerateClick() protected method

Generates the Click event.
protected GenerateClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void
        protected void GenerateClick(EventArgs e)
        {
            if (Click != null)
                Click(this, e);

            // If we have an attached command then execute it
            if (KryptonCommand != null)
                KryptonCommand.PerformExecute();
        }