コード例 #1
0
        public frmState(State state)
        {
            InitializeComponent();

            _Service = new HRComponentService();

            CurrentState = state;
        }
コード例 #2
0
ファイル: frmLga.cs プロジェクト: xumenz/dahp
        public frmLga(State _state)
        {
            if (_state == null)
            {
                throw new InvalidOperationException("A valid State information is required");
            }

            CurrentState = _state;

            InitializeComponent();
            _Service = new HRComponentService();

            lblStateInfo.Text = CurrentState.StateName;
        }
コード例 #3
0
        public frmState()
        {
            InitializeComponent();

            _Service = new HRComponentService();
        }