예제 #1
0
        public void DoucleClickedItem(UserAccountViewModel userAccount)
        {
            if (userAccount.IsCurrentAccount)
            {
                return;
            }

            CredentialsStore.Default.UpdateCurrentAccount(userAccount.UserAccount);
            _owner.Close();
        }
예제 #2
0
        public void DoucleClickedItem(UserAccountViewModel userAccount)
        {
            ExtensionAnalytics.ReportCommand(CommandName.DoubleClickedAccountCommand, CommandInvocationSource.ListItem);

            if (userAccount.IsCurrentAccount)
            {
                return;
            }

            CredentialsStore.Default.CurrentAccount = userAccount.UserAccount;
            _owner.Close();
        }
        public void DoucleClickedItem(UserAccountViewModel userAccount)
        {
            if (userAccount.IsCurrentAccount)
            {
                return;
            }

            CredentialsStore.Default.CurrentAccount = userAccount.UserAccount;
            _owner.Close();
        }