示例#1
0
        private void DgvProduct_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int id;

            int.TryParse(dgvProduct.CurrentRow.Cells["Id"].Value.ToString(), out id);

            frmProductRequest frmProductRequest = new frmProductRequest(id);

            frmProductRequest.Show();
        }
示例#2
0
        private void BtnProductAdd_Click(object sender, EventArgs e)
        {
            frmProductRequest frmProductRequest = new frmProductRequest();

            frmProductRequest.Show();
        }