Example #1
0
        public static MainWindowViewModel CreateInitView()
        {
            var result = new MainWindowViewModel();

            var tab = new TabContent("Untitled-" + numDocs++, new TextControl());
            tabby = tab;
            result.TabContents.Add(tab);

            return result;
        }
Example #2
0
        public static MainWindowViewModel CreateInitView()
        {
            var result = new MainWindowViewModel();

            var tab = new TabContent("Untitled-" + numDocs++, new TextControl());

            tabby = tab;
            result.TabContents.Add(tab);

            return(result);
        }