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(); mibl = new KaitouNoukiTouroku_BL(); CboStoreCD.Bind(string.Empty); CboSoukoName.Bind(string.Empty); ScOrderCD.Value1 = "1"; SetFuncKeyAll(this, "100001000011"); Scr_Clr(0); } catch (Exception ex) { //エラー時共通処理 MessageBox.Show(ex.Message); EndSec(); } }
private void Form_Load(object sender, EventArgs e) { try { base.InProgramID = ProID; base.InProgramNM = ProNm; this.SetFunctionLabel(EProMode.SHOW); this.InitialControlArray(); Btn_F10.Text = "出力(F10)"; //起動時共通処理 base.StartProgram(); //初期値セット ssbl = new HacchuuShoukai_BL(); string ymd = ssbl.GetDate(); CboStoreCD.Bind(ymd); CboSoukoName.Bind(ymd); CboArrivalPlan.Bind(ymd); //検索用のパラメータ設定 string stores = GetAllAvailableStores(); ScJuchuuNO.Value1 = InOperatorCD; ScJuchuuNO.Value2 = stores; ScVendor.Value1 = "1"; SetFuncKeyAll(this, "100001000010"); Scr_Clr(0); } catch (Exception ex) { //エラー時共通処理 MessageBox.Show(ex.Message); EndSec(); } }