コード例 #1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     int_token        = 0;
     AuthForm         = new AuthentificationForm();
     RegForm          = new RegistartionForm();
     TextBox_username = fieldUsername;
 }
コード例 #2
0
 private void btnAuth_Click(object sender, EventArgs e)
 {
     AuthForm       = new AuthentificationForm();
     AuthForm.mForm = this;
     AuthForm.Show();
     this.Visible = false;
 }
コード例 #3
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     int_token = 0;
     // this.Size = new Size(680, 450);
     GetSize(sender, e);
     AuthForm         = new AuthentificationForm();
     RegForm          = new RegistrationForm();
     TextBox_username = fieldUsername;
 }
コード例 #4
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            string Height1 = File.ReadLines("Config.Json").Skip(4).First();
            string Width1  = File.ReadLines("Config.Json").Skip(7).First();
            int    W       = Convert.ToInt32(Width1);
            int    H       = Convert.ToInt32(Height1);

            this.Size        = new Size(W, H);
            int_token        = 0;
            AuthForm         = new AuthentificationForm();
            RegForm          = new RegistartionForm();
            TextBox_username = fieldUsername;
        }
コード例 #5
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     Token    = 0;
     AuthForm = new AuthentificationForm();
     RegForm  = new RegistartionForm();
 }