public static MainWindowViewModel CreateInitView() { var result = new MainWindowViewModel(); var tab = new TabContent("Untitled-" + numDocs++, new TextControl()); tabby = tab; result.TabContents.Add(tab); return result; }
public static MainWindowViewModel CreateInitView() { var result = new MainWindowViewModel(); var tab = new TabContent("Untitled-" + numDocs++, new TextControl()); tabby = tab; result.TabContents.Add(tab); return(result); }