private void ShowDetail(object sender, MouseEventArgs e) { #region 查看单据 int index = DGX.FocusedRowHandle; string guid = DGX.GetDataRow(index)["guid"].ToString(); FmRecord01 frm = new FmRecord01(guid); FmMain.NewPageDelegate(frm); #endregion }
private void StockIn(object obj, EventArgs e) { #region 生成入库单 RDRecord model = Controller.GetRDModel(this.DGX); FmRecord01 frm = new FmRecord01(model); FmMain.NewPageDelegate(frm); //FmQmPuIn frm = new FmQmPuIn(); //if (frm.ShowDialog() == DialogResult.OK) //{ // //生成U8采购入库 // vouchId = new U8OperationClient().PuStoreInAdd(guid, frm.cWhCode, Information.UserInfo.cUser_Name); //} #endregion }