IO-233 2 Way Paint Scale.

This commit is contained in:
Patrick Fic
2022-04-28 09:46:47 -07:00
parent 1a1cc67402
commit 6eff2dbb31
15 changed files with 277 additions and 23 deletions

View File

@@ -67,6 +67,8 @@ namespace BodyshopPartner.ViewModels
MonitoringPaths.CollectionChanged += MonitoringPathsChanged;
Utils.PPGMixData.StartMixTimer();
_callingThread.ReportProgress(30);
_updateCheckTimer.Elapsed += _updateTimer_Elapsed;
@@ -254,9 +256,20 @@ namespace BodyshopPartner.ViewModels
Properties.Settings.Default.PaintScalePath = dialog.SelectedPath;
Properties.Settings.Default.Save();
}
}
public void BrowseForPaintScaleImportPath()
{
var dialog = new Ookii.Dialogs.Wpf.VistaFolderBrowserDialog();
dialog.SelectedPath = Properties.Settings.Default.PaintScaleImportPath;
if (dialog.ShowDialog().GetValueOrDefault())
{
Properties.Settings.Default.PaintScaleImportPath = dialog.SelectedPath;
Properties.Settings.Default.Save();
}
}
public void BrowseForArmsPath()
{
@@ -369,7 +382,7 @@ namespace BodyshopPartner.ViewModels
public async Task TestGql()
{
Utils.SquirrelAwareHelper.CopyScripts();
Utils.PPGMixData.test();
}