blob: c5ead9bce070778f23281eaa6ec3342fc2fe79e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using System.Web.UI;
using Marina.Presentation.DTO;
using Marina.Presentation.Presenters;
using Marina.Presentation.Views;
namespace Marina.Web.UI {
public partial class LeaseSlip : Page, ILeaseSlipView {
protected void Page_Load( object sender, EventArgs e ) {
ILeaseSlipPresenter presenter = new LeaseSlipPresenter( this );
presenter.Initialize( );
uxSubmitButton.Click += delegate { presenter.SubmitLeaseRequest( ); };
}
public SlipDisplayDTO Slip;
public string ResponseMessage;
public void Display( SlipDisplayDTO slip ) {
Slip = slip;
}
public void Display( DisplayResponseLineDTO response ) {
ResponseMessage = response.Message;
}
}
}
|