Example #1
0
 /// <summary>
 /// Handles the MouseDown event of the Then button
 /// </summary>
 /// <param name="sender">Object that fired the event</param>
 /// <param name="e">.NET supplied event parameters</param>
 private void btnThen_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.Then;
     BuildCommandContextMenu().Show((Control)sender, e.Location);
 }
Example #2
0
 /// <summary>
 /// Handles the MouseDown event of the Else Function button
 /// </summary>
 /// <param name="sender">Object that fired the event</param>
 /// <param name="e">.NET supplied event parameters</param>
 private void btnFunctionElse_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.Else;
     BuildFunctionContextMenu().Show((Control)sender, e.Location);
 }
Example #3
0
 private void txtCondition_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.If;
 }
Example #4
0
 private void txtThen_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.Then;
 }
Example #5
0
 /// <summary>
 /// Handles txtElse MouseClick event
 /// </summary>
 /// <param name="sender">Object that fired the event.</param>
 /// <param name="e">.NET supplied event args.</param>
 private void txtElse_MouseClick(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.Else;
 }