Click here to Skip to main content
15,919,613 members
Home / Discussions / C#
   

C#

 
GeneralRe: null reference exception not set to create an object instance Pin
led mike13-Mar-08 9:21
led mike13-Mar-08 9:21 
General[Message Deleted] Pin
joynee13-Mar-08 9:23
joynee13-Mar-08 9:23 
GeneralRe: null reference exception not set to create an object instance Pin
led mike13-Mar-08 9:37
led mike13-Mar-08 9:37 
GeneralRe: null reference exception not set to create an object instance Pin
Giorgi Dalakishvili13-Mar-08 9:58
mentorGiorgi Dalakishvili13-Mar-08 9:58 
GeneralRe: null reference exception not set to create an object instance Pin
Ravenet13-Mar-08 17:07
Ravenet13-Mar-08 17:07 
GeneralRe: null reference exception not set to create an object instance Pin
Justin Perez14-Mar-08 3:00
Justin Perez14-Mar-08 3:00 
Generalcrystal report issue (hiding objct at runtime) Pin
Harvey Saayman13-Mar-08 7:46
Harvey Saayman13-Mar-08 7:46 
QuestionPreventing moving a toolstrip from one toolstripcontainer to another Pin
RobMaddison13-Mar-08 7:32
RobMaddison13-Mar-08 7:32 
Hi
Does anyone know how to prevent a user from moving a ToolStrip from one ToolStripContainer into another? The scenario is that I have two non-TopLevel forms on a form, both have a ToolStripContainer and each ToolStripContainer has one ToolStrip. I am able, by default, to drag the ToolStrip from one ToolStripContainer into the other ToolStripContainer.

I'm pretty surprised that this is default behaviour and that there doesn't appear to be a simple 'AllowToolStripToChangeContainers' boolean to stop this happening.

The only 'solution' to this I could find on the net (after almost a day of trawling) was to trap the ControlAdded event on the ToolStripPanel and if the ToolStrip being added doesn't belong (originally) to that ToolStripPanel, then remove it and add it back to its original ToolStripPanel.

This 'works' in so much as it works, but there is a very annoying flicker and mouse judder when the ToolStrip is immediately removed then added.

I'd really appreciate any help

Thanks
Rob
QuestionHow to save drawing from picture box drawn in GDI+ into bmp file type? Pin
yuenli13-Mar-08 5:54
yuenli13-Mar-08 5:54 
AnswerRe: How to save drawing from picture box drawn in GDI+ into bmp file type? Pin
led mike13-Mar-08 6:09
led mike13-Mar-08 6:09 
GeneralRe: How to save drawing from picture box drawn in GDI+ into bmp file type? Pin
leppie13-Mar-08 8:33
leppie13-Mar-08 8:33 
AnswerRe: How to save drawing from picture box drawn in GDI+ into bmp file type? Pin
Skippums13-Mar-08 6:55
Skippums13-Mar-08 6:55 
GeneralRe: How to save drawing from picture box drawn in GDI+ into bmp file type? Pin
yuenli13-Mar-08 13:43
yuenli13-Mar-08 13:43 
GeneralRe: How to save drawing from picture box drawn in GDI+ into bmp file type? Pin
KaptinKrunch13-Mar-08 17:11
KaptinKrunch13-Mar-08 17:11 
GeneralEditing ComboBox with DataSource Pin
polishprogrammer13-Mar-08 5:44
polishprogrammer13-Mar-08 5:44 
GeneralToolbox icon for user control Pin
hain13-Mar-08 5:25
hain13-Mar-08 5:25 
GeneralRe: Toolbox icon for user control Pin
led mike13-Mar-08 5:37
led mike13-Mar-08 5:37 
GeneralRe: Toolbox icon for user control Pin
hain13-Mar-08 5:44
hain13-Mar-08 5:44 
GeneralRe: Toolbox icon for user control Pin
led mike13-Mar-08 6:05
led mike13-Mar-08 6:05 
GeneralRe: Toolbox icon for user control [modified] Pin
hain13-Mar-08 6:17
hain13-Mar-08 6:17 
GeneralRe: Toolbox icon for user control Pin
led mike13-Mar-08 8:16
led mike13-Mar-08 8:16 
GeneralRe: Toolbox icon for user control Pin
leppie13-Mar-08 8:30
leppie13-Mar-08 8:30 
GeneralRe: Toolbox icon for user control Pin
hain13-Mar-08 10:17
hain13-Mar-08 10:17 
GeneralRe: Toolbox icon for user control Pin
hain13-Mar-08 10:20
hain13-Mar-08 10:20 
GeneralUnable to connect to Web Service Pin
Manoj Sethi13-Mar-08 5:01
Manoj Sethi13-Mar-08 5:01 

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.