예제 #1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            frm_Add_Store frm1 = new frm_Add_Store("add");

            frm1.ShowDialog();
            this.Close();
        }
예제 #2
0
        private void btn_Edit_Click(object sender, EventArgs e)
        {
            int           currentID = Convert.ToInt32(dgv_Store_Search.CurrentRow.Cells[0].Value);
            frm_Add_Store frm2      = new frm_Add_Store(currentID, "edit");

            frm2.ShowDialog();
            this.Close();
        }
예제 #3
0
        private void addToolStripMenuItem4_Click(object sender, EventArgs e)
        {
            frm_Add_Store frm1 = new frm_Add_Store("add");

            frm1.ShowDialog();
        }