Пример #1
0
        private void btnNewAcconting_Click(object sender, EventArgs e)
        {
            frmNewTransaction frm = new frmNewTransaction();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                RtlMessageBox.Show("عملیات با موفقیت انجام گردید.");
            }
        }
Пример #2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     if (dgReport.CurrentRow != null)
     {
         int id = int.Parse(dgReport.CurrentRow.Cells[0].Value.ToString());
         frmNewTransaction frmNew = new frmNewTransaction();
         frmNew.accountID = id;
         if (frmNew.ShowDialog() == DialogResult.OK)
         {
             Filter();
         }
     }
 }