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); }
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(); }