Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/WebSites/HeuristicLabWeb/Administration/Default.aspx.cs @ 5728

Last change on this file since 5728 was 4478, checked in by cfleisch, 14 years ago

Deleted binaries, added test function (#1198)

File size: 1.0 KB
Line 
1using System;
2using System.Data;
3using System.Configuration;
4using System.Collections;
5using System.Web;
6using System.Web.Security;
7using System.Web.UI;
8using System.Web.UI.WebControls;
9using System.Web.UI.WebControls.WebParts;
10using System.Web.UI.HtmlControls;
11using OKB.Administration.Views;
12using Microsoft.Practices.ObjectBuilder;
13
14namespace OKB.Administration.Views
15{
16  public partial class AdministrationDefault : Microsoft.Practices.CompositeWeb.Web.UI.Page, IDefaultView
17  {
18    private DefaultViewPresenter _presenter;
19
20    protected void Page_Load(object sender, EventArgs e)
21    {
22      if (!this.IsPostBack)
23      {
24        this._presenter.OnViewInitialized();
25      }
26      this._presenter.OnViewLoaded();
27    }
28
29    [CreateNew]
30    public DefaultViewPresenter Presenter
31    {
32      set
33      {
34        this._presenter = value;
35        this._presenter.View = this;
36      }
37    }
38
39        protected void GetDateTimeButton_Click(object sender, EventArgs e)
40        {
41            ResultLabel.Text = _presenter.GetDateTimeString();
42        }
43}
44}
Note: See TracBrowser for help on using the repository browser.