private void gridView1_RowCellClick(object sender, RowCellClickEventArgs e) { if (e.Column.FieldName.ToUpper() == "R13") { string text; if (this.radDJ.Checked) { text = "E2 not like '%、%'"; } else { if (this.radHJ.Checked) { text = "E2 like '%、%'"; } else { text = "E2 like '%%'"; } } frmNYList frmNYList = new frmNYList("YXCF2JX", string.Concat(new string[] { this.gridView1.GetRowCellValue(e.RowHandle, "E2").ToString(), "|", this.gridView1.GetRowCellValue(e.RowHandle, "E3").ToString(), "|", e.CellValue.ToString(), "|", text })); frmNYList.ShowDialog(); } }
private void gridView1_RowCellClick(object sender, RowCellClickEventArgs e) { if (e.Column.FieldName.ToUpper() == "E2") { frmNYList frmNYList = new frmNYList("YXCF", e.CellValue.ToString().Trim() + "|" + this.gridView1.GetRowCellValue(e.RowHandle, "E3").ToString().Trim()); frmNYList.ShowDialog(); } }
private void picHaveJS_Click(object sender, EventArgs e) { frmNYList frmNYList = new frmNYList("QYCPTJ", ""); frmNYList.ShowDialog(); }
private void btnQYGQY_Click(object sender, EventArgs e) { frmNYList frmNYList = new frmNYList("QY_Unused", this.txtDWMC.Text.Trim()); frmNYList.ShowDialog(); }
private void btnHYGYXCFY_Click(object sender, EventArgs e) { frmNYList frmNYList = new frmNYList("YXCF", this.txtChTYMC.Text.Trim() + "|" + this.txtEnTYMC.Text.Trim()); frmNYList.ShowDialog(); }