Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Castle.Igloo / Igloo.Clinic.Web / Views / Register.aspx.cs
blobfee76c79d4b77d6be504fab364cea079c9d07999
1 using System;
2 using Igloo.Clinic.Application;
3 using Castle.Igloo.UI.Web;
5 namespace Igloo.Clinic.Web.Views
7 public partial class Register : Page
9 private LoginController _loginController = null;
11 public LoginController LoginController
13 set { _loginController = value; }
16 protected void Page_Load(object sender, EventArgs e)
21 protected void ButtonRegister_Click(object sender, EventArgs e)
23 if (!_loginController.Register(TextBoxName.Text,
24 TextBoxLogin.Text,
25 TextBoxPassword.Text))
27 LiteralMessage.Text = FlashMessages["ALREADY"];