public void Andern() { if (registrieren != null) { registrieren.Show(); return; } registrieren = new Registrieren(this, angemeldete_Person); registrieren.FormClosed += Registrieren2_FormClosed; registrieren.Show(); }
private void btnPassword_Click(object sender, EventArgs e) { if (registrieren != null) { registrieren.Show(); return; } registrieren = new Registrieren(verwaltung, verwaltung.GetFirma().GetMitarbeiter(comBMitarbeiter.SelectedIndex + 1)); registrieren.Show(); registrieren.FormClosing += Registrieren_FormClosing; }
public void Registrieren() { login.Hide(); if (registrieren != null) { registrieren.Show(); return; } registrieren = new Registrieren(this); registrieren.FormClosed += Registrieren_FormClosed; registrieren.Show(); }
private void Registrieren_FormClosed(object sender, FormClosedEventArgs e) { registrieren = null; LogIn(); }
private void Registrieren_FormClosing(object sender, FormClosingEventArgs e) { registrieren = null; }