Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Passing Linq query results to a different function Pin
Ian Shlasko31-Aug-10 6:17
Ian Shlasko31-Aug-10 6:17 
GeneralRe: Passing Linq query results to a different function Pin
Not Active31-Aug-10 6:17
mentorNot Active31-Aug-10 6:17 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 22:04
Swiftain31-Aug-10 22:04 
GeneralRe: Passing Linq query results to a different function Pin
Not Active1-Sep-10 1:41
mentorNot Active1-Sep-10 1:41 
GeneralRe: Passing Linq query results to a different function [modified] Pin
Not Active31-Aug-10 5:46
mentorNot Active31-Aug-10 5:46 
GeneralRe: Passing Linq query results to a different function Pin
Swiftain31-Aug-10 5:55
Swiftain31-Aug-10 5:55 
GeneralRe: Passing Linq query results to a different function Pin
Not Active31-Aug-10 6:13
mentorNot Active31-Aug-10 6:13 
QuestionProblem with ToolStrip and ToolStripButtons Pin
Dewald31-Aug-10 2:50
Dewald31-Aug-10 2:50 
Hi all, I'm hoping someone could shed some light here please.

I have a ToolStripPanel on my form with a few ToolStrips which in turn each have a few ToolStripButtons.

I wrote an event handler for the MouseEnter and MouseLeave events of all of these buttons so that I can change the image depending on whether the mouse is over the button or not. Basically, I have an animated gif which I'm showing when the mouse is over the button and a static image when it's not.

It works but it has a little glitch. Every time the image of a button changes, the size of the button changes very briefly. This means that, for a split second, the relevant ToolStrip is resized which has the effect of all the ToolStrips to the right of it being moved left. Like I say, it's only for a split second before everything is restored again (once the button has its new image) but it makes for a very unpleasant visual effect.

Any ideas?
AnswerRe: Problem with ToolStrip and ToolStripButtons Pin
phil.o31-Aug-10 2:56
professionalphil.o31-Aug-10 2:56 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
Dewald31-Aug-10 3:11
Dewald31-Aug-10 3:11 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
phil.o31-Aug-10 3:37
professionalphil.o31-Aug-10 3:37 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
Dewald31-Aug-10 4:35
Dewald31-Aug-10 4:35 
GeneralRe: Problem with ToolStrip and ToolStripButtons Pin
phil.o31-Aug-10 4:50
professionalphil.o31-Aug-10 4:50 
QuestionChanging font style of TabControl Text Pin
NarVish31-Aug-10 1:36
NarVish31-Aug-10 1:36 
AnswerRe: Changing font style of TabControl Text Pin
phil.o31-Aug-10 2:41
professionalphil.o31-Aug-10 2:41 
GeneralRe: Changing font style of TabControl Text Pin
NarVish1-Sep-10 0:58
NarVish1-Sep-10 0:58 
GeneralRe: Changing font style of TabControl Text Pin
phil.o1-Sep-10 21:41
professionalphil.o1-Sep-10 21:41 
GeneralRe: Changing font style of TabControl Text Pin
NarVish1-Sep-10 23:21
NarVish1-Sep-10 23:21 
QuestionAttach database file to SQL Server during Setup Pin
firas_hamzeh31-Aug-10 0:54
firas_hamzeh31-Aug-10 0:54 
AnswerRe: Attach database file to SQL Server during Setup Pin
PIEBALDconsult31-Aug-10 3:16
mvePIEBALDconsult31-Aug-10 3:16 
GeneralRe: Attach database file to SQL Server during Setup Pin
firas_hamzeh31-Aug-10 3:19
firas_hamzeh31-Aug-10 3:19 
GeneralRe: Attach database file to SQL Server during Setup Pin
PIEBALDconsult31-Aug-10 3:21
mvePIEBALDconsult31-Aug-10 3:21 
GeneralRe: Attach database file to SQL Server during Setup Pin
firas_hamzeh31-Aug-10 4:10
firas_hamzeh31-Aug-10 4:10 
GeneralRe: Attach database file to SQL Server during Setup Pin
Not Active31-Aug-10 4:15
mentorNot Active31-Aug-10 4:15 
GeneralRe: Attach database file to SQL Server during Setup Pin
firas_hamzeh31-Aug-10 4:21
firas_hamzeh31-Aug-10 4:21 

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.