Esempio n. 1
0
 private void PointOfSale_Load(object sender, EventArgs e)
 {
     LoadingTimer.Start();
     LoadAll();
     //using(MuebleriaDBEntities context = new MuebleriaDBEntities())
     //{
     //     var ls = context.TBL_PRODUCTOS.Select(x => x.CodigoDeBarra);
     //     txtCodigoBarra.AutoCompleteCustomSource = ls.ToList(;
     //}
 }
Esempio n. 2
0
 private void LoadingTimer_Tick(object sender, EventArgs e)
 {
     a += 30;
     LoadingBar.Value = a;
     if (LoadingBar.Value == 40)
     {
         LoadingImage3.Hide();
         Procents.Text = "40%";
     }
     else if (LoadingBar.Value == 70)
     {
         LoadingImage2.Hide();
         Procents.Text = "70%";
     }
     if (LoadingBar.Value == 100)
     {
         Procents.Text = "100%";
         LoadingImage3.Show();
         LoadingTimer.Stop();
     }
 }
Esempio n. 3
0
 private void LoadingTimer_Tick(object sender, EventArgs e)
 {
     panel3.Width += 3;
     if (panel3.Width == 63)
     {
         label1.Text = "you are dumb a*s?";
         label2.Show();
     }
     if (panel3.Width == 69)
     {
         label1.Text = "The width of loading bar is 69 now?";
         label2.Show();
     }
     if (panel3.Width >= panel1.Width)
     {
         LoadingTimer.Stop();
         this.Hide();
         Register0Form register = new Register0Form();
         register.Show();
     }
 }
Esempio n. 4
0
 private void LoadingWindow_Load(object sender, EventArgs e)
 {
     LoadingTimer.Start();
     SecondTimer.Start();
 }
Esempio n. 5
0
 private void Form_loading_Load(object sender, EventArgs e)
 {
     LoadingTimer.Start();
 }