Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Castle.Igloo / Igloo.Clinic.Web / Views / Login.aspx.cs
blob4d37a61f14e027a8ff5c2a0eedb9f72bce38c333
1 using System;
2 using Igloo.Clinic.Application;
3 using Castle.Igloo.UI.Web;
6 namespace Igloo.Clinic.Web.Views
8 public partial class Login : Page
10 private LoginController _loginController = null;
12 public LoginController LoginController
14 set { _loginController = value; }
17 protected void Page_Load(object sender, EventArgs e)
20 protected void ButtonLogin_Click(object sender, EventArgs e)
22 if (!_loginController.Validate(TextBoxLogin.Text, TextBoxPassword.Text))
24 LiteralMessage.Text = FlashMessages["unknown"];