IO-2217 Partner changes for generating part price changes.
This commit is contained in:
@@ -184,7 +184,21 @@ namespace RomeOnlinePartner.ViewModels
|
||||
return _browseForEmsFolderCommand;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _browseForPpcFolderCommand;
|
||||
public ICommand BrowseForPpcFolderCommand
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_browseForPpcFolderCommand == null)
|
||||
{
|
||||
_browseForPpcFolderCommand = new RelayCommand(
|
||||
p => true,
|
||||
p => BrowseForPpcFolder()
|
||||
);
|
||||
}
|
||||
return _browseForPpcFolderCommand;
|
||||
}
|
||||
}
|
||||
|
||||
private ICommand _browseForPaintScalePathCommand;
|
||||
public ICommand BrowseForPaintScalePathCommand
|
||||
|
||||
@@ -242,8 +242,16 @@ namespace RomeOnlinePartner.ViewModels
|
||||
Properties.Settings.Default.EmsExportPath = dialog.SelectedPath;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
public void BrowseForPpcFolder()
|
||||
{
|
||||
var dialog = new Ookii.Dialogs.Wpf.VistaFolderBrowserDialog();
|
||||
dialog.SelectedPath = Properties.Settings.Default.PpcExportPath;
|
||||
if (dialog.ShowDialog().GetValueOrDefault())
|
||||
{
|
||||
Properties.Settings.Default.PpcExportPath = dialog.SelectedPath;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
}
|
||||
|
||||
public void BrowseForPaintScalePath()
|
||||
|
||||
Reference in New Issue
Block a user