/// <summary> /// Provides a deterministic way to create the Main property. /// </summary> public static void ClockAdd() { if (_clockAddViewModel == null) { _clockAddViewModel = new ClockAddViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the Main property. /// </summary> public static void ClearClockAdd() { _clockAddViewModel.Cleanup(); _clockAddViewModel = null; }