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