Click here to Skip to main content
15,883,647 members
Home / Discussions / C#
   

C#

 
Questioncompression Pin
mkl_0725-Jun-07 11:48
mkl_0725-Jun-07 11:48 
AnswerRe: compression Pin
User 665825-Jun-07 11:51
User 665825-Jun-07 11:51 
AnswerRe: compression Pin
Dave Kreskowiak25-Jun-07 14:07
mveDave Kreskowiak25-Jun-07 14:07 
GeneralRe: compression Pin
Sean Michael Murphy25-Jun-07 15:57
Sean Michael Murphy25-Jun-07 15:57 
AnswerRe: compression Pin
Hesham Yassin25-Jun-07 22:14
Hesham Yassin25-Jun-07 22:14 
QuestionOpen Excel Chart in .net Pin
saeed73325-Jun-07 11:29
saeed73325-Jun-07 11:29 
AnswerRe: Open Excel Chart in .net Pin
Christian Graus25-Jun-07 11:58
protectorChristian Graus25-Jun-07 11:58 
QuestionCross-thread ToolStripButton update Pin
aei_totten25-Jun-07 8:28
aei_totten25-Jun-07 8:28 
I generally use this method to update buttons cross-thread, but ToolStripButtons don't have the InvokeRequired property.

delegate void UpdateStartDelegate(bool newState);
private void updateStartButton(bool newState)
{
if (startButton.InvokeRequired) // is cross-thread update
Invoke(new UpdateStartDelegate(updateStartButton), new object[] { newState });
else
startButton.Enabled = newState;
}

Is there an easy way to do the same thing with a ToolStripButton?
AnswerRe: Cross-thread ToolStripButton update Pin
Not Active25-Jun-07 8:38
mentorNot Active25-Jun-07 8:38 
GeneralRe: Cross-thread ToolStripButton update Pin
mabo4225-Jun-07 22:47
mabo4225-Jun-07 22:47 
GeneralRe: Cross-thread ToolStripButton update Pin
Not Active26-Jun-07 1:55
mentorNot Active26-Jun-07 1:55 
AnswerRe: Cross-thread ToolStripButton update Pin
Hesham Yassin25-Jun-07 22:15
Hesham Yassin25-Jun-07 22:15 
AnswerRe: Cross-thread ToolStripButton update Pin
spainchaud26-Jul-10 4:13
spainchaud26-Jul-10 4:13 
QuestionProblem about pictureBox in Visual Studio C Sharp.NET ? Pin
zeeShan anSari25-Jun-07 8:22
zeeShan anSari25-Jun-07 8:22 
AnswerRe: Problem about pictureBox in Visual Studio C Sharp.NET ? Pin
Ed.Poore25-Jun-07 8:58
Ed.Poore25-Jun-07 8:58 
AnswerRe: Problem about pictureBox in Visual Studio C Sharp.NET ? Pin
Christian Graus25-Jun-07 10:24
protectorChristian Graus25-Jun-07 10:24 
AnswerRe: Problem about pictureBox in Visual Studio C Sharp.NET ? Pin
zeeShan anSari27-Jun-07 0:04
zeeShan anSari27-Jun-07 0:04 
QuestionXML with C# [modified] Pin
saymajum25-Jun-07 8:13
saymajum25-Jun-07 8:13 
GeneralRe: XML with C# Pin
Rob Graham25-Jun-07 8:38
Rob Graham25-Jun-07 8:38 
GeneralRe: XML with C# Pin
saymajum25-Jun-07 8:44
saymajum25-Jun-07 8:44 
GeneralRe: XML with C# Pin
Christian Graus25-Jun-07 10:26
protectorChristian Graus25-Jun-07 10:26 
GeneralRe: XML with C# Pin
saymajum25-Jun-07 10:34
saymajum25-Jun-07 10:34 
AnswerRe: XML with C# Pin
BoneSoft25-Jun-07 11:21
BoneSoft25-Jun-07 11:21 
QuestionLoading referenced assemblies using System.Reflection Pin
thegloomyclown25-Jun-07 6:44
thegloomyclown25-Jun-07 6:44 
AnswerRe: Loading referenced assemblies using System.Reflection Pin
Ed.Poore25-Jun-07 6:47
Ed.Poore25-Jun-07 6:47 

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.