예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            button = "update";
            frm_thuoc_insert f = new frm_thuoc_insert(this);

            f.ShowDialog();
        }
예제 #2
0
        private void btn_them_Click(object sender, EventArgs e)
        {
            button = "insert";
            //loaithuoc = dg_thuoc.Rows[dg_thuoc.CurrentRow.Index].Cells[1].Value.ToString();
            frm_thuoc_insert f = new frm_thuoc_insert(this);

            f.ShowDialog();
        }