コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.Page.User.Identity.IsAuthenticated)
            {
                FormsAuthentication.RedirectToLoginPage();
            }
            else
            {
                createEmail = new CreateMail();
                GoogleMailService.initService();
                radio_service_stpm.Checked = true;

                if (!IsPostBack && !IsCallback)
                {
                    cmbCampaign.SelectedIndex = 0;
                    cmbEmailOwn.SelectedIndex = 1;
                }
            }
        }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     createEmail = new CreateMail();
     GoogleMailService.initService();
     radio_service_stpm.Checked = true;
 }