상속: System.Collections.CollectionBase
예제 #1
0
        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;

		}
        public KeyFrameCollection Copy()
        {
            KeyFrameCollection clone = new KeyFrameCollection(_Ruler);

            // Copy each reference across
            foreach(KeyFrame c in base.List)
                clone.Add(c);

            return clone;
        }