private void Form_Load(object sender, EventArgs e)
        {
            try
            {
                base.InProgramID = ProID;
                base.InProgramNM = ProNm;

                this.SetFunctionLabel(EProMode.PRINT);
                this.InitialControlArray();
                base.Btn_F10.Text = "";

                //起動時共通処理
                base.StartProgram();

                string ymd = bbl.GetDate();
                ssbl = new ShukkaShijiTouroku_BL();
                CboSouko.Bind(ymd);
                CboCarrierCD.Bind(ymd);

                SetFuncKeyAll(this, "100001000011");
                Scr_Clr(0);
            }
            catch (Exception ex)
            {
                //エラー時共通処理
                MessageBox.Show(ex.Message);
                EndSec();
            }
        }
        private void Form_Load(object sender, EventArgs e)
        {
            try
            {
                Scr_Clr();

                string ymd = snbl.GetDate();
                snbl = new ShukkaShijiTouroku_BL();
                CboSouko.Bind(ymd);
                CboCarrier.Bind(ymd);

                ScJuchuuNO.Value1 = OperatorCD;
                ScJuchuuNO.Value2 = AllAvailableStores;

                //スタッフマスター(M_Staff)に存在すること
                //[M_Staff]
                M_Staff_Entity mse = new M_Staff_Entity
                {
                    StaffCD    = OperatorCD,
                    ChangeDate = snbl.GetDate()
                };
                Staff_BL bl  = new Staff_BL();
                bool     ret = bl.M_Staff_Select(mse);
                if (ret)
                {
                    //[M_Souko_Search]
                    M_Souko_Entity me = new M_Souko_Entity
                    {
                        StoreCD    = mse.StoreCD,
                        SoukoType  = "3",
                        ChangeDate = ymd,
                        DeleteFlg  = "0"
                    };

                    DataTable mdt = snbl.M_Souko_Search(me);
                    if (mdt.Rows.Count > 0)
                    {
                        CboSouko.SelectedValue = mdt.Rows[0]["SoukoCD"];
                    }
                }

                for (int i = (int)EIndex.DayStart; i <= (int)EIndex.PlanDateEnd; i++)
                {
                    detailControls[i].Text = ymd;
                }
                detailControls[(int)EIndex.StaffCD].Text = OperatorCD;
                ScStaff.LabelText = mse.StaffName;

                detailControls[0].Focus();
            }
            catch (Exception ex)
            {
                //エラー時共通処理
                MessageBox.Show(ex.Message);
                //EndSec();
            }
        }
        public Search_InstructionNO(string changeDate)
        {
            InitializeComponent();

            InitialControlArray();

            HeaderTitleText = ProNm;
            this.Text       = ProNm;

            CboSouko.Bind(changeDate);

            snbl = new ShukkaShijiTouroku_BL();
        }