예제 #1
0
        /// <summary>
        /// Sets the clock frame.
        /// </summary>
        /// <param name="frame">The frame.</param>
        public void SetClockFrame(ClockFrames frame = ClockFrames.RectangularFrame)
        {
            if (Enum.IsDefined(typeof(ClockFrames), frame))
            {
                try
                {
                    if (ShowClockFrame == false)
                    {
                        ShowClockFrame = true;
                    }

                    ClockFrame = frame;
                }
                catch (Exception ex)
                {
                    Fail(ex);
                }
            }
        }
예제 #2
0
 /// <summary>
 /// Sets the clock frame.
 /// </summary>
 /// <param name="frame">The frame.</param>
 public void SetClockFrame(ClockFrames frame = ClockFrames.RectangularFrame)
 {
     Clock.SetClockFrame(frame);
 }