Example #1
0
 public MainView()
 {
     model = new RBACManagerModel(Application.StartupPath + @"\settings.ini");
     InitializeComponent();
     this.Text = RBACManagerModel.GetApplicationTitle();
 }
Example #2
0
 public RoleView(RBACManagerModel model)
 {
     roleModel = new RoleModel(model.GetMysqlConnection());
     InitializeComponent();
 }
 public SettingsView(RBACManagerModel model)
 {
     this.model = model;
     InitializeComponent();
 }
 public AccountView(RBACManagerModel model)
 {
     this.model = model;
     InitializeComponent();
 }
 public SecurityLevelsView(RBACManagerModel model)
 {
     this.model = model;
     InitializeComponent();
 }