Пример #1
0
 private void Window_Closed(object sender, EventArgs e)
 {
     if (DialogResult == true)
     {
         ServerHost.GetBindingExpression(TextBox.TextProperty).UpdateSource();
         QrServerAeTitle.GetBindingExpression(TextBox.TextProperty).UpdateSource();
         QrServerPort.GetBindingExpression(IntegerUpDown.ValueProperty).UpdateSource();
         StoreServerAeTitle.GetBindingExpression(TextBox.TextProperty).UpdateSource();
         StoreServerPort.GetBindingExpression(IntegerUpDown.ValueProperty).UpdateSource();
         ClientAeTitle.GetBindingExpression(TextBox.TextProperty).UpdateSource();
         ClientPort.GetBindingExpression(IntegerUpDown.ValueProperty).UpdateSource();
     }
 }