Exemplo n.º 1
0
        // Submit a new query
        private void SubmitQuery(jabber.JID jid, string node, bool refresh)
        {
            IdentityNameLabel.Text         = string.Empty;
            IdentityAddressLabel.Text      = string.Empty;
            IdentityCategoryTypeLabel.Text = string.Empty;

            Label4.Visible       = false;
            ActionButton.Visible = false;
            StopButton.Enabled   = true;
            Spinner.Visible      = true;
            ErrorPicture.Visible = false;
            got_one_response     = false;
            was_stopped          = false;

            ServiceListView.Items.Clear();

            AddressTextBox.SelectAll();

            current_jid  = jid;
            current_node = node;

            XmppGlobal.Disco.DiscoInfoQuery(jid, node, refresh, new QueryCallback(GotInfoQuery), null);
            XmppGlobal.Disco.DiscoItemsQuery(jid, node, refresh, new QueryCallback(GotItemsQuery), null);
        }
Exemplo n.º 2
0
 private void AddressTextBox_GotFocus(object sender, RoutedEventArgs e)
 {
     AddressTextBox.SelectAll();
     ErrorAddressTextBlock.Visibility = Visibility.Collapsed;
     //SetTextBlockVisibilityCollapsed();
 }
Exemplo n.º 3
0
 // When the AddressTextBox gets focus, select everything in it for easy delete
 private void AddressTextBox_GotFocus(object sender, EventArgs e)
 {
     AddressTextBox.SelectAll();
 }
Exemplo n.º 4
0
 private void StreetTextBox_Click(object sender, EventArgs e)
 {
     AddressTextBox.SelectAll();
 }