PC Review


Reply
Thread Tools Rate Thread

Component not editable / stops refreshing

 
 
Sonnich Jensen
Guest
Posts: n/a
 
      16th Sep 2011
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
}
}
}
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.NET Screen Stops Refreshing After Losing Focus?? Chris Moore Microsoft VB .NET 6 27th Jun 2006 06:23 PM
Progressbar and treeview stops refreshing edamron Microsoft VB .NET 3 7th Mar 2006 09:40 PM
Webbot component non-editable Thanasis \(sch\) Microsoft Frontpage 2 4th Apr 2005 01:04 AM
Why outlook stops refreshing after the first send/receive? =?Utf-8?B?QWJjTGVhbA==?= Microsoft Outlook Discussion 1 20th Nov 2004 09:37 AM
Explorer stops refreshing its window sometimes, requiring manual F5 Bruce Forstall Windows XP Help 0 3rd Dec 2003 10:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 PM.