public static InstallModel GetInstallModel() { if (installModel == null) { installModel = new InstallModel(); } return installModel; }
public PickLocationsViewModel() { NextButtonCommand = new RelayCommand(NextButton); BrowseButtonCommand = new RelayCommand(BrowseButton); model= Factory.GetInstallModel(); }
public InstallViewModel() { model = Factory.GetInstallModel(); SharedHelper.KillProcess("AppLauncher"); DatabaseManager.SetDBLocation(model.Location + "\\AppLauncher\\AppLauncher\\FilesData.sqlite"); }