private void Redo_CanExecute(object sender, CanExecuteRoutedEventArgs e)
        {
            ATabItem tab = (ATabItem)MyTabs.SelectedItem;

            if (tab.TabName == "Design")
            {
                DesignWindow.Redo_CanExecute(sender, e);
            }
            else if (tab.TabName == "Panels")
            {
                LayoutWindow.LayoutControl.Redo_CanExecute(sender, e);
            }
        }
        private void saveClick(object sender, RoutedEventArgs e)
        {
            ATabItem tab = (ATabItem)MyTabs.SelectedItem;

            if (tab.TabName == "Design")
            {
                DesignWindow.saveClick(sender, e);
            }
            else if (tab.TabName == "Panels")
            {
                LayoutWindow.saveClick(sender, e);
            }
        }