private void _SelectUpdateWebLink() { try { int k = gridView1.SelectedRowsCount; if (k > 0) { int RowHandle = gridView1.GetSelectedRows()[k - 1]; if (RowHandle >= 0) { long iDDT = long.Parse(gridView1.GetRowCellValue(RowHandle, colID).ToString()); WebUp temp = WebUp.Get(iDDT); if (temp != null) { frmWebLink frm = new frmWebLink(_Type,_TypePage); frm._cus = temp; if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } } } } } catch { } }
private void _SelectUpdateWebLink() { try { int k = gridView1.SelectedRowsCount; if (k > 0) { int RowHandle = gridView1.GetSelectedRows()[k - 1]; if (RowHandle >= 0) { long iDDT = long.Parse(gridView1.GetRowCellValue(RowHandle, colID).ToString()); WebUp temp = WebUp.Get(iDDT); if (temp != null) { frmWebLink frm = new frmWebLink(_Type, _TypePage); frm._cus = temp; if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } } } } } catch { } }
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.UPFORUM, NumCode.FORUM); frm._cus = temp; if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } } } } } catch { } }
private void btnAdd_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(NumCode.UPFORUM, NumCode.FORUM); frm.ShowDialog(); _LoadDSWebLink(); }
private void btnThemMoi_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(_Type, _TypePage); if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } }
private void btnThemMoi_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(_Type,_TypePage); if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } }
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.UPFORUM,NumCode.FORUM); frm._cus = temp; if (frm.ShowDialog() == DialogResult.OK) { _LoadDSWebLink(); } } } } } catch { } }
private void btnAdd_Click(object sender, EventArgs e) { frmWebLink frm = new frmWebLink(NumCode.UPFORUM,NumCode.FORUM); 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); }