Ejemplo n.º 1
0
        private void btn_newnk_MouseClick(object sender, MouseEventArgs e)
        {
            changenk cnk = new changenk();

            cnk.change        = false;
            cnk.saveclick    += _saveclick;
            btn_newnk.Actived = false;
            cnk.ShowDialog();
        }
Ejemplo n.º 2
0
 private void dgv_nhapkho_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         if (dgv_nhapkho.Rows[e.RowIndex].Cells[0].Value != null && dgv_nhapkho.Rows[e.RowIndex].Cells[0].Value.ToString() != "")
         {
             NhapKho nk = new NhapKho();
             nk = adddl();
             changenk cnk = new changenk(nk);
             cnk.change = true;
             cnk.ShowDialog();
         }
         rowindex = e.RowIndex;
     }
 }