//============================================================================
        //! チーム+トーナメント画像出力
        private string _CreateConnectScreenShot()
        {
            _ClearLeafFilter();
            string file_Path = SystemUtility.GetRootPath() + @"ScreenShot\" + BattleOperatorManager.GetInstance().GetBattleName() + ".png";

            //一旦親から切り離す
            var stock_Brush = Background;
            var parent      = (Panel)Parent;


            parent.Children.Remove(this);

            try
            {
                Background = new SolidColorBrush(Colors.Black);
                BattleOperatorManager.GetInstance().CreateMemberScreenShot(file_Path, this);
                parent.Children.Add(this);
                Background = stock_Brush;
            }
            catch (System.Exception iException)
            {
                if (Parent == null)
                {
                    parent.Children.Add(this);
                }

                Background = stock_Brush;
                System.Media.SystemSounds.Hand.Play();
                MessageBox.Show(string.Format("スクリーンショットの出力に失敗しました\n\n{0}", iException.Message), "エラー", MessageBoxButton.OK, MessageBoxImage.Error);
                file_Path = "";
            }

            return(file_Path);
        }
        //============================================================================
        //! チームメンバー一覧画像出力
        private void _ClickTeamOutputItem(object iSender, RoutedEventArgs iArgs)
        {
            string file_Path = SystemUtility.GetRootPath() + @"ScreenShot\" + BattleManager.GetInstance().GetBattleOperator().GetBattleName() + "(チーム).png";

            if (TeamSelectControl.OutputTeamImageFile(file_Path))
            {
                System.Media.SystemSounds.Asterisk.Play();
                MessageBox.Show("以下にスクリーンショットを出力しました\n\n" + file_Path, "確認", MessageBoxButton.OK, MessageBoxImage.Information);
            }
            else
            {
                System.Media.SystemSounds.Hand.Play();
                MessageBox.Show("スクリーンショットの出力に失敗しました", "エラー", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }
        //============================================================================
        //! 参加メンバー一覧画像出力
        private string _CreateJoinMemberScreenShot()
        {
            string file_Path = SystemUtility.GetRootPath() + @"ScreenShot\" + BattleOperatorManager.GetInstance().GetBattleName() + "(参加者).png";

            try
            {
                BattleOperatorManager.GetInstance().CreateMemberScreenShot(file_Path);
            }
            catch (System.Exception iException)
            {
                System.Media.SystemSounds.Hand.Play();
                MessageBox.Show(string.Format("スクリーンショットの出力に失敗しました\n\n{0}", iException.Message), "エラー", MessageBoxButton.OK, MessageBoxImage.Error);
                file_Path = "";
            }
            return(file_Path);
        }
        //============================================================================
        //! トーナメント画像出力
        private void _ClickTournamentOutputItem(object iSender, RoutedEventArgs iArgs)
        {
            var stack_Group = ScaleGrid.LayoutTransform;
            var visible     = ContentScrollViewer.VerticalScrollBarVisibility;

            try
            {
                string file_Path = SystemUtility.GetRootPath() + @"ScreenShot\" + BattleManager.GetInstance().GetBattleOperator().GetBattleName() + "(トーナメント).png";
                foreach (var iControl in mTournamentGroupControlList)
                {
                    iControl.ClearSelectTeam();
                }

                var group = new TransformGroup();
                group.Children.Add(new ScaleTransform(1, 1));
                ScaleGrid.LayoutTransform = group;
                ContentScrollViewer.VerticalScrollBarVisibility   = ScrollBarVisibility.Hidden;
                ContentScrollViewer.HorizontalScrollBarVisibility = ScrollBarVisibility.Hidden;
                ContentGrid.UpdateLayout();

                SystemUtility.OutputCaptureControl(file_Path, ScaleGrid);

                ScaleGrid.LayoutTransform = stack_Group;
                ContentScrollViewer.VerticalScrollBarVisibility   = visible;
                ContentScrollViewer.HorizontalScrollBarVisibility = visible;
                ScaleGrid.UpdateLayout();
                System.Media.SystemSounds.Asterisk.Play();
                MessageBox.Show("以下にスクリーンショットを出力しました\n\n" + file_Path, "確認", MessageBoxButton.OK, MessageBoxImage.Information);
            }
            catch (System.Exception)
            {
                ScaleGrid.LayoutTransform = stack_Group;
                ContentScrollViewer.VerticalScrollBarVisibility   = visible;
                ContentScrollViewer.HorizontalScrollBarVisibility = visible;
                ScaleGrid.UpdateLayout();
                System.Media.SystemSounds.Hand.Play();
                MessageBox.Show("スクリーンショットの出力に失敗しました", "エラー", MessageBoxButton.OK, MessageBoxImage.Error);
            }
        }
        //============================================================================
        //! トーナメント画像出力
        private string _CreateTournamentScreenShot()
        {
            _ClearLeafFilter();

            string file_Path   = SystemUtility.GetRootPath() + @"ScreenShot\" + BattleOperatorManager.GetInstance().GetBattleName() + "(トーナメント).png";
            var    stock_Brush = Background;

            try
            {
                Background = new SolidColorBrush(Colors.Black);
                UpdateLayout();
                SystemUtility.OutputCaptureControl(file_Path, this);
                Background = stock_Brush;
            }
            catch (System.Exception iException)
            {
                Background = stock_Brush;
                System.Media.SystemSounds.Hand.Play();
                MessageBox.Show(string.Format("スクリーンショットの出力に失敗しました\n\n{0}", iException.Message), "エラー", MessageBoxButton.OK, MessageBoxImage.Error);
                file_Path = "";
            }

            return(file_Path);
        }
        //============================================================================
        //! スクリーンショットフォルダを開く
        private void _OpenScreenShotFolder(object iSender, RoutedEventArgs iArgs)
        {
            var directory_Path = SystemUtility.GetRootPath() + @"ScreenShot\";

            System.Diagnostics.Process.Start(directory_Path);
        }