Пример #1
0
 private void btn_View_Details_Click(object sender, EventArgs e)
 {
     try
     {
         int         currentID = Convert.ToInt32(dgv_Return_Find.CurrentRow.Cells[0].Value);
         frm_Returns f2        = new frm_Returns(currentID, "view");
         f2.ShowDialog();
     }
     catch (Exception exp)
     {
         MessageBox.Show(exp.Message);
     }
 }
Пример #2
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            frm_Returns f1 = new frm_Returns("add");

            f1.ShowDialog();
        }
Пример #3
0
        private void addToolStripMenuItem10_Click(object sender, EventArgs e)
        {
            frm_Returns f = new frm_Returns("add");

            f.Show();
        }