Пример #1
0
 private void btn_ScanNewPutAway_Click(object sender, EventArgs e)
 {
     PutAwayScan pas = new PutAwayScan();
     pas.Show();
     pas.Closed += new EventHandler(pas_Closed);
     this.Hide();
 }
Пример #2
0
        private void btn_ScanNewPutAway_Click(object sender, EventArgs e)
        {
            PutAwayScan pas = new PutAwayScan();

            pas.Show();
            pas.Closed += new EventHandler(pas_Closed);
            this.Hide();
        }
Пример #3
0
 private void btn_ReadTempFile_Click(object sender, EventArgs e)
 {
     string TempFileUrl = PutAway.TempFileUrl;
     if (File.Exists(TempFileUrl))
     {
         DataSet ds = MySerialization.DeSerialize(TempFileUrl);
         if (ds.Tables[0].Rows.Count == 0)
         {
             MessageBox.Show("数据为空,请扫描新入库单!");
         }
         else
         {
             PutAwayScan pas = new PutAwayScan(ds);
             pas.Show();
             pas.Closed += new EventHandler(pas_Closed);
             this.Hide();
         }
     }
 }
Пример #4
0
        private void btn_ReadTempFile_Click(object sender, EventArgs e)
        {
            string TempFileUrl = PutAway.TempFileUrl;

            if (File.Exists(TempFileUrl))
            {
                DataSet ds = MySerialization.DeSerialize(TempFileUrl);
                if (ds.Tables[0].Rows.Count == 0)
                {
                    MessageBox.Show("数据为空,请扫描新入库单!");
                }
                else
                {
                    PutAwayScan pas = new PutAwayScan(ds);
                    pas.Show();
                    pas.Closed += new EventHandler(pas_Closed);
                    this.Hide();
                }
            }
        }