コード例 #1
0
 private void btnReg_Click(object sender, EventArgs e)
 {
     RegForm       = new RegistartionForm();
     RegForm.mForm = this;
     RegForm.Show();
     this.Visible = false;
 }
コード例 #2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     int_token        = 0;
     AuthForm         = new AuthentificationForm();
     RegForm          = new RegistartionForm();
     TextBox_username = fieldUsername;
 }
コード例 #3
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;
        }
コード例 #4
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     Token    = 0;
     AuthForm = new AuthentificationForm();
     RegForm  = new RegistartionForm();
 }