예제 #1
0
 private void AddQmReport(object obj, EventArgs e)
 {
     #region 生成报检单
     var        model = Controller.GetQmModel(this.DGX);
     FmQmReport frm   = new FmQmReport(model);
     //FmMain.NewPageDelegate(frm);
     frm.ShowDialog();
     this.btn_Reflash_Click(null, null);
     #endregion
 }
예제 #2
0
        private void ShowDetail(object sender, MouseEventArgs e)
        {
            #region 生成报检单
            int    index = DGX.FocusedRowHandle;
            string guid  = DGX.GetDataRow(index)["guid"].ToString();

            FmQmReport frm = new FmQmReport(guid);
            //FmMain.NewPageDelegate(frm);
            frm.ShowDialog();
            #endregion
        }