Ejemplo n.º 1
0
 public ShengChengBiaoGeXuanZe(string type)
 {
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     gn         = new GongNeng2();
     buttonType = type;
     InitializeComponent();
 }
Ejemplo n.º 2
0
 public InputCaiDanNo(Form fm, string typekey)
 {
     InitializeComponent();
     gn2 = new GongNeng2();
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     key = typekey;
     fma = fm;
 }
Ejemplo n.º 3
0
 public inputMianLiaoDingGou()
 {
     InitializeComponent();
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     gn  = new GongNeng2();
     cal = new clsAllnewLogic();
     dfi = new Definefactoryinput();
 }
Ejemplo n.º 4
0
 public ETD_ETA_LDP(string cdNo, string jgc, string kuanshi, List <HeSuan> hesuan)
 {
     caidanhao    = cdNo;
     jiagongchang = jgc;
     style        = kuanshi;
     hs           = hesuan;
     cal          = new clsAllnewLogic();
     gn           = new GongNeng2();
     InitializeComponent();
 }
Ejemplo n.º 5
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();
        }
Ejemplo n.º 6
0
        public PingMingSelect(mflDgd fm, string cd)
        {
            cal = new clsAllnewLogic();
            gn  = new GongNeng2();
            df  = new Define1();
            //jgc = jiagongchang;
            //ks = kuanshi;
            cdhao = cd;
            f     = fm;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            InitializeComponent();
        }
Ejemplo n.º 7
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();
 }
Ejemplo n.º 8
0
        public mflDgd(List <HeSuan> hs, string caidan, string jgc, string ks)
        {
            hesuan = hs.GroupBy(g => new { g.Name, g.LOT }).Select(s => s.First()).ToList <clsBuiness.HeSuan>();
            //dh = CdHao;
            cd                 = caidan;
            ChuanHuiMFL        = new List <clsBuiness.MianFuLiaoDingGouDan>();
            cal                = new clsAllnewLogic();
            gn                 = new GongNeng2();
            df                 = new Define1();
            jiagongchang       = jgc;
            kuanshi            = ks;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            InitializeComponent();
        }
Ejemplo n.º 9
0
        public ShengChengBiaoGeXuanZe(string type, DataGridView dv1, DataGridView dv2, DataGridView dv3, List <string> cl, int Lie, string style, string cdno, DataGridView dataGridView21)
        {
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            gn            = new GongNeng2();
            dgv_ps        = dv1;
            dataGridView1 = dv3;
            dgv_dh        = dv2;
            dataGridView2 = dataGridView21;

            color      = cl;
            lie        = Lie;
            STYLE      = style;
            cdNo       = cdno;
            buttonType = type;
            InitializeComponent();
        }
Ejemplo n.º 10
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>();
 }
Ejemplo n.º 11
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();
        }