private DevicesView CreateDevicesView() { IDevicesModel model = new DevicesModel(); IDevicesView view = new DevicesView(); IDevicesPresenter presenter = SimpleResolver.Instance.Get <IDevicesPresenter>( new object[] { model, view } ); view.ShowView(); return(view as DevicesView); }
private DevicesView CreateDevicesView() { IDevicesModel model = new DevicesModel(); IDevicesView view = new DevicesView(); IDevicesPresenter presenter = SimpleResolver.Instance.Get<IDevicesPresenter>( new object[] { model, view } ); view.ShowView(); return view as DevicesView; }