AGENT.Contrib.Face.WatchFace.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
        public void Start()
        {
            if (Face == null) throw new ArgumentNullException("Face cannot be null");

            // Included font is used in the clock

            //Start timer for screen refresh 
            SetTimerFrequency(Face.UpdateSpeed);            
            
            Thread.Sleep(Timeout.Infinite);
        }
  

Usage Example

Example #1
0
 public static void Main()
 {
     ButtonHelper.ButtonSetup = new Buttons[]{ Buttons.TopRight, Buttons.BottomRight, Buttons.MiddleRight };
     ButtonHelper.Current.OnButtonPress += Current_OnButtonPress;
     watch = new WatchFace(face);
     watch.Start();
 }
All Usage Examples Of AGENT.Contrib.Face.WatchFace::Start