Click here to Skip to main content
15,887,346 members
Home / Discussions / C#
   

C#

 
QuestionXMLSerializer formatting xsi:xxx="whatever" in my namespace declaration. Pin
glenn8828-Jun-07 8:55
glenn8828-Jun-07 8:55 
AnswerRe: XMLSerializer formatting xsi:xxx="whatever" in my namespace declaration. Pin
BoneSoft28-Jun-07 12:04
BoneSoft28-Jun-07 12:04 
GeneralRe: XMLSerializer formatting xsi:xxx="whatever" in my namespace declaration. Pin
whenrybruce30-Mar-09 7:32
whenrybruce30-Mar-09 7:32 
QuestionForm Resizing Problems Pin
PhilDanger28-Jun-07 8:55
PhilDanger28-Jun-07 8:55 
AnswerRe: Form Resizing Problems Pin
Dave Kreskowiak28-Jun-07 9:30
mveDave Kreskowiak28-Jun-07 9:30 
GeneralRe: Form Resizing Problems Pin
PhilDanger28-Jun-07 9:42
PhilDanger28-Jun-07 9:42 
AnswerRe: Form Resizing Problems Pin
Luc Pattyn28-Jun-07 10:12
sitebuilderLuc Pattyn28-Jun-07 10:12 
GeneralRe: Form Resizing Problems Pin
PhilDanger28-Jun-07 10:58
PhilDanger28-Jun-07 10:58 
Hi Luc,

Thanks for the suggestions, I'll look into it.

In the mean time, I implemented a hasty fix that of course has it's own drawbacks. The image was actually residing in a PictureBox that was inside a Panel, and the panel controlled scrolling when the PictureBox got too big to fit... instead of using the Form's Resize event, I instead hooked up a handler to the panel's Resize. This work fine except for the fact that the panel fired off a Resize when scroll bars were added. The fix to this was just to put everything in ANOTHER panel and use that one's Resize event to handle automatic resizing.

The drawback of this however, is that a Panel doesn't have ResizeBegin or ResizeEnd events -- I was scaling the image every half a second it was being resized so that it wasn't doing an expensive resize 20 times a second and then doing one final resize on the ResizeEnd. With the new "fix", I can stop resizing between the times when it is making the new scaled image, and it won't fit properly (just a bit off).

Now to investigate this one!

Thanks again,


Phil
GeneralRe: Form Resizing Problems Pin
Luc Pattyn28-Jun-07 11:19
sitebuilderLuc Pattyn28-Jun-07 11:19 
Questionexecute Pin
SVb.net28-Jun-07 8:09
SVb.net28-Jun-07 8:09 
AnswerRe: execute Pin
ednrgc28-Jun-07 8:19
ednrgc28-Jun-07 8:19 
Questionexecute Pin
SVb.net28-Jun-07 8:07
SVb.net28-Jun-07 8:07 
QuestionDataRelation Error Pin
stormcandi28-Jun-07 7:53
stormcandi28-Jun-07 7:53 
AnswerRe: DataRelation Error Pin
stormcandi28-Jun-07 8:16
stormcandi28-Jun-07 8:16 
GeneralRe: DataRelation Error Pin
sidbaruah28-Jun-07 21:01
sidbaruah28-Jun-07 21:01 
GeneralRe: DataRelation Error Pin
stormcandi29-Jun-07 4:25
stormcandi29-Jun-07 4:25 
Questionapplication which is using/listening the particular port Pin
jfna28-Jun-07 6:56
jfna28-Jun-07 6:56 
QuestionHow to create Bitmapped Context Menu in Windows Explorer Pin
ramesh_nrk28-Jun-07 6:30
ramesh_nrk28-Jun-07 6:30 
AnswerRe: How to create Bitmapped Context Menu in Windows Explorer Pin
Mark Greenwood28-Jun-07 7:42
Mark Greenwood28-Jun-07 7:42 
GeneralRe: How to create Bitmapped Context Menu in Windows Explorer Pin
ramesh_nrk28-Jun-07 20:13
ramesh_nrk28-Jun-07 20:13 
QuestionShould I use objects or XML Pin
oceanexplorer28-Jun-07 6:24
oceanexplorer28-Jun-07 6:24 
AnswerRe: Should I use objects or XML Pin
Mark Greenwood28-Jun-07 7:59
Mark Greenwood28-Jun-07 7:59 
GeneralRe: Should I use objects or XML Pin
oceanexplorer28-Jun-07 23:00
oceanexplorer28-Jun-07 23:00 
QuestionHow to manipulate the displaying of the "From" email address Pin
JohnTheDuke28-Jun-07 6:18
JohnTheDuke28-Jun-07 6:18 
AnswerRe: How to manipulate the displaying of the "From" email address Pin
Muhammad Qasim Pasta28-Jun-07 9:46
Muhammad Qasim Pasta28-Jun-07 9:46 

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.