protected override void GetObjectData(SerializationInfo Info, StreamingContext Context) { Utils.Serializing(); base.GetObjectData(Info, Context); Info.AddValue("IsSelected", this._IsSelected); Info.AddValue("IsVisible", this._IsVisible); Info.AddValue("Shapes.Count", this._Shapes.Count); for (int i = 0; i < this._Shapes.Count; i++) { Info.AddValueWithType("Shapes[" + i + "]", this._Shapes[i]); } this._Shapes.ItemCameIn += this.Collection_ItemCameIn; this._Shapes.ItemWentOut += this.Collection_ItemWentOut; }
protected override void GetObjectData(SerializationInfo Info, StreamingContext Context) { Utils.Serializing(); base.GetObjectData(Info, Context); Info.AddValueWithType("Shapes", this._Shapes); }
protected override void GetObjectData(SerializationInfo Info, StreamingContext Context) { Utils.Serializing(); base.GetObjectData(Info, Context); Info.AddValueWithType("Shape", this.Shape); Info.AddValue("IndicatorsShape", (Int32)this._IndicatorsShape); Info.AddValue("IndicatorsSize", this._IndicatorsSize); }
protected virtual void GetObjectData(SerializationInfo Info, StreamingContext Context) { Utils.Serializing(); Info.AddValue("Name", this._Name); Info.AddValueWithType("Parent", this._Parent); }