private void gridView2_DoubleClick(object sender, EventArgs e) { try { int k = gridView2.SelectedRowsCount; if (k > 0) { int RowHandle = gridView2.GetSelectedRows()[k - 1]; if (RowHandle >= 0) { long iDDT = long.Parse(gridView2.GetRowCellValue(RowHandle, colID).ToString()); WebUp temp = WebUp.Get(iDDT); if (temp != null) { frmWebLink frm = new frmWebLink(NumCode.UPWEB, NumCode.WEB); frm._cus = temp; if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } } } } } catch { } }
private void btnAdd_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(NumCode.UPWEB, NumCode.WEB); frm.ShowDialog(); _LoadDSWebLink(); }
private void btnAdd_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(NumCode.UPWEB, NumCode.WEB); frm.ShowDialog(); if (lookUpEditPage.EditValue != null) { _LoadDSWebLink(lookUpEditPage.Text); } }
private void gridView2_DoubleClick(object sender, EventArgs e) { try { int k = gridView2.SelectedRowsCount; if (k > 0) { int RowHandle = gridView2.GetSelectedRows()[k - 1]; if (RowHandle >= 0) { long iDDT = long.Parse(gridView2.GetRowCellValue(RowHandle, colID).ToString()); WebLink temp = WebLink.Get(iDDT); if (temp != null) { frmWebLink frm = new frmWebLink(NumCode.UPEX); frm._cus = temp; if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } } } } } catch { } }
private void btnAdd_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(NumCode.UPEX); frm.ShowDialog(); _LoadDSWebLink(); }