Example #1
0
        private void lstv_list_SP_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            flag_sp = false; // Lúc sửa sản phẩm
            frm_CTSP GUI_CTSP = new frm_CTSP();

            GUI_CTSP.ShowDialog();
            lam_moi();
        }
Example #2
0
 private void btn_tao_moi_SP_Click(object sender, EventArgs e)
 {
     flag_sp = true; //Lúc tạo mới
     if (flag_sp == true)
     {
         lvi_sanPham = new ListViewItem();
         frm_CTSP GUI_CTSP = new frm_CTSP();
         GUI_CTSP.ShowDialog();
         lam_moi();
     }
 }