示例#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;
 }