コード例 #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;
        }
コード例 #2
0
		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;

		}