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