コード例 #1
0
ファイル: StructureManage.cs プロジェクト: Klutzdon/PBIMSN
        public StructureManage()
        {
            InitializeComponent();
            this.lbItem.Font = ControlSetting.ListFont;
            this.lbSubItem.Font = ControlSetting.ListFont;
            this.lbSubSubItem.Font = ControlSetting.ListFont;
            this.m_generalBL = new BLL.Impl.General.GeneralBL();
            this.m_structureMasterBL = MasterBLLFactory.GetBLL<IStructureMasterBL>(MasterBLLFactory.StructureMaster_stt);
            this.SysToolBar.OnItemRefresh_Click += new WindowControls.HBPMS.SystemToolBar.ItemRefresh_Click(SysToolBar_OnItemRefresh_Click);

            this.btnItemAdd.Click += new EventHandler(btnItemAdd_Click);
            this.btnItemModify.Click += new EventHandler(btnItemModify_Click);
            this.btnItemDel.Click += new EventHandler(btnItemDel_Click);
            this.btnSubItemAdd.Click += new EventHandler(btnSubItemAdd_Click);
            this.btnSubItemModify.Click += new EventHandler(btnSubItemModify_Click);
            this.btnSubItemDel.Click += new EventHandler(btnSubItemDel_Click);
            this.btnSubSubItemAdd.Click += new EventHandler(btnSubSubItemAdd_Click);
            this.btnSubSubItemModify.Click += new EventHandler(btnSubSubItemModify_Click);
            this.btnSubSubItemDel.Click += new EventHandler(btnSubSubItemDel_Click);

            this.lbItem.SelectedIndexChanged += new EventHandler(lbItem_SelectedIndexChanged);
            this.lbSubItem.SelectedIndexChanged += new EventHandler(lbSubItem_SelectedIndexChanged);
            this.lbSubSubItem.SelectedIndexChanged += new EventHandler(lbSubSubItem_SelectedIndexChanged);

            m_objStructureList = new List<StructureMaster_stt_Info>();
        }
コード例 #2
0
 public MaintenancePlanAppSetting()
 {
     InitializeComponent();
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
     init();
     showAdd();
 }
コード例 #3
0
        public frmStudentOrderNew()
        {
            InitializeComponent();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            this._IPaymentUDMealStateBL = MasterBLLFactory.GetBLL<IPaymentUDMealStateBL>(MasterBLLFactory.PaymentUDMealState);

            this._IPaymentUDGeneralSettingBL = MasterBLLFactory.GetBLL<IPaymentUDGeneralSettingBL>(MasterBLLFactory.PaymentUDGeneralSetting);

            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);

            this._CurrentStudentID = Guid.Empty;

            this._EditState = Common.DefineConstantValue.EditStateEnum.OE_ReaOnly;

            ListViewSorter sorterGrade = new ListViewSorter(1, SortOrder.Ascending);
            lvStudentList.ListViewItemSorter = sorterGrade;
            lvStudentList.Sorting = SortOrder.Ascending;

            ListViewSorter sorterOrder = new ListViewSorter(1, SortOrder.Ascending);
            lvSpecialOrder.ListViewItemSorter = sorterOrder;
            lvSpecialOrder.Sorting = SortOrder.Ascending;

            labRecordTime.Text = "无记录";
        }
コード例 #4
0
ファイル: CodeMasterForm.cs プロジェクト: Klutzdon/PBIMSN
 public CodeMasterForm()
 {
     InitializeComponent();
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
     this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
     BindCombox(DefineConstantValue.MasterType.CodeMaster_Key1, null);
 }
コード例 #5
0
 public PrepareJobAppSetting()
 {
     InitializeComponent();
     this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
     this._prepareProjectMasterBL = MasterBLLFactory.GetBLL<IPrepareProjectMasterBL>(MasterBLLFactory.PrepareProjectMaster_ppm);
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
 }
コード例 #6
0
ファイル: frmCostBalance.cs プロジェクト: Klutzdon/SIOTS_HHZX
        public frmCostBalance()
        {
            InitializeComponent();

            this._payRecordBL = MasterBLLFactory.GetBLL<IPayRecordBL>(MasterBLLFactory.PayRecord);

            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
        }
コード例 #7
0
        public frmAccoumtBalance()
        {
            InitializeComponent();

            _iabBL = MasterBLLFactory.GetBLL<IAccoumtBalanceBL>(MasterBLLFactory.AccoumtBalance);
            _igBM = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            _igmBL = MasterBLLFactory.GetBLL<IGradeMasterBL>(MasterBLLFactory.GradeMaster);
        }
コード例 #8
0
        public frmClassMasterDetailNew()
        {
            InitializeComponent();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            BindComboData();
        }
コード例 #9
0
ファイル: frmRemind.cs プロジェクト: Klutzdon/SIOTS_HHZX
        public frmRemind()
        {
            InitializeComponent();

            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            this._cardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount);
        }
コード例 #10
0
        public frmStudentMasterDetailNew()
        {
            InitializeComponent();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);

            BindComboData();
        }
コード例 #11
0
        public frmChangePreCostStatus()
        {
            InitializeComponent();

            this._IPreConsumeRecordBL = MasterBLLFactory.GetBLL<IPreConsumeRecordBL>(MasterBLLFactory.PreConsumeRecord);
            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);
            this._IUserCardPairBL = MasterBLLFactory.GetBLL<IUserCardPairBL>(MasterBLLFactory.UserCardPair);
            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
        }
コード例 #12
0
ファイル: MaintenanceInfo.cs プロジェクト: Klutzdon/PBIMSN
        /// <summary>
        /// 初始化
        /// </summary>
        public MaintenanceInfo()
        {
            InitializeComponent();

            this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
            this._ListColumnsMoasterBL = MasterBLLFactory.GetBLL<IListColumnsMasterBL>(MasterBLLFactory.ListColumnsMaster);
            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster);
            this._lisPrinterType = new List<CodeMaster_cmt_Info>();
        }
コード例 #13
0
ファイル: StopReason.cs プロジェクト: Klutzdon/PBIMSN
        public StopReason()
        {
            InitializeComponent();

            this._IStopReasonBL = MasterBLLFactory.GetBLL<IStopReasonBL>(MasterBLLFactory.StopReasonMaster);
            this._ICodeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
            this._dicPrinterType = new Dictionary<int, CodeMaster_cmt_Info>();

            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
        }
コード例 #14
0
ファイル: PrepareJob.cs プロジェクト: Klutzdon/PBIMSN
 public PrepareJob()
 {
     InitializeComponent();
     this.lvInfo.Font = ControlSetting.ListFont;
     this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
     this._listColumnsMoasterBL = MasterBLLFactory.GetBLL<IListColumnsMasterBL>(MasterBLLFactory.ListColumnsMaster);
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
     this._prepareProjectMasterBL = MasterBLLFactory.GetBLL<IPrepareProjectMasterBL>(MasterBLLFactory.PrepareProjectMaster_ppm);
     this._lisPrinterType = new List<CodeMaster_cmt_Info>();
 }
コード例 #15
0
ファイル: MaintenancePlan.cs プロジェクト: Klutzdon/PBIMSN
 public MaintenancePlan()
 {
     InitializeComponent();
     this.lvInfo.Font = ControlSetting.ListFont;
     this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster);
     this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
     this._maintainPlanBL = MasterBLLFactory.GetBLL<IMaintainPlanBL>(MasterBLLFactory.MaintainPlan);
     this._lisPrinterType = new List<CodeMaster_cmt_Info>();
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
 }
コード例 #16
0
        public frmStudentMaster()
        {
            InitializeComponent();

            this._ListQueryStuInfo = new List<CardUserMaster_cus_Info>();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);
            this._IUserCardPairBL = MasterBLLFactory.GetBLL<IUserCardPairBL>(MasterBLLFactory.UserCardPair);
        }
コード例 #17
0
        public frmCardInfoQuery()
        {
            InitializeComponent();

            _iccmBL = MasterBLLFactory.GetBLL<IConsumeCardMasterBL>(MasterBLLFactory.ConsumeCardMaster);
            _igBM = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            initUserDepartment();
            initUserClass();
            initReader();
            initCardUseState();
        }
コード例 #18
0
ファイル: frmStaffMaster.cs プロジェクト: Klutzdon/SIOTS_HHZX
        public frmStaffMaster()
        {
            InitializeComponent();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);
            this._IGradeMasterBL = MasterBLLFactory.GetBLL<IGradeMasterBL>(MasterBLLFactory.GradeMaster);
            this._IClassMasterBL = MasterBLLFactory.GetBLL<IClassMasterBL>(MasterBLLFactory.ClassMaster);
            this._IUserCardPairBL = MasterBLLFactory.GetBLL<IUserCardPairBL>(MasterBLLFactory.UserCardPair);

            this._ListQueryUserInfos = null;
        }
コード例 #19
0
ファイル: frmCardReturn.cs プロジェクト: Klutzdon/SIOTS_HHZX
        public frmCardReturn()
        {
            InitializeComponent();

            this._ListQueryStuInfo = new List<CardUserMaster_cus_Info>();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);
            this._IUserCardPairBL = MasterBLLFactory.GetBLL<IUserCardPairBL>(MasterBLLFactory.UserCardPair);
            this._ICardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount);
            this._IPreConsumeRecordBL = MasterBLLFactory.GetBLL<IPreConsumeRecordBL>(MasterBLLFactory.PreConsumeRecord);
        }
コード例 #20
0
        //(NO:0005078)  保養部件清單 Add By Leothlink TonyWu On 07/18/2014  <<<
        public MaintenanceInfoAppSetting()
        {
            InitializeComponent();
            this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
            this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster);
            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            //(NO:0005078)  保養部件清單 Add By Leothlink TonyWu On 07/18/2014  >>>
            this._PlanEquipmentList = new List<MaintainPlanEquipmentMapping_mpe_Info>();
            this._BaseEquipmentList = new List<MaintainPlanEquipmentMapping_mpe_Info>();
            MaximoHelper.ServicePath = ConfigurationManager.AppSettings["MaximoServiceURL"].ToString();
            //(NO:0005078)  保養部件清單 Add By Leothlink TonyWu On 07/18/2014  <<<
        }
コード例 #21
0
ファイル: LoginForm.cs プロジェクト: Klutzdon/PBIMSN
        public LoginForm()
        {
            InitializeComponent();
            this._loginForm = MasterBLLFactory.GetBLL<ILoginFormBL>(MasterBLLFactory.LoginForm);
            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            //this._userSkinBL = BLL.Factory.HBPMS.MasterBLLFactory.GetBLL<IUserSkinBL>(BLL.Factory.HBPMS.MasterBLLFactory.UserSkin_urs);
            //BindCombox(DefineConstantValue.MasterType.WinFormSkin);

#if M_DEBUG

            txtUserName.Text = "sa";
            txtPwd.Text = DateTime.Now.ToString("yyyy,MM,dd");

#endif
        }
コード例 #22
0
        public frmMoneyBalance()
        {
            InitializeComponent();

            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            //this._cardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);

            //this._cardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount);

            //this._consumeRecordBL = MasterBLLFactory.GetBLL<IConsumeRecordBL>(MasterBLLFactory.ConsumeRecord);

            this._icmBL = MasterBLLFactory.GetBLL<IClassMasterBL>(MasterBLLFactory.ClassMaster);

            this._imbBL = MasterBLLFactory.GetBLL<IMoneyBalanceBL>(MasterBLLFactory.MoneyBalance);
        }
コード例 #23
0
        public ProjectQualityCheckAppSetting()
        {
            InitializeComponent();

            this._IQualityProblemMasterBL = MasterBLLFactory.GetBLL<IQualityProblemMasterBL>(MasterBLLFactory.QualityProblemMaster);
            this._CurrentQpmInfo = null;
            this._isChanged = false;
            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            //todo: 需初始化用戶信息
            if (base.UserInformation == null)
            {
                base.UserInformation = new Model.SysMaster.Sys_UserMaster_usm_Info();
                base.UserInformation.usm_cUserLoginID = "sys";
            }
        }
コード例 #24
0
ファイル: SignalLightsStatus.cs プロジェクト: Klutzdon/PBIMSN
        public SignalLightsStatus()
        {
            InitializeComponent();

            _allRecord = null;

            this.lvStatus.Font = ControlSetting.ListFont;

            try
            {
                this._signalLightsStatusBL = MasterBLLFactory.GetBLL<ISignalLightsStatusBL>(MasterBLLFactory.SignalLightsStatus);

                this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            }
            catch (Exception Ex)
            {

                ShowErrorMessage(Ex.Message);
            }
        }
コード例 #25
0
        public FShiftTargetYieldSchedule()
        {
            InitializeComponent();
            this.lvArea.Font = ControlSetting.ListFont;
            this.lvMachines.Font = ControlSetting.ListFont;
            this.lvTargetYieldScheduleInfo.Font = ControlSetting.ListFont;
            try
            {
                this._shiftTargetYieldScheduleBL = MasterBLLFactory.GetBLL<IShiftTargetYieldScheduleBL>(MasterBLLFactory.ShiftTargetYieldSchedule);

                this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);

                this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            }
            catch (Exception Ex)
            {

                throw Ex;
            }

            _displayInfo = null;
        }
コード例 #26
0
ファイル: LoginForm.cs プロジェクト: Klutzdon/SIOTS_HHZX
        public LoginForm()
        {
            InitializeComponent();
            this._loginForm = MasterBLLFactory.GetBLL<ILoginFormBL>(MasterBLLFactory.LoginForm);
            this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

            this.txtUserName.Text = System.Configuration.ConfigurationManager.AppSettings["LastLoginName"];

            CheckFocus();

#if M_DEBUG

            //txtUserName.Text = "sa";
            //txtPwd.Text = DateTime.Now.ToString("yyyy,MM,dd");

            //txtUserName.Text = "donaldhuang";
            //txtPwd.Text = "!!!aaa111";

            
#endif
           
        }
コード例 #27
0
        public frmUserCardMatch()
            : base()
        {
            InitializeComponent();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster);
            this._IUserCardPairBL = MasterBLLFactory.GetBLL<IUserCardPairBL>(MasterBLLFactory.UserCardPair);
            this._IConsumeCardMasterBL = MasterBLLFactory.GetBLL<IConsumeCardMasterBL>(MasterBLLFactory.ConsumeCardMaster);
            this._IRechargeRecordBL = MasterBLLFactory.GetBLL<IRechargeRecordBL>(MasterBLLFactory.RechargeRecord);
            this._ICodeMasterBL = sysFac.MasterBLLFactory.GetBLL<sysBL.ICodeMasterBL>(sysFac.MasterBLLFactory.CodeMaster_cmt);
            this._ICardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount);
            this._IPreRechargeRecordBL = MasterBLLFactory.GetBLL<IPreRechargeRecordBL>(MasterBLLFactory.PreRechargeRecord);
            this._IPreConsumeRecordBL = MasterBLLFactory.GetBLL<IPreConsumeRecordBL>(MasterBLLFactory.PreConsumeRecord);

            labConnDetail.Click += new EventHandler(base.labReaderState_Click);

            this._tmrMatchCard = new Timer();
            this._tmrMatchCard.Interval = 1200;
            this._tmrMatchCard.Tick += new EventHandler(_tmrMatchCard_Tick);

            this._IsReadingNew = true;
        }
コード例 #28
0
            public void GetSources()
            {
                this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

                //  this.sty_iShiftTypeID.SetDataSource(this._generalBL.GetMasterDataInformations(Common.DefineConstantValue.MasterType.ShiftTypeMaster));
            }
コード例 #29
0
        public dlgBatchRechargeExport()
        {
            InitializeComponent();

            this._IGeneralBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
        }