public void ResetNewObjectView() { string xmltoWrite = XmlXpathGenerator.GenerateXmlForObjectView(NewObjectFormViewPanel); if (!String.IsNullOrEmpty(xmltoWrite)) { XmlFileManager.WriteStringToLog(xmltoWrite, true); } NewObjectFormViewPanel.Children.Clear(); NewObjectFormViewPanel.StackPanelLoadedListWrappers.Clear(); XmlOutputBox.Text = XmlXpathGenerator.GenerateXmlViewOutput(NewObjectFormViewPanel); }
private void XmlOutputBoxGotKeyboardFocus_Handler(object sender, KeyboardFocusChangedEventArgs e) { this.XmlOutputBox.Text = XmlXpathGenerator.GenerateXmlViewOutput(NewObjectFormsPanel); }