public SurfaceWindow1() { InitializeComponent(); // Add handlers for window availability events AddWindowAvailabilityHandlers(); LibStack = new LibraryStack1(this); LibBar = new LibraryBar1(this); LibCont = new LibraryContainer1(this); // AddLibraryItems(); AddLibBar(); AddLibraryStack(); AddLibContainer(); }