Example #1
0
 private void ShowDBErrorMessage(string ErrorMsg, List<SQL_Parameter> lSQL_Parameter, string Title)
 {
     if (m_ShowDBErrorMessages)
     {
         SqlBuilder.Forms.frmEditor frmEditor = new SqlBuilder.Forms.frmEditor(ErrorMsg, lSQL_Parameter, Title);
         if (frmEditor.ShowDialog() == DialogResult.OK)
         {
         }
     }
 }
Example #2
0
 private void PreviewSQLCommand(string sql, List<SQL_Parameter> lSQL_Parameter, ref string OutString, ref bool bChanged, string Title)
 {
     bChanged = false;
     SqlBuilder.Forms.frmEditor frmEditor = new SqlBuilder.Forms.frmEditor(sql,lSQL_Parameter, Title);
     if (frmEditor.ShowDialog()==DialogResult.OK)
     {
         bChanged = true;
         OutString = frmEditor.s_sql_text;
     }
 }