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