ReloadAccount() public method

public ReloadAccount ( ) : void
return void
Ejemplo n.º 1
0
        private void AccountCheckBox_Checked(object sender, RoutedEventArgs e)
        {
            if (!broker.fully_loaded)
            {
                return;
            }
            Account account = ((FrameworkElement)e.OriginalSource).DataContext as Account;

            account.ReloadAccount();
        }
Ejemplo n.º 2
0
        private void AccountReconnect_Click(object sender, RoutedEventArgs e)
        {
            Account acct = ((FrameworkElement)e.OriginalSource).DataContext as Account;

            if (acct == null)
            {
                return;
            }
            if (acct.enabled == false)
            {
                acct.enabled = true;
            }
            acct.ReloadAccount();
        }