예제 #1
0
파일: EditItems.cs 프로젝트: SariSultan/RMS
        private void AddNewTaxLevelBtn_Click(object sender, EventArgs e)
        {
            AddTaxLevel aAddTaxLevel = new AddTaxLevel();

            aAddTaxLevel.ShowDialog();
            this.taxLevelTableAdapter.Fill(this.dBDataSet.TaxLevel);
        }
예제 #2
0
 private void AddNewTaxLevelBtn_Click(object sender, EventArgs e)
 {
     try
     {
         AddTaxLevel aAddTaxLevel = new AddTaxLevel();
         aAddTaxLevel.ShowDialog();
         this.taxLevelTableAdapter.Fill(this.dBDataSet.TaxLevel);
     }
     catch (Exception ex)
     {
         MessageBox.Show(MsgTxt.UnexpectedError + "\nException: IN[AddNewTaxLevelBtn_Click] \n" + ex.ToString() + "\n" + MsgTxt.FormWillCloseNowTxt, MsgTxt.ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Error);
         this.Close();
     }
 }