Пример #1
0
 private void item_AccountPrivilegesChanged(AccountPrivilege item) {
     InvokeOnAllLoaded("OnAccountPrivilegesUpdate", item.Owner.Name, item.Privileges);
 }
Пример #2
0
        private void AccountPrivileges_AccountPrivilegeAdded(AccountPrivilege item) {
            item.AccountPrivilegesChanged += new AccountPrivilege.AccountPrivilegesChangedHandler(item_AccountPrivilegesChanged);

            InvokeOnAllLoaded("OnAccountCreated", item.Owner.Name);
        }
Пример #3
0
        private void AccountPrivileges_AccountPrivilegeRemoved(AccountPrivilege item) {
            InvokeOnAllLoaded("OnAccountDeleted", item.Owner.Name);

            item.AccountPrivilegesChanged -= new AccountPrivilege.AccountPrivilegesChangedHandler(item_AccountPrivilegesChanged);
        }
Пример #4
0
 private void item_AccountPrivilegesChanged(AccountPrivilege item) {
     SaveConnectionConfig();
 }
Пример #5
0
        private void AccountPrivileges_AccountPrivilegeAdded(AccountPrivilege item) {
            item.AccountPrivilegesChanged += new AccountPrivilege.AccountPrivilegesChangedHandler(item_AccountPrivilegesChanged);

            SaveConnectionConfig();
        }
Пример #6
0
        void uscAccountsPanel_AccountPrivilegesChanged(AccountPrivilege item) {

            if (this.lsvLayerAccounts.Items.ContainsKey(item.Owner.Name) == true) {
                ListViewItem lviAccount = this.lsvLayerAccounts.Items[item.Owner.Name];

                lviAccount.SubItems["rconaccess"].Tag = item.Privileges;

                this.RefreshLayerPrivilegesPanel();
            }
        }