private void btNewGame_Click(object sender, EventArgs e) { Function.SoundManager.PlayButtonSound(); SupportForm sup = new SupportForm(); sup.ShowDialog(); }
private void NewPlayer() { SupportForm sup = new SupportForm(); sup.ShowDialog(); CreateACharacter(); }
/// <summary> /// Action sur le bouton assistance. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void assistanceBtn_Click(object sender, EventArgs e) { SupportForm sf = new SupportForm(AuthManager.Instance.User); if (sf.ShowDialog() != DialogResult.OK) { return; } else { MailSender.Instance.supportRequest(sf.Os, sf.Version, sf.User, sf.Date, sf.Category, sf.Message); } }
public static SupportForm Instance() { if (sForm == null) { sForm = new SupportForm(); } else { sForm.Close(); sForm = null; sForm = new SupportForm(); } return(sForm); }
private void lblSupport_Click(object sender, EventArgs e) { SupportForm form = new SupportForm(); form.Visible = true; }