public frmState(State state) { InitializeComponent(); _Service = new HRComponentService(); CurrentState = state; }
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; }
public frmState() { InitializeComponent(); _Service = new HRComponentService(); }