コード例 #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];
        if (State == null || State.Count <= 2) { Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "timeOut('../Default.aspx');", true); return; }

        Message.Text = "";
        if (!IsPostBack)
        {
            Init init = new Init();
            init.InitAccountList(State, FromAccounts, true);
            init.InitAccountList(State, ToAccounts, false);
            CopyApplicationButton.Visible = false;
        }
    }