public UserForm(User user) { awardsBL = new AwardsBL(); awardingUsersBL = new AwardingUsersBL(); InitializeComponent(); this.currentUser = user; LoadUserData(); }
public MainForm() { userService = new UsersBL(new UserModel()); awardService = new AwardsBL(); awardingService = new AwardingUsersBL(); InitializeComponent(); ctlUsers.AutoGenerateColumns = false; }
public UserForm() { awardsBL = new AwardsBL(); awardingUsersBL = new AwardingUsersBL(); InitializeComponent(); cbBoxAwards.Enabled = false; btnAddUserAward.Enabled = false; btnDeleteUserAward.Enabled = false; }