Exemplo n.º 1
0
        protected internal void RaiseDrawTrackLine(TrackBarPaintEventArgs e)
        {
            TrackBarPaintEventHandler handler = Events[drawTrackArea] as TrackBarPaintEventHandler;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        public override void DrawTrackLine(TrackBarObjectInfoArgs e)
        {
            MultiTrackBarControlViewInfo viewInfo = (MultiTrackBarControlViewInfo)e.ViewInfo;
            TrackBarPaintEventArgs       pe       = new TrackBarPaintEventArgs()
            {
                ViewInfo = viewInfo, Painter = this, Cache = e.Cache
            };

            ((RepositoryItemMultiTrackBarControl)viewInfo.Item).RaiseDrawTrackLine(pe);
            if (!pe.Habdled)
            {
                base.DrawTrackLine(e);
            }
        }