예제 #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);
        }
예제 #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);
        }