Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
RegistrationDialog.xaml.cs
1using System;
2using System.Collections.Generic;
3using System.IO;
4using System.Linq;
5using System.Runtime.InteropServices.WindowsRuntime;
6using Windows.Foundation;
7using Windows.Foundation.Collections;
8using Windows.UI.Xaml;
9using Windows.UI.Xaml.Controls;
10using Windows.UI.Xaml.Controls.Primitives;
11using Windows.UI.Xaml.Data;
12using Windows.UI.Xaml.Input;
13using Windows.UI.Xaml.Media;
14using Windows.UI.Xaml.Navigation;
15
16// The Content Dialog item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
17
19{
20 public sealed partial class RegistrationDialog : ContentDialog
21 {
22 public string Reg_Name = string.Empty;
23 public string Reg_Room = string.Empty;
24 public string Reg_Apartment = string.Empty;
25 public string Reg_Building = string.Empty;
26 public string Reg_Street = string.Empty;
27 public string Reg_StreetNr = string.Empty;
28 public string Reg_Area = string.Empty;
29 public string Reg_City = string.Empty;
30 public string Reg_Region = string.Empty;
31 public string Reg_Country = string.Empty;
32
33 public RegistrationDialog()
34 {
35 this.InitializeComponent();
36 }
37
38 private void ContentDialog_ConnectButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
39 {
40 this.Reg_Name = this.NameInput.Text;
41 this.Reg_Room = this.RoomInput.Text;
42 this.Reg_Apartment = this.ApartmentInput.Text;
43 this.Reg_Building = this.BuildingInput.Text;
44 this.Reg_Street = this.StreetInput.Text;
45 this.Reg_StreetNr = this.StreetNrInput.Text;
46 this.Reg_Area = this.AreaInput.Text;
47 this.Reg_City = this.CityInput.Text;
48 this.Reg_Region = this.RegionInput.Text;
49 this.Reg_Country = this.CountryInput.Text;
50 }
51
52 private void ContentDialog_CancelButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args)
53 {
54 }
55 }
56}