private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         label3.Text    = "";
         label3.Visible = true;
         this.Cursor    = Cursors.WaitCursor;
         datas data = datas.instance();
         datas._customer.id_customer = Convert.ToInt32(textBox1.Text);
         datas._customer.type_drink  = read_type_drink();
         datas._customer.qtsucre     = read_qtSucre();
         datas._customer.mug         = read_mug();
         Application.DoEvents();
         label3.Text = "Votre boisson est en cours ...";
         data.insertCustomer();
         Thread.Sleep(3000);
         label3.Text = "Votre boisson est préte.";
         this.Cursor = Cursors.WaitCursor;
     }
     catch (Exception ex)
     {
         this.Cursor = Cursors.WaitCursor;
     }
 }