GTP.NET.SL 1.1.1.5

—————————————— ——-GTP.NET.SL 1.1.1.5—- —————————————— Gantt.cs (26) SLDev1.sln (3) MoveBetweenControls.xaml (8) MoveBetweenControls.xaml.cs (5) Added Gantt_WPF TimeItem.cs (26) TimeItem avoids setting non-time direction size DateScalerGeneric.cs (8) UseScheduleTimeLayoutForSmallIntervals was updated due to discovered… Continue reading

11432 : Scrollbar for all GanttRows

…”urn:schemas-microsoft-com:office:office” />  You can do this many ways I guess. One way:                     <ScrollViewer                          Name=”_myscrollview”                         Grid.Row=”1″                         Grid.Column=”0″                         Grid.ColumnSpan=”3″                         Height=”300″                         VerticalScrollBarVisibility=”Visible”>                         <ScrollViewer.Content>                         <controls:TreeView  … Continue reading

10284 : What about printing

…hasMorePages,true);         start=gantt1.DateScaler.StartTime;         stop=gantt1.DateScaler.StopTime;         ev.HasMorePages=hasMorePages;         firstInx=false;       }       else       {              gantt1.DateScaler.TimeSpanSet(stop,stop.Add(stop.Subtract(start)));         gantt1.PrintPage(ev.Graphics,r,100,50,true,ref hasMorePages,false);         gantt1.DateScaler.TimeSpanSet(start,stop);         ev.HasMorePages=hasMorePages;         firstInx=true;       } }  … Continue reading

10366 : Color of todayline

…code like this in the OnTimeItemAreaPaintBackground and elaborate): if (TodayLine) { if (DateScaler.StartTime<DateTime.Now && DateScaler.StopTime>DateTime.Now) { HatchBrush hatchBrush=new HatchBrush(HatchStyle.Percent50,Color.Black,TimeItemArea.BackColor); Pen pen=new Pen(hatchBrush,1); int x=DateScaler.TimeToPixel(DateTime.Now); if (TimeItemArea.FlipView) G.DrawLine(pen,TimeItemArea.CalcLeft,x,TimeItemArea.CalcWidth,x); else G.DrawLine(pen,x,TimeItemArea.CalcTop,x,TimeItemArea.CalcBottom); } }… Continue reading