Example #1
0
        public static void Pause_ImageEllipseLabel(out System.Windows.Threading.DispatcherTimer _T, Label _CI)
        {
            _T = new System.Windows.Threading.DispatcherTimer {
                Interval = TimeSpan.FromSeconds(2)
            };

            if (WorkShopAction.CheckEllipseLabel_Turn(_CI))
            {
                WorkShopAction.Pause_ForCreate(_T: _T, () => WorkShopAction.EllipseLABEL_TurnOn(_ChangeImageEllipse: _CI));
            }
            else
            {
                WorkShopAction.EllipseLABEL_TurnOff(_ChangeImageEllipse: _CI, _Timer: _T);
            }
        }