public override bool GetOptions(System.Windows.Window parentWindow, ImportWizardContext context)
        {
            var frm = new Excel2010ImporterOptionsWindow(_options);

            if (frm.ShowDialog().ValueOrFalse())
            {
                _options = new Excel2010ImporterOptions {
                    Filename = frm.Filename, Worksheet = frm.Worksheet
                };
                return(true);
            }

            return(false);
        }
Exemple #2
0
        public override bool GetOptions(System.Windows.Window parentWindow, ImportWizardContext context)
        {
            var frm = new Excel2010ImporterOptionsWindow(_options);
            if (frm.ShowDialog().ValueOrFalse()) {
                _options = new Excel2010ImporterOptions { Filename = frm.Filename, Worksheet = frm.Worksheet };
                return true;
            }

            return false;
        }