예제 #1
0
파일: AnyQuery.cs 프로젝트: san90279/UK_OAS
 public String Execute(InfoNavigator aInfoNavigator, bool executeSQL)
 {
     if (faq == null || !this.KeepCondition)
         faq = new frmAnyQuery(this, aInfoNavigator, executeSQL);
     faq.ValueControlEdit += new EventHandler(faq_ValueControlEdit);
     DialogResult dr = faq.ShowDialog();
     if (dr == DialogResult.Yes && faq.Where != String.Empty)
         return faq.Where;
     else
         return null;
 }
예제 #2
0
파일: AnyQuery.cs 프로젝트: san90279/UK_OAS
 public String Execute()
 {
     if (faq == null || !this.KeepCondition)
         faq = new frmAnyQuery(this);
     faq.ValueControlEdit += new EventHandler(faq_ValueControlEdit);
     faq.AfterQuery += new AfterQueryEventHandler(faq_AfterQuery);
     DialogResult dr = faq.ShowDialog();
     if (dr == DialogResult.Yes && faq.Where != String.Empty)
     {
         return faq.Where;
     }
     else
         return null;
 }