Example #1
0
        private void btNewGame_Click(object sender, EventArgs e)
        {
            Function.SoundManager.PlayButtonSound();
            SupportForm sup = new SupportForm();

            sup.ShowDialog();
        }
Example #2
0
        private void NewPlayer()
        {
            SupportForm sup = new SupportForm();

            sup.ShowDialog();

            CreateACharacter();
        }
Example #3
0
        /// <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);
            }
        }
Example #4
0
        public static SupportForm Instance()
        {
            if (sForm == null)
            {
                sForm = new SupportForm();
            }

            else
            {
                sForm.Close();
                sForm = null;
                sForm = new SupportForm();
            }

            return(sForm);
        }
Example #5
0
        private void lblSupport_Click(object sender, EventArgs e)
        {
            SupportForm form = new SupportForm();

            form.Visible = true;
        }