Exemple #1
0
        public virtual void doUpdate(DataTable dtSelectData)
        {
            FormPopup detail = new FormPopup();

            if (detail.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                query();
            }
        }
Exemple #2
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     try
     {
         FormPopup detail = new FormPopup();
         if (detail.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             query();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }