Пример #1
0
 private void btn_ScanNewPick_Click(object sender, EventArgs e)
 {
     PickScan ps = new PickScan();
     ps.Show();
     ps.Closed += new EventHandler(ps_Closed);
     this.Hide();
 }
Пример #2
0
        private void btn_ScanNewPick_Click(object sender, EventArgs e)
        {
            PickScan ps = new PickScan();

            ps.Show();
            ps.Closed += new EventHandler(ps_Closed);
            this.Hide();
        }
Пример #3
0
 private void btn_ReadTempFile_Click(object sender, EventArgs e)
 {
     string TempFileUrl = Pick.TempFileUrl;
     if (File.Exists(TempFileUrl))
     {
         DataSet ds = MySerialization.DeSerialize(Pick.TempFileUrl);
         if (ds.Tables[0].Rows.Count == 0)
         {
             MessageBox.Show("数据为空,请选择扫描新拣货单功能!");
         }
         else
         {
             PickScan ps = new PickScan(ds);
             ps.Show();
             ps.Closed += new EventHandler(ps_Closed);
             this.Hide();
         }
     }
 }
Пример #4
0
        private void btn_ReadTempFile_Click(object sender, EventArgs e)
        {
            string TempFileUrl = Pick.TempFileUrl;

            if (File.Exists(TempFileUrl))
            {
                DataSet ds = MySerialization.DeSerialize(Pick.TempFileUrl);
                if (ds.Tables[0].Rows.Count == 0)
                {
                    MessageBox.Show("数据为空,请选择扫描新拣货单功能!");
                }
                else
                {
                    PickScan ps = new PickScan(ds);
                    ps.Show();
                    ps.Closed += new EventHandler(ps_Closed);
                    this.Hide();
                }
            }
        }