public CS生产领料申请单(mySystem.MainForm mainform, Int32 ID, BaseForm owner)
            : base(mainform)
        {
            InitializeComponent();
            conn = Parameter.conn;
            mySystem.Parameter.conn = mySystem.Parameter.conn;
            isSqlOk = Parameter.isSqlOk;

            variableInit(ID);
            getOtherData();//读取该指令下的物料代码,数量

            生产领料申请单 my生产领料申请单 = new mySystem.Other.生产领料申请单(base.mainform, ID, dt生产指令信息, dt物料代码数量, conn, mySystem.Parameter.connOle);

            my生产领料申请单.Owner = owner;
            my生产领料申请单.ShowDialog();
        }
        public CS生产领料申请单(mySystem.MainForm mainform, BaseForm owner)
            : base(mainform)
        {
            InitializeComponent();

            conn = Parameter.conn;
            mySystem.Parameter.conn = mySystem.Parameter.conn;
            isSqlOk     = Parameter.isSqlOk;
            InstruID    = Parameter.csbagInstruID;
            Instruction = Parameter.csbagInstruction;

            getOtherData();//读取该指令下的物料代码,数量

            生产领料申请单 my生产领料申请单 = new mySystem.Other.生产领料申请单(base.mainform, dt生产指令信息, dt物料代码数量, conn, mySystem.Parameter.connOle);

            my生产领料申请单.Owner = owner;
            my生产领料申请单.ShowDialog();
        }