Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 private void txtCondition_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.If;
 }
Ejemplo n.º 4
0
 private void txtThen_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.Then;
 }
Ejemplo n.º 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;
 }