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