Exemplo n.º 1
0
        public bool OnSFMImport(object parameters)
        {
            Form      formActive   = ActiveForm;
            FwXWindow wndActive    = formActive as FwXWindow;
            var       importWizard = new LexImportWizard();

            ((IFwExtension)importWizard).Init(Cache, wndActive.Mediator);
            importWizard.ShowDialog(formActive);
            return(true);
        }
Exemplo n.º 2
0
        public bool OnSFMImport(object parameters)
        {
            Form      formActive = ActiveForm;
            FwXWindow wndActive  = (FwXWindow)formActive;

            using (var importWizard = new LexImportWizard())
            {
                ((IFwExtension)importWizard).Init(Cache, wndActive.Mediator, wndActive.PropTable);
                importWizard.ShowDialog(formActive);
            }
            return(true);
        }