private void but_ok_Click(object sender, RoutedEventArgs e) { ConfigJson.SetNamespace(text_namespace.Text); SystemError.Information("配置成功"); this.DialogResult = true; }