public bool Freezing(int code) { Person_Data p = new Person_Data(); try { if (!this.Freezed(code)) { p.Freezing_Data(code); return(true); } } catch (HardWareExeption ex) { this._message = ex.Message; return(false); } catch (Exception ex) { this._message = ex.Message; return(false); } return(false); }