Exemple #1
0
 public Permissions(MySQLDriver driver)
 {
     _SQL = driver;
     _groups = new Groups(_SQL);
     _formNames = new FormNames(_SQL);
     _actionNames = new ActionNames(_SQL);
 }
Exemple #2
0
        public SettingsForm()
        {
            InitializeComponent();

            Conn = Authorization.login(AppSettings.Nick, AppSettings.Password);
            SQL = new MySQLDriver(Conn);
            Auth = new Authorization(SQL);
            Groups = new Groups(SQL);
            Permissions = new Permissions(SQL);
            FormNames = new FormNames(SQL);
            ActionNames = new ActionNames(SQL);
            Users = new Users(SQL);

            refreshTab("tabPage1");
            refreshTab("tabPage2");
            refreshTab("tabPage3");
        }