Пример #1
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();
     }
 }
Пример #2
0
 private void FormLogin_Load(object sender, EventArgs e)
 {
     Location = Postion.getPostion(this, 0.4f, 0.4f, null);
     loadConfig();
     setSiteUrl();
 }
Пример #3
0
 private void FormMain_Load(object sender, EventArgs e)
 {
     Location = Postion.getPostion(this, 0.4f, 0.4f, null);
     Activate();
     this.Text = "欢迎 " + Login.get().name + " 登录 " + this.Text;
 }