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); }
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); }