Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ChangeSubjectForm.xaml.cs
1using System;
2using System.Windows;
3
5{
9 public partial class ChangeSubjectForm : Window
10 {
11 public ChangeSubjectForm()
12 {
14 }
15
16 private void CancelButton_Click(object Sender, RoutedEventArgs e)
17 {
18 this.DialogResult = false;
19 }
20
21 private void ApplyButton_Click(object Sender, RoutedEventArgs e)
22 {
23 this.DialogResult = true;
24 }
25
26 private void Subject_TextChanged(object Sender, System.Windows.Controls.TextChangedEventArgs e)
27 {
28 this.ApplyButton.IsEnabled = !string.IsNullOrEmpty(this.Subject.Text.Trim());
29 }
30 }
31}
Interaction logic for ChangeSubjectForm.xaml