Beispiel #1
0
        private void MniEditItem_Click(object sender, EventArgs e)
        {
            frmDomainItem vFrmDomainItem = new frmDomainItem();

            vFrmDomainItem.SetInfo(FDomainID, int.Parse(dgvCV.Rows[dgvCV.SelectedRows[0].Index].Cells[3].Value.ToString()));
            if (vFrmDomainItem.DialogResult == DialogResult.OK)
            {
                GetDomainItem();
            }
        }
Beispiel #2
0
        private void MniNewItem_Click(object sender, EventArgs e)
        {
            frmDomainItem vFrmDomainItem = new frmDomainItem();

            vFrmDomainItem.SetInfo(FDomainID, 0);
            if (vFrmDomainItem.DialogResult == DialogResult.OK)
            {
                GetDomainItem();
            }
        }