ShowView() public method

public ShowView ( ) : void
return void
        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);
        }
Ejemplo n.º 2
0
 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;
 }