Example #1
0
 public BoiteReception(int i, Accueil a, int btn)
 {
     InitializeComponent();
     this.i   = i;
     this.a   = a;
     this.btn = btn;
 }
Example #2
0
        private void bcon_Click(object sender, EventArgs e)
        {
            compte a = reche();

            if (a != null && tmdp.Text == a.mdps)
            {
                m = temail.Text;
                // MessageBox.Show("Bienvenue");
                temail.Clear();
                tmdp.Clear();
                Accueil at = new Accueil(m);
                at.ShowDialog();
            }
            else if (a != null && a.mdps != tmdp.Text)
            {
                MessageBox.Show("mot de pass incorrect");
            }
            else
            {
                MessageBox.Show("Ce compte n'existe pas");
            }
        }
Example #3
0
 public Profil(Accueil a)
 {
     InitializeComponent();
     this.a = a;
 }