Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SendRoomInvitationForm.xaml.cs
1using System;
2using System.Windows;
4
6{
10 public partial class SendRoomInvitationForm : Window
11 {
13 {
15 }
16
17 private void CancelButton_Click(object Sender, RoutedEventArgs e)
18 {
19 this.DialogResult = false;
20 }
21
22 private void SendButton_Click(object Sender, RoutedEventArgs e)
23 {
24 this.DialogResult = true;
25 }
26
27 private void BareJid_TextChanged(object Sender, System.Windows.Controls.TextChangedEventArgs e)
28 {
29 this.SendButton.IsEnabled = !string.IsNullOrEmpty(this.BareJid.Text) &&
30 XmppClient.BareJidRegEx.IsMatch(this.BareJid.Text);
31 }
32 }
33}
Interaction logic for SendRoomInvitationForm.xaml
Manages an XMPP client connection. Implements XMPP, as defined in https://tools.ietf....
Definition: XmppClient.cs:59
static readonly Regex BareJidRegEx
Regular expression for Bare JIDs
Definition: XmppClient.cs:188