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