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