-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathRegistrationDialog.xaml.cs
More file actions
43 lines (38 loc) · 1.38 KB
/
RegistrationDialog.xaml.cs
File metadata and controls
43 lines (38 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using Windows.UI.Xaml.Controls;
// The Content Dialog item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
namespace ConcentratorXmpp
{
public sealed partial class RegistrationDialog : ContentDialog
{
public string Reg_Name = string.Empty;
public string Reg_Room = string.Empty;
public string Reg_Apartment = string.Empty;
public string Reg_Building = string.Empty;
public string Reg_Street = string.Empty;
public string Reg_StreetNr = string.Empty;
public string Reg_Area = string.Empty;
public string Reg_City = string.Empty;
public string Reg_Region = string.Empty;
public string Reg_Country = string.Empty;
public RegistrationDialog()
{
this.InitializeComponent();
}
private void ContentDialog_ConnectButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
{
this.Reg_Name = this.NameInput.Text;
this.Reg_Room = this.RoomInput.Text;
this.Reg_Apartment = this.ApartmentInput.Text;
this.Reg_Building = this.BuildingInput.Text;
this.Reg_Street = this.StreetInput.Text;
this.Reg_StreetNr = this.StreetNrInput.Text;
this.Reg_Area = this.AreaInput.Text;
this.Reg_City = this.CityInput.Text;
this.Reg_Region = this.RegionInput.Text;
this.Reg_Country = this.CountryInput.Text;
}
private void ContentDialog_CancelButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
{
}
}
}