Exemplo n.º 1
0
        private void ZtSaveData()
        {
            ZtPinTuo entity = this.ZtComputeData();

            if (ZtPinTuoManager.CheckExists(entity))
            {
                MessageBox.Show("您已经扫描过该托盘!");
                return;
            }
            ZtPinTuoManager.Save(entity);
        }
Exemplo n.º 2
0
        private void RemoveData()
        {
            ZtPinTuo entity = this.ComputeData();

            if (!ZtPinTuoManager.CheckExists(entity))
            {
                MessageBox.Show("托盘尚未扫描,不能撤消!");
                return;
            }
            ZtPinTuoManager.Delete(entity);
        }
Exemplo n.º 3
0
        private void SaveData()
        {
            ZtPinTuo entity = this.ComputeData();

            if (ZtPinTuoManager.CheckExists(entity))
            {
                MessageBox.Show("您已经扫描过该托盘!");
            }
            else
            {
                ZtPinTuoManager.Save(entity);
            }
        }
Exemplo n.º 4
0
 private void ZtRebindData()
 {
     this.dg_ScanList.DataSource = ZtPinTuoManager.GetUserData(Program.UserID);
     new DB().SetDataGridCloumnWidth(dg_ScanList);
 }
Exemplo n.º 5
0
 private void RebindData()
 {
     this.dg_ScanList.DataSource = ZtPinTuoManager.GetUserData(Program.UserID);
 }