//public void ReLoadData() //{ // DataRow r1 = this.dataGView1.GetRowData(); // this.dataGView2.Url = "WZPanDianDetailInfo"; // this.dataGView2.reLoad(new object[] { r1["PDID"], His.his.Choscode }); // this.dataGView2.setFocus(rowid, 0); //} private void toolStripButton5_Click(object sender, EventArgs e) //工具栏修改按钮点击事件 { DataRow r1 = this.dataGView1.GetRowData(); if (r1 != null) { if (r1["STATUS"].ToString() == "1") { rowid = this.dataGView1.CurrentRow.Index; EQPanDian_DetailScan ks = new EQPanDian_DetailScan(r1, false); ks.Main2 = this; ks.ShowDialog(); //if (ks.isSc) //{ // toolStripButton4_Click(null, null); //} } else { WJs.alert("只能对状态为等待审核的信息进行修改!"); } } else { WJs.alert("请选择要编辑的盘点信息"); } }
private void toolStripButton3_Click(object sender, EventArgs e)//工具栏查看按钮点击事件 { DataRow r1 = this.dataGView1.GetRowData(); if (r1 == null) { WJs.alert("请选择一行要查看的数据!"); return; } EQPanDian_DetailScan ks = new EQPanDian_DetailScan(r1); ks.Main2 = this; ks.ShowDialog(); }