private void btnAdd() { Frm杜乐公告Edit f = new Frm杜乐公告Edit(); f.ShowDialog(); btnSel(); }
private void gridView1_DoubleClick(object sender, EventArgs e) { try { int iRow = 0; if (gridView1.FocusedRowHandle > 0) { iRow = gridView1.FocusedRowHandle; } string sGuid = gridView1.GetRowCellValue(iRow, gridColGUID).ToString().Trim(); if (sGuid != "") { Frm杜乐公告Edit f = new Frm杜乐公告Edit(sGuid); f.ShowDialog(); btnSel(); } } catch { } }