예제 #1
0
파일: frmMain.cs 프로젝트: wlads/ags
 private void frmMain_Deactivated(object sender, EventArgs e)
 {
     if (Form.ActiveForm == null)
     {
         FindReplace.CloseDialogIfNeeded();
     }
 }
예제 #2
0
 protected override void OnKeyPressed(Keys keyData)
 {
     if (keyData.Equals(Keys.Escape))
     {
         FindReplace.CloseDialogIfNeeded();
     }
 }
예제 #3
0
 protected override void OnKeyPressed(System.Windows.Forms.Keys keyData)
 {
     if (keyData.Equals(
             System.Windows.Forms.Keys.Escape))
     {
         FindReplace.CloseDialogIfNeeded();
     }
 }