Esempio n. 1
0
        private void OpenPackingForContinue()
        {
            if (Info.S == "1" && Info.P == "1" && Info.SS == "1" && Info.Q == "1")
            {
                this.Close();

                ActivePoint pack = new ActivePoint();
                pack.Show();
            }
        }
Esempio n. 2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     labelTimer.Text = (--i).ToString();
     if (i < 0)
     {
         timer1.Stop();
         ActivePoint hform = new ActivePoint();
         hform.Show();
         this.Close();
     }
 }
Esempio n. 3
0
 private void OpenPackingForm()
 {
     if (Info.S == "1" && Info.P == "1" && Info.SS == "1" && Info.Q == "1")
     {
         DBConnect con = new DBConnect();
         con.Insert("packingbox", "galianumber, qttotal, psanumber, leoninumber", Info.GaliaNumber + ", " + Info.QTPacking + ", '" + Info.CodeProduct + "', '" + Info.REF30S + "'");
         this.Close();
         Properties.Settings.Default.project    = "p32s";
         Properties.Settings.Default.semeistvo  = "main";
         Properties.Settings.Default.referencia = "P" + Info.CodeProduct;
         ActivePoint pack = new ActivePoint();
         pack.Show();
     }
 }