1
Vote

NullPointerException when there is no OnTimeLineChanged event subscribers

description

Just replace all "OnTimeLineChanged(Start, End);" code for call RaiseOnTimeLineChanged
 
private void RaiseOnTimeLineChanged(DateTime start, DateTime end)
{
if(OnTimeLineChanged !=null)
{
OnTimeLineChanged(start, end);
}
}

comments

dacid78 wrote Aug 3, 2015 at 1:50 PM

Hello,

Yes, there is no longer any bugs.
But the Gantt does not resize ... The function never works.
Could you post more details, please.

Regards.