private void toolEdit_Click(object sender, EventArgs e) { FrmGGEdit frm = new FrmGGEdit(this.gridViewQx.GetDataRow(this.gridViewQx.FocusedRowHandle)["GongSiId"].ToString()); frm.ShowDialog(); grdLeft_FocusedViewChanged(null, null); }
private void toolAdd_Click(object sender, EventArgs e) { FrmGGEdit frm = new FrmGGEdit(); frm.sID = ""; frm.ShowDialog(); grdLeft_FocusedViewChanged(null, null); }