Example #1
0
        private void MainUC_Loaded(object sender, RoutedEventArgs e)
        {
            //Дальнейшая инициация приложения
            uiapp = _commandData.Application;
            uidoc = uiapp.ActiveUIDocument;
            doc   = uidoc.Document;

            xmlDocUserInputFilePath = System.IO.Path.Combine(
                Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
                xmlAutoSettingsFileName);

            var oXmlDealer = new XMLDealer();

            oXmlDealer.GetXMLDataToWPF(xmlDocUserInputFilePath, ref txtboxMassFormName);
        }
Example #2
0
        private void Window_Closed(object sender, EventArgs e)
        {
            var xmlDealer = new XMLDealer();

            xmlDealer.SaveUserInputToXML(xmlDocUserInputFilePath, txtboxMassFormName);
        }