/// <summary> /// Provides a deterministic way to create the ZoomSliderVMStatic property /// </summary> public static void CreateZoomSliderVM() { if (zoomSliderVM == null) { zoomSliderVM = new ZoomSliderViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the ZoomSliderVMStatic property /// </summary> public static void ClearZoomSliderVM() { zoomSliderVM.Cleanup(); zoomSliderVM = null; }