private void Given_Interactor() { interactor = mr.PartialMock<LowLevelViewInteractor>(); interactor.SetSite(sp); control = (LowLevelView) interactor.CreateControl(); interactor.Program = program; }
public void ShowWindow() { if (mvi == null) { mvi = CreateMemoryViewInteractor(); mvi.SelectionChanged += new EventHandler<SelectionChangedEventArgs>(mvi_SelectionChanged); } ShowWindow(ViewWindowType, "Memory View", mvi); }