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