public void Assign(PictureProps sourceApperance) { if (sourceApperance.X != 0) { this.X = sourceApperance.X; } if (sourceApperance.Y != 0) { this.Y = sourceApperance.Y; } if (sourceApperance.SizeX != 0) { this.SizeX = sourceApperance.SizeX; } if (sourceApperance.SizeY != 0) { this.SizeY = sourceApperance.SizeY; } this.Z = sourceApperance.Z; this.Level = sourceApperance.Level; this.Rotate = sourceApperance.Rotate; this.Align = sourceApperance.Align; this.SizeMode = sourceApperance.SizeMode; this.BackColor = sourceApperance.BackColor; this.BackFileName = sourceApperance.BackFileName; this.NextCadre = sourceApperance.NextCadre; this.Opacity = sourceApperance.Opacity; this.SetName = sourceApperance.SetName; this.Flip = sourceApperance.Flip; this.Merge = sourceApperance.Merge; this.Timer = sourceApperance.Timer; this.Timer2 = sourceApperance.Timer2; this.Blur = sourceApperance.Blur; this.isVideo = sourceApperance.isVideo; this.Active = sourceApperance.Active; this.OnlyName = sourceApperance.OnlyName; this.Description = sourceApperance.Description; this.isMain = sourceApperance.isMain; this.Reload = sourceApperance.Reload; this.Flash = sourceApperance.Flash; this.ClipH = sourceApperance.ClipH; this.ClipW = sourceApperance.ClipW; this.ClipX = sourceApperance.ClipX; this.ClipY = sourceApperance.ClipY; this.Transition = sourceApperance.Transition; this.ParFlip = sourceApperance.ParFlip; this.Animations.Clear(); this.Animations.AddRange(sourceApperance.Animations); this.Parent = sourceApperance.Parent; }
public PictureSourceProps(string fn, PictureProps sourceApperance) : this(sourceApperance) { this.FileName = fn; }
public PictureSourceProps(PictureProps sourceApperance) : this() { this.Assign(sourceApperance); }
public PictureSourceDataProps(string fnname, PictureProps position) : base(fnname, position) { }