Hi
I have a number of statistic components, where one is causing the
problem, than I cannot click on any component on the form to get to
the properties - it also causes other components to not refresh in
design mode - but it compiles and works.
I still need to fix this problem.
I have a "template" base on Control => MyChart => MyStatisticsTemplate
=> this. There are 4 components derived here, and only one causes this
problem.
The code:
It is as all components are based on, this is the idea of the
template. Some other have additional features, though most of them
only have different formulas in the Calculate. Even with that code
removed it has this problem.
There are probably some properties elsewhere causing my problem, but I
dont know what to look for. Ideas please.
I am still slightly new to C# so I might have missed something.
namespace Statistics
{
public partial class StatisticsErrorChart :
StatisticsChartTemplate
{
public StatisticsErrorChart()
{
InitializeComponent();
}
~JOTStatisticsErrorChart()
{
Dispose(true);
}
protected override void OnPaint(PaintEventArgs pe)
{
base.OnPaint(pe);
}
public override void CreateThread()
{
CalcThread = new CalculateThread();
}
// ************** THREAD ******************
class CalculateThread : JOTCalculateThread
{
// calculations currently removed to find the problem
}
}
}
|