コード例 #1
0
 /// <summary>
 /// Redirects the action selection event of the buttons
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void Button_InitInsert(object sender, ToolEventArgs e)
 {
     if (this.InitInsert != null)
     {
         this.InitInsert(this, new ToolEventArgs(e.Tool, this.Parent.RectangleToScreen(this.Bounds)));
     }
 }
コード例 #2
0
 void toolButton_InitInsert(object sender, ToolEventArgs e)
 {
     if (this.InitInsert != null)
     {
         this.InitInsert(this, e);
     }
 }
コード例 #3
0
 /// <summary>
 /// An action selection event. Propagates to the container
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="action"></param>
 void groupPanel_InitInsert(object sender, ToolEventArgs e)
 {
     if (this.InitInsert != null)
     {
         this.InitInsert(this, e);
     }
 }