예제 #1
0
파일: BOXForm.cs 프로젝트: ITshnichek/Codes
        private void OpenPackingForContinue()
        {
            if (Info.S == "1" && Info.P == "1" && Info.SS == "1" && Info.Q == "1")
            {
                this.Close();

                ActivePoint pack = new ActivePoint();
                pack.Show();
            }
        }
예제 #2
0
파일: packing.cs 프로젝트: ITshnichek/Codes
 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();
     }
 }
예제 #3
0
파일: BOXForm.cs 프로젝트: ITshnichek/Codes
 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();
     }
 }