protected override void Save() { _stru = uc.stru; _stru = BL.老龄办.停发老龄津贴.Save( _stru ); if ( _stru.IsValid() ) FF.Ctrl.MsgBox.Show( Def.Str.Msg.Save_OK ); else FF.Ctrl.MsgBox.Show( Def.Str.Msg.Save_Err ); }
protected override void Delete() { _stru = uc.stru; if ( _stru.IsNotValid() ) { return; } _stru = BL.老龄办.停发老龄津贴.Delete( _stru ); if ( !_stru.IsValid() ) FF.Ctrl.MsgBox.Show( Def.Str.Msg.Delete_OK ); else FF.Ctrl.MsgBox.Show( Def.Str.Msg.Delete_Err ); }
private void FindPerson() { 已发老龄津贴老人 fm = new 已发老龄津贴老人(); if (fm.ShowDialog() != DialogResult.OK) return; _stru = BL.老龄办.停发老龄津贴.From发放老龄津贴( fm.stru ); uc.stru = _stru; }