public static ViewPageVM GetInstance()
 {
     if (instance == null)
     {
         instance = new ViewPageVM();
         return(instance);
     }
     return(instance);
 }
Exemple #2
0
 private void InitializeVariables()
 {
     OpenImagesEnabled     = true;
     viewPageVM            = ViewPageVM.GetInstance();
     editPageVM            = EditPageVM.GetInstance();
     MarkerType            = UserData.MARKER_TYPE_MASK;
     viewPageVM.MarkerType = MarkerType;
     editPageVM.MarkerType = MarkerType;
 }