summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina.Web.UI/Login.aspx.cs
diff options
context:
space:
mode:
authormokhan <mokhan@da190166-9cfc-4ee1-ae03-434a172be219>2009-02-21 21:44:27 +0000
committermokhan <mokhan@da190166-9cfc-4ee1-ae03-434a172be219>2009-02-21 21:44:27 +0000
commit1dfdccb8118aeaa3cd844ac8de2a672c93312166 (patch)
tree4b19e7f816ab1019f180a46b68572af4b66fe4bc /slips/src/app/Marina.Web.UI/Login.aspx.cs
parent42d66bcab8262c7b8b2452615df535e694a3ec1c (diff)
git-svn-id: http://svn.xp-dev.com/svn/mokhan-sait@2 da190166-9cfc-4ee1-ae03-434a172be219
Diffstat (limited to 'slips/src/app/Marina.Web.UI/Login.aspx.cs')
-rw-r--r--slips/src/app/Marina.Web.UI/Login.aspx.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/slips/src/app/Marina.Web.UI/Login.aspx.cs b/slips/src/app/Marina.Web.UI/Login.aspx.cs
new file mode 100644
index 0000000..2ddd0e2
--- /dev/null
+++ b/slips/src/app/Marina.Web.UI/Login.aspx.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Web.UI;
+using Marina.Presentation.DTO;
+using Marina.Presentation.Presenters;
+using Marina.Presentation.Views;
+
+namespace Marina.Web.UI {
+ public partial class Login : Page, ILoginView {
+ protected void Page_Load( object sender, EventArgs e ) {
+ ILoginPresenter presenter = new LoginPresenter( this );
+ uxLoginButton.Click += delegate { presenter.Login( ); };
+ }
+
+ public void Display( DisplayResponseLineDTO responseMessage ) {
+ IList< DisplayResponseLineDTO > messages = new List< DisplayResponseLineDTO >( );
+ messages.Add( responseMessage );
+ uxResponseMessagesRepeater.DataSource = messages;
+ uxResponseMessagesRepeater.DataBind( );
+ }
+ }
+} \ No newline at end of file