Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Attic / MVC / Castle.MVC.Test.Web / Views / index.aspx.cs
blobb03dba26b1818595c4a91938238dfcd0e1ccae22
1 using System;
2 using System.Web.UI.WebControls;
3 using Castle.MVC.Test.Presentation;
4 using Castle.MVC.Views;
6 namespace Castle.MVC.Test.Web.Views
8 /// <summary>
9 /// Description résumée de index.
10 /// </summary>
11 public class index : WebFormView
13 protected TextBox email;
14 protected TextBox passwd;
15 protected Button ButtonLogin;
16 protected LinkButton LinkToPage2;
17 private HomeController _homeController = null;
19 public HomeController HomeController
21 set
23 _homeController = value;
27 private void Page_Load(object sender, EventArgs e)
32 private void ButtonLogin_Click(object sender, System.EventArgs e)
34 this.State["toto"] = "fdfsdfdsf";
35 (this.State as MyApplicationState).SomeSessionString = "SomeSessionString";
36 _homeController.Login("ggg","jjj");
39 private void LinkToPage2_Click(object sender, EventArgs e)
41 this.State["toto"] = "fdfsdfdsf";
42 (this.State as MyApplicationState).SomeSessionString = "SomeSessionString";
43 _homeController.Login("ggg","jjj");
46 #region Code généré par le Concepteur Web Form
47 override protected void OnInit(EventArgs e)
50 // CODEGEN : Cet appel est requis par le Concepteur Web Form ASP.NET.
52 InitializeComponent();
53 base.OnInit(e);
56 /// <summary>
57 /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas
58 /// le contenu de cette méthode avec l'éditeur de code.
59 /// </summary>
60 private void InitializeComponent()
62 this.ButtonLogin.Click += new System.EventHandler(this.ButtonLogin_Click);
63 this.LinkToPage2.Click += new System.EventHandler(this.LinkToPage2_Click);
64 this.Load += new System.EventHandler(this.Page_Load);
67 #endregion