Click here to Skip to main content
15,884,472 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionhow to add module in c#.net Pin
sarayumadhavan8-Nov-05 19:56
sarayumadhavan8-Nov-05 19:56 
AnswerRe: how to add module in c#.net Pin
CoolAmir9-Nov-05 6:21
CoolAmir9-Nov-05 6:21 
GeneralRe: how to add module in c#.net Pin
sarayumadhavan9-Nov-05 21:07
sarayumadhavan9-Nov-05 21:07 
GeneralRe: how to add module in c#.net Pin
CoolAmir13-Nov-05 6:10
CoolAmir13-Nov-05 6:10 
AnswerRe: how to add module in c#.net Pin
Colin Angus Mackay11-Nov-05 5:52
Colin Angus Mackay11-Nov-05 5:52 
GeneralRe: how to add module in c#.net Pin
CoolAmir13-Nov-05 6:44
CoolAmir13-Nov-05 6:44 
GeneralRe: how to add module in c#.net Pin
sarayumadhavan21-Nov-05 1:01
sarayumadhavan21-Nov-05 1:01 
QuestionMassive UI updating & perfomance Pin
David Menéndez Cisterna8-Nov-05 9:11
David Menéndez Cisterna8-Nov-05 9:11 
Hello!

We are using a class to manage serial port, and we are continuously receiving data from GPS.

In order to improve things, all the complex treatment is done by a worker thread, but we need to do many UI updates from this thread. The result is this: all things are right, but UI always slows down and doesnt offer a good response to user interation.

We are using Invoke function for these UI updates, something like this:

protected TextBox _txtSum;
protected int _sum ;

public void thread_funcion()
{
_sum = ......... // complex process
_txtSum.Invoke(new EventHandler(UpdateSumDisplay));
..
..
..Many more complex UI updates
..
}

public void UpdateSumDisplay(object sender, EventArgs e)
{
_txtSum.Text = _sum.ToString();
}

... but I think this is not enough (and we discovered Invoke is a blocking method!!!)

How do you guys solve this kind of situations?
Any idea will be useful!!

Thanks!!!

By the way, my app is developed using Compact Framework on a Pocket PC, thats why we are in great need of perfomance.
AnswerRe: Massive UI updating & perfomance Pin
[Marc]8-Nov-05 11:40
[Marc]8-Nov-05 11:40 
GeneralRe: Massive UI updating & perfomance Pin
David Menéndez Cisterna8-Nov-05 23:58
David Menéndez Cisterna8-Nov-05 23:58 
Questionsetup project with Visual Studio .NET 2003 Pin
madretierra8-Nov-05 6:34
madretierra8-Nov-05 6:34 
AnswerRe: setup project with Visual Studio .NET 2003 Pin
rwestgraham9-Nov-05 10:16
rwestgraham9-Nov-05 10:16 
GeneralRe: setup project with Visual Studio .NET 2003 Pin
madretierra9-Nov-05 22:55
madretierra9-Nov-05 22:55 
QuestionSystem.Xml.Serialization - deserializing xml to types created in dynamic assembly Pin
Rein_Petersen8-Nov-05 5:56
Rein_Petersen8-Nov-05 5:56 
AnswerRe: System.Xml.Serialization - deserializing xml to types created in dynamic assembly Pin
leppie12-Nov-05 12:58
leppie12-Nov-05 12:58 
QuestionFor native clients to receive notifications from remoting callback interfaces... Pin
chervu8-Nov-05 4:06
chervu8-Nov-05 4:06 
AnswerRe: For native clients to receive notifications from remoting callback interfaces... Pin
S. Senthil Kumar8-Nov-05 4:38
S. Senthil Kumar8-Nov-05 4:38 
GeneralRe: For native clients to receive notifications from remoting callback interfaces... Pin
chervu8-Nov-05 6:18
chervu8-Nov-05 6:18 
GeneralRe: For native clients to receive notifications from remoting callback interfaces... Pin
S. Senthil Kumar8-Nov-05 21:45
S. Senthil Kumar8-Nov-05 21:45 
QuestionRefreshing all instances of a class on a queued message Pin
jlraffin8-Nov-05 0:43
jlraffin8-Nov-05 0:43 
AnswerRe: Refreshing all instances of a class on a queued message Pin
jlraffin8-Nov-05 4:53
jlraffin8-Nov-05 4:53 
QuestionDoesn't a Process have a user? Pin
Dave Midgley8-Nov-05 0:42
Dave Midgley8-Nov-05 0:42 
AnswerRe: Doesn't a Process have a user? Pin
S. Senthil Kumar8-Nov-05 5:12
S. Senthil Kumar8-Nov-05 5:12 
GeneralRe: Doesn't a Process have a user? Pin
Dave Midgley8-Nov-05 5:30
Dave Midgley8-Nov-05 5:30 
QuestionProblem using RSAPKCS1SignatureFormatter in Framework 1.1 Pin
dhanashekar7-Nov-05 19:44
dhanashekar7-Nov-05 19:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.