public MaskedTextControlView(Webb.Reports.ExControls.ExControl i_Control) : base(i_Control) { this._MaskInfoSetting = new MaskInfoCollection(); this._MaskInfoSetting.Add(new MaskInfo()); this._RowsHight = new Int32Collection(); this._ColumnsWidth = new Int32Collection(); }
public MaskedTextControlView(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { try { _SortingColumns = (SortingColumnCollection)info.GetValue("_SortingColumns", typeof(SortingColumnCollection)); } catch { _SortingColumns = new SortingColumnCollection(); } try { _AutoAdjustTitleSize = info.GetBoolean("_AutoAdjustTitleSize"); } catch { _AutoAdjustTitleSize = true; } try { _MakeChanges = false; this._ColumnsWidth = info.GetValue("_ColumnsWidth", typeof(Int32Collection)) as Int32Collection; } catch { _MakeChanges = true; this._ColumnsWidth = new Int32Collection(); } try { this._MaskInfoSetting = (Webb.Reports.ExControls.Data.MaskInfoCollection)info.GetValue("_MaskInfoSetting", typeof(Webb.Reports.ExControls.Data.MaskInfoCollection)); } catch { _MaskInfoSetting = new MaskInfoCollection(); } try { this._RowsHight = info.GetValue("_RowsHight", typeof(Int32Collection)) as Int32Collection; } catch { this._RowsHight = new Int32Collection();; } try { _IndexedRow = info.GetInt32("_IndexedRow"); } catch { _IndexedRow = 0; } try { this._Filter = (DBFilter)info.GetValue("_AutoAdjustTitleSize", typeof(DBFilter)); } catch { _Filter = new DBFilter(); } }