/// <summary>
        /// Removes given MainWindow out off structer manager.
        /// </summary>
        static internal List <IMainWindow_Children> Remove_MainWindow(IMainWindow mainWindow)
        {
            MainWindow_Children_List MainWindow_Children_List = Get_MainWindow_Children_List(mainWindow);

            List <IMainWindow_Children> Children_List = MainWindow_Children_List.This_Children_List;

            MainWindows_List.Remove(MainWindow_Children_List);

            return(Children_List);
        }
Example #2
0
        /// <summary>
        /// Checks does given MainWindow has any children Windows.
        /// </summary>
        static internal bool Is_Children_Windows(IMainWindow mainWindow)
        {
            MainWindow_Children_List mainWindow_Children_List = Get_MainWindow_Children_List(mainWindow);

            return(mainWindow_Children_List.This_Children_List.Count == 0);
        }