コード例 #1
0
ファイル: IfClauseDialog.cs プロジェクト: NALSS/epiinfo-82474
 /// <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);
 }
コード例 #2
0
ファイル: IfClauseDialog.cs プロジェクト: NALSS/epiinfo-82474
 /// <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);
 }
コード例 #3
0
ファイル: IfClauseDialog.cs プロジェクト: NALSS/epiinfo-82474
 private void txtCondition_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.If;
 }
コード例 #4
0
ファイル: IfClauseDialog.cs プロジェクト: NALSS/epiinfo-82474
 private void txtThen_MouseDown(object sender, MouseEventArgs e)
 {
     CurrentContextMenuType = CommandContextMenuType.Then;
 }
コード例 #5
0
ファイル: IfDialog.cs プロジェクト: NALSS/epiinfo-82474
 /// <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;
 }