/// <summary> /// 预定增加 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void butydtj_Click(object sender, EventArgs e) { FrmYuDingDJ f = new FrmYuDingDJ(); f.ShowDialog(); BangY(); }
/// <summary> /// 预定修改 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button2_Click(object sender, EventArgs e) { string xm = this.dgvyd.CurrentRow.Cells[0].Value.ToString();//名称 FrmYuDingDJ f = new FrmYuDingDJ(); f.jsxm = xm; f.ShowDialog(); BangY(); }