private void btn_Add_Click(object sender, EventArgs e)
        {
            frm_Transferring_From_To f1 = new frm_Transferring_From_To("add");

            f1.Show();
            this.Close();
        }
        private void btn_View_Details_Click(object sender, EventArgs e)
        {
            int currentID = Convert.ToInt32(dgv_Transfer_Find.CurrentRow.Cells[0].Value);
            frm_Transferring_From_To f2 = new frm_Transferring_From_To(currentID, "View");

            f2.Show();
        }
        private void btn_Edit_Click(object sender, EventArgs e)
        {
            int currentID = Convert.ToInt32(dgv_Transfer_Find.CurrentRow.Cells[0].Value);
            frm_Transferring_From_To f2 = new frm_Transferring_From_To(currentID, "edit");

            f2.Show();
            this.Close();
        }
Beispiel #4
0
        private void addToolStripMenuItem9_Click(object sender, EventArgs e)
        {
            frm_Transferring_From_To f = new frm_Transferring_From_To("add");

            f.Show();
        }