コード例 #1
0
 private void btnSubmit_Click(object sender, RoutedEventArgs e)
 {
     txtBxDestName.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     txtBxDestDept.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     txtBxSenderName.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     txtBxSenderDept.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     txtBxNotes.GetBindingExpression(TextBox.TextProperty).UpdateSource();
     CreateWindow.Close();
 }
コード例 #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     _context.Close();
 }