Пример #1
0
        void AccountCreationCallbackEx(NewAccount.AccountCreationResult result, string username, string nickname)
        {
            if (result == NewAccount.AccountCreationResult.Cancel)
            {
                return;
            }

            CurrentAccount.SetNickname(nickname);
            UpdateAccountContextInfo();
            UpdateAccountPanels();
        }
Пример #2
0
        void AccountCreationCallback(NewAccount.AccountCreationResult result, string username, string nickname)
        {
            if (result == NewAccount.AccountCreationResult.Cancel)
            {
                return;
            }

            m_Accounts.Add(Account.Create(username, nickname));
            UpdateAccountPanels();
            UpdateProjectButtons();
        }