public override bool GetOptions(System.Windows.Window parentWindow, ImportWizardContext context) { var frm = new ExcelImporterOptionsWindow(_options); if (frm.ShowDialog().ValueOrFalse()) { _options = new ExcelImporterOptions { Filename = frm.Filename, Worksheet = frm.Worksheet }; return(true); } return(false); }
public override bool GetOptions(System.Windows.Window parentWindow, ImportWizardContext context) { var frm = new ExcelImporterOptionsWindow(_options); if (frm.ShowDialog().ValueOrFalse()) { _options = new ExcelImporterOptions { Filename = frm.Filename, Worksheet = frm.Worksheet }; return true; } return false; }