Ejemplo n.º 1
0
 private void FormMain_Load(object sender, EventArgs e)
 {
     //this.Icon = Resource.jiaowu;
     Location = Postion.getPostion(this, 0.4f, 0.4f, null);
     Activate();
     this.Text = "欢迎 " + Login.get().name + " 登录 " + this.Text;
 }
Ejemplo n.º 2
0
 private void FormLogin_Load(object sender, EventArgs e)
 {
     // this.Icon = JiaowuHelper.Resource.jiaowu;
     Location = Postion.getPostion(this, 0.4f, 0.4f, null);
     loadConfig();
     setSiteUrl();
     checkBox_checkCode.CheckState = CheckState.Unchecked;
     checkBox_checkCode.Checked    = false;
 }
Ejemplo n.º 3
0
 private void button_help_Click(object sender, EventArgs e)
 {
     if (helper == null || helper.IsDisposed)
     {
         helper = new FormHelper();
         helper.Show();
         helper.Location = Postion.getPostion(helper, 0.5f, 0.5f, this);
     }
     else
     {
         helper.Activate();
     }
 }
Ejemplo n.º 4
0
 private void FormLogin_Load(object sender, EventArgs e)
 {
     Location = Postion.getPostion(this, 0.4f, 0.4f, null);
     loadConfig();
     setSiteUrl();
 }