Example #1
0
        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>();
        }
 public MaintenancePlanAppSetting()
 {
     InitializeComponent();
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
     init();
     showAdd();
 }
        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 = "无记录";
        }
Example #4
0
 public CodeMasterForm()
 {
     InitializeComponent();
     this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
     this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
     BindCombox(DefineConstantValue.MasterType.CodeMaster_Key1, null);
 }
Example #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);
 }
Example #6
0
        public frmCostBalance()
        {
            InitializeComponent();

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

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

            _iabBL = MasterBLLFactory.GetBLL<IAccoumtBalanceBL>(MasterBLLFactory.AccoumtBalance);
            _igBM = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            _igmBL = MasterBLLFactory.GetBLL<IGradeMasterBL>(MasterBLLFactory.GradeMaster);
        }
        public frmClassMasterDetailNew()
        {
            InitializeComponent();

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

            BindComboData();
        }
Example #9
0
        public frmRemind()
        {
            InitializeComponent();

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

            this._cardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount);
        }
        public frmStudentMasterDetailNew()
        {
            InitializeComponent();

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

            BindComboData();
        }
        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);
        }
Example #12
0
        /// <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>();
        }
Example #13
0
        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);
        }
Example #14
0
 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>();
 }
Example #15
0
 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);
 }
Example #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);
        }
Example #17
0
        public frmCardInfoQuery()
        {
            InitializeComponent();

            _iccmBL = MasterBLLFactory.GetBLL<IConsumeCardMasterBL>(MasterBLLFactory.ConsumeCardMaster);
            _igBM = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            initUserDepartment();
            initUserClass();
            initReader();
            initCardUseState();
        }
Example #18
0
        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;
        }
Example #19
0
        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);
        }
        //(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  <<<
        }
Example #21
0
        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
        }
Example #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);
        }
        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";
            }
        }
Example #24
0
        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);
            }
        }
        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;
        }
Example #26
0
        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
           
        }
Example #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;
        }
            public void GetSources()
            {
                this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);

                //  this.sty_iShiftTypeID.SetDataSource(this._generalBL.GetMasterDataInformations(Common.DefineConstantValue.MasterType.ShiftTypeMaster));
            }
        public dlgBatchRechargeExport()
        {
            InitializeComponent();

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