Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         btn_showCheck.Text = Yzm.CreateYzm(4);
     }
 }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         btn_yzm.Text = Yzm.CreateYzm(4);
         Username.Focus();
     }
 }
 protected void Button3_Click(object sender, EventArgs e)
 {
     TextBox1.Text = TextBox2.Text = TextBox3.Text = "";
     Button1.Text  = Yzm.CreateYzm(4);
 }
Example #4
0
 private void refreshYzm()
 {
     btn_img.Text      = Yzm.CreateYzm(4);
     tb_checkcode.Text = btn_img.Text;
 }
Example #5
0
 protected void btn_showCheck_Click(object sender, EventArgs e)
 {
     btn_showCheck.Text = Yzm.CreateYzm(4);
 }
Example #6
0
 protected void btn_clear_Click(object sender, EventArgs e)
 {
     tb_checkcode.Text = Yzm.CreateYzm(4);
     tb_pwd.Text       = "";
     tb_sno.Text       = "";
 }