Пример #1
0
        /// <summary>
        /// Сервис
        /// </summary>
        #region service

        public string ChangeXslt()
        {
            if (currentXslt == tg_builder)
            {
                currentXslt = serna;
            }
            else
            {
                currentXslt = tg_builder;
            }
            return(currentXslt.Name);
        }
Пример #2
0
        public MainWindowModel()
        {
            browserPage = new Views.BrowserPage()
            {
                DataContext = BrowserViewModel,
            };

            RenderPage = browserPage;

            tablePage = new Views.TablePage()
            {
                DataContext = TableViewModel,
            };
            TableViewModel.model = tableModel;

            currentXslt = serna;
        }