예제 #1
0
 private void btnPreView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (XC004.Text != "")
     {
         RESAB02 ab02 = new RESAB02();
         ab02.SetID        = XC006.Text;
         ab02.SetXA001     = XC004.Text;
         ab02.SetDate      = XC002.EditValue.ToString();
         ab02.SetSubject   = XC010.Text;
         ab02.SetPDFName   = XC001.Text;
         ab02.SetStoreName = XC002C.Text;
         ab02.MenuPreView();
     }
 }
예제 #2
0
        private void ShowPOSAB02(bool WriteData)
        {
            if (XC002.Text == "")
            {
                return;
            }
            LoadImage();
            RESAB02 ab02 = new RESAB02();

            ab02.SetRESMain   = (Parent.Parent as RESMain);
            ab02.SetID        = XC006.Text;
            ab02.SetXA001     = XC004.Text;
            ab02.SetDate      = XC002.EditValue.ToString();
            ab02.SetSubject   = XC010.Text;
            ab02.SetPDFName   = XC001.Text;
            ab02.SetStoreName = XC004C.Text;
            ab02.SetOrderTime = XC003.Text + "~" + XC007.Text;
            ab02.SetBuffer    = FBuffer;
            ab02.SetWriteData = WriteData;
            ab02.ShowDialog();
        }