private void flatButton2_Click(object sender, EventArgs e) { this.Hide(); LoginSys LOGIN = new LoginSys(); LOGIN.Show(); }
private void flatButton1_Click(object sender, EventArgs e) { if (API.Register(benutzername.Text, passwort.Text, email.Text, lizenz.Text)) { MessageBox.Show("Registrierung war Erfolgreich", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Hide(); LoginSys LOGIN = new LoginSys(); LOGIN.Show(); } }
private void flatButton3_Click_1(object sender, EventArgs e) { string BENUTZERNAME = User.Username; WebClient wc = new WebClient { }; wc.DownloadString($"https://developers.auth.gg/USERS/?type=delete&authorization=DEINAUTHORITATIONSKEY&user={BENUTZERNAME}"); MessageBox.Show($"Dein Account wurde erfolgreich gelöscht"); this.Hide(); LoginSys LOGIN = new LoginSys(); LOGIN.Show(); }