/// <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))); } }
void toolButton_InitInsert(object sender, ToolEventArgs e) { if (this.InitInsert != null) { this.InitInsert(this, e); } }
/// <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); } }