public void Attach(IServiceContainer services) { this.interactor = new MainFormInteractor(services); this.dm = new DecompilerMenus(interactor); this.uiSvc = new DecompilerShellUiService(this, dm, this.OpenFileDialog, this.SaveFileDialog, services); services.AddService(typeof(IDecompilerShellUiService), this.uiSvc); }
public void Setup() { form = new Form(); form.IsMdiContainer = true; sc = new ServiceContainer(); mainForm = new MainForm(); svc = new DecompilerShellUiService(mainForm, null, null, null, sc); }