public KeyFrameCollection Copy() { KeyFrameCollection clone = new KeyFrameCollection(_Ruler); // Copy each reference across foreach(KeyFrame c in base.List) clone.Add(c); return clone; }
public TimeRuler() { base.BackColor = System.Drawing.Color.White; base.ForeColor = System.Drawing.Color.Black; // This call is required by the Windows.Forms Form Designer. InitializeComponent(); _aryKeyFrames = new KeyFrameCollection(this); ScaleMode = enumScaleMode.smPixels; }