private ContentEx createEconomicalContent(string name) { ContentEx c = new EconomicalContentImpl2( getMainManager(), name, -1, new EconomicalContentImpl2.WindowCreator(createControl)); getMainManager().Contents.Add(c); return(c); }
private ContentEx createEconomicalContent(string name) { ContentEx c = new EconomicalContentImpl2( MainWindow.mainWindow.dockingManager, name, -1, new EconomicalContentImpl2.WindowCreator(createControl)); MainWindow.mainWindow.dockingManager.Contents.Add(c); return(c); }