protected override void Dispose()
        {
            if (categorySubWindow)
            {
                categorySubWindow.Close();
                categorySubWindow = null;
            }

            instance = null;
        }
 public static ToDoListMainWindow Open()
 {
     instance = Open <ToDoListMainWindow>(true, "ToDoLists", true);
     return(instance);
 }