Example #1
0
        protected virtual void OnNewToolBoxClickEvent(ToolBoxEventArgs e)
        {
            EventHandler <ToolBoxEventArgs> m_NewToolBoxClickEvent = NewToolBoxClickEvent;

            if (m_NewToolBoxClickEvent != null)
            {
                AsyncCallback EventDone = new AsyncCallback(CallBack);
                m_NewToolBoxClickEvent.BeginInvoke(this, e, null, e);
            }
        }
Example #2
0
 private void FrmToolBox_NewToolBoxClickEvent(object sender, ToolBoxEventArgs e)
 {
     Console.WriteLine(e.Name);
 }