예제 #1
0
 public inputMianLiaoDingGou()
 {
     InitializeComponent();
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     gn  = new GongNeng2();
     cal = new clsAllnewLogic();
     dfi = new Definefactoryinput();
 }
예제 #2
0
 public Factoryinput()
 {
     InitializeComponent();
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     //this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     cal1  = new Definefactoryinput();
     list1 = new List <JiaGongChang>();
 }
예제 #3
0
 public InputCreatYjcb(Form frm, string cd, List <HeSuan> hs)
 {
     InitializeComponent();
     cdno               = cd;
     hesuan             = hs;
     fm                 = frm;
     cal                = new clsAllnewLogic();
     df                 = new Definefactoryinput();
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
 }
예제 #4
0
        public CaiDanRGLJ(string style, string cmdp, Form F)
        {
            gn2     = new GongNeng2();
            FM      = F;
            dfi     = new Definefactoryinput();
            StyleId = style;
            chima   = cmdp;
            cd      = gn2.CreateCaiDan(style, cmdp);
            jgc     = dfi.selectJiaGongChang().GroupBy(j => j.Name).Select(s => s.First()).ToList <JiaGongChang>();

            InitializeComponent();
        }
예제 #5
0
 public frmCaiDanD_PANT(string style, string cmdp, Form f)
 {
     //kuanshi = ks;
     //cmdp = cm;
     fm      = f;
     gn2     = new GongNeng2();
     dfi     = new Definefactoryinput();
     StyleId = style;
     chima   = cmdp;
     cd      = gn2.CreateCaiDan(style, cmdp);
     jgc     = dfi.selectJiaGongChang().GroupBy(j => j.Name).Select(s => s.First()).ToList <JiaGongChang>();
     InitializeComponent();
 }
예제 #6
0
 public CaiDan(string style, string cmdp, Form F)
 {
     FM = F;
     InitializeComponent();
     StyleId            = style;
     chima              = cmdp;
     cal                = new clsAllnewLogic();
     dfi                = new Definefactoryinput();
     gn2                = new GongNeng2();
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     cd = gn2.CreateCaiDan(style, cmdp);
     if (cd.Count == 0)
     {
         MessageBox.Show("生成失败! 原因:没有该Style的数据");
         this.Close();
     }
     //pd.PrinterSettings.PrinterName = "pdfFactory Pro";
     jgc = dfi.selectJiaGongChang().GroupBy(j => j.Name).Select(s => s.First()).ToList <JiaGongChang>();
 }
예제 #7
0
        public CaiDanRGL2(string style, string cmdp, Form f)
        {
            gn2 = new GongNeng2();
            sty = style;
            cmd = cmdp;
            frm = f;
            FM  = f;
            cd  = gn2.CreateCaiDan(style, cmdp);
            dfi = new Definefactoryinput();
            if (cd != null && cd.Count == 0)
            {
                MessageBox.Show("生成失败! 原因:没有该Style的数据");
                this.Close();
            }
            //pd.PrinterSettings.PrinterName = "pdfFactory Pro";
            jgc = dfi.selectJiaGongChang().GroupBy(j => j.Name).Select(s => s.First()).ToList <JiaGongChang>();

            InitializeComponent();
        }