Beispiel #1
0
        public override void Save()
        {
            getvalue();
            bool isOk = _bll.Add(_model);

            if (isOk == true)
            {
                MessageBox.Show("新建成功!");
                tmiAdd.Visible = tmiSave.Visible = false;
            }
        }
Beispiel #2
0
        public override void Save( )
        {
            List <FishEntity.DeliveredManagementEntity> modelList = getValue( );
            //bool  isOk = _bll.Add(_model);
            bool isOk = _bll.Add(modelList);

            if (isOk == true)
            {
                MessageBox.Show("新建成功!");
                tmiAdd.Visible = tmiSave.Visible = false;
            }
        }