示例#1
0
 public FormAdmin(DomainController domainController, FormMain fm)
 {
     this._DomainController = domainController;
     this._MainUI           = fm;
     InitializeComponent();
     UpdateList();
 }
示例#2
0
 public FormManageTypes(DomainController dc, int userID, IMainUI formMain)
 {
     InitializeComponent();
     this.dc       = dc;
     this.UserID   = userID;
     this.formMain = formMain;
     PopulateListBoxs();
 }
示例#3
0
 public FormMain(int userID, DomainController domainController)
 {
     this._DomainController = domainController;
     this.UserID            = userID;
     InitializeComponent();
     InitializeUI();
     lblUsername.Text = DBMethods.GetUser(userID).UserName;
 }
示例#4
0
 public FormManageTypesCorporate(DomainController dc, int userID, FormMainCorporate fm)
 {
     InitializeComponent();
     this.dc     = dc;
     this.UserID = userID;
     this.fm     = fm;
     UpdateCategoryListBoxs();
     listExpenseCategories2.SelectedIndex = -1;
 }
 public FormMainCorporate(int userID, DomainController domainController)
 {
     this._DomainController = domainController;
     this.UserID            = userID;
     InitializeComponent();
     InitializeUI();
     lblUsername.Text = DBMethods.GetUser(userID).UserName;
     listBoxEmployees.SelectedIndex = -1;
 }
 public FormCreateAccount(DomainController domainController)
 {
     this._DomainController = domainController;
     InitializeComponent();
 }
示例#7
0
 public FormLogin(DomainController domainController)
 {
     this._DomainController = domainController;
     InitializeComponent();
 }