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; }
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; }
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(); } }
private void FormLogin_Load(object sender, EventArgs e) { Location = Postion.getPostion(this, 0.4f, 0.4f, null); loadConfig(); setSiteUrl(); }