コード例 #1
0
        private System.Windows.Forms.Control previousCtrl; // カーソルの元の位置を待避

        public Search_JuchuuNO(string changeDate)
        {
            InitializeComponent();

            this.InitialControlArray();

            HeaderTitleText = ProNm;
            this.Text       = ProNm;

            CboStoreCD.Bind(changeDate);

            //検索用のパラメータ設定
            ScCustomer.Value1 = "1";

            ssbl = new TempoJuchuuShoukai_BL();
        }
コード例 #2
0
        private void Form_Load(object sender, EventArgs e)
        {
            try
            {
                base.InProgramID = ProID;
                base.InProgramNM = ProNm;

                this.SetFunctionLabel(EProMode.SHOW);
                this.InitialControlArray();

                Btn_F2.Text  = "新規受注(F2)";
                Btn_F10.Text = "出力(F10)";

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

                //初期値セット
                ssbl = new TempoJuchuuShoukai_BL();
                string ymd = ssbl.GetDate();
                CboStoreCD.Bind(ymd);

                //検索用のパラメータ設定
                string stores = GetAllAvailableStores();
                ScJuchuuNO.Value1   = InOperatorCD;
                ScJuchuuNO.Value2   = stores;
                ScJuchuuNOTo.Value1 = InOperatorCD;
                ScJuchuuNOTo.Value2 = stores;
                ScCustomer.Value1   = "1";

                SetFuncKeyAll(this, "110001000010");
                Scr_Clr(0);
            }
            catch (Exception ex)
            {
                //エラー時共通処理
                MessageBox.Show(ex.Message);
                EndSec();
            }
        }