Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
DestroyRoomForm.xaml.cs
1using System;
2using System.Windows;
4
6{
10 public partial class DestroyRoomForm : Window
11 {
12 public DestroyRoomForm(string RoomName)
13 {
15
16 this.RoomName.Text = RoomName;
17 }
18
19 private void CancelButton_Click(object Sender, RoutedEventArgs e)
20 {
21 this.DialogResult = false;
22 }
23
24 private void YesButton_Click(object Sender, RoutedEventArgs e)
25 {
26 this.DialogResult = true;
27 }
28
29 private void AlternativeRoomJid_TextChanged(object Sender, System.Windows.Controls.TextChangedEventArgs e)
30 {
31 this.YesButton.IsEnabled = string.IsNullOrEmpty(this.AlternativeRoomJid.Text) ||
32 XmppClient.BareJidRegEx.IsMatch(this.AlternativeRoomJid.Text);
33 }
34 }
35}
Interaction logic for DestroyRoomForm.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