コード例 #1
0
        // Override the Assign method
        public override void Assign(RepositoryItem item)
        {
            BeginUpdate();
            base.Assign(item);
            RepositoryItemCustomRangeTrackBar source = item as RepositoryItemCustomRangeTrackBar;

            if (source == null)
            {
                return;
            }
            this.TickDisplayText = source.TickDisplayText;
            EndUpdate();
            Events.AddHandler(RepositoryItemCustomRangeTrackBar.drawingTick, source.Events[RepositoryItemCustomRangeTrackBar.drawingTick]);
        }
 static CustomRangeTrackBar()
 {
     RepositoryItemCustomRangeTrackBar.RegisterCustomRangeTrackBar();
 }