Click here to Skip to main content
15,914,452 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Downloader Pin
Alex Korchemniy21-Sep-04 10:24
Alex Korchemniy21-Sep-04 10:24 
GeneralRe: C# Downloader Pin
Heath Stewart21-Sep-04 11:16
protectorHeath Stewart21-Sep-04 11:16 
GeneralRe: C# Downloader Pin
shiraztk21-Sep-04 18:03
shiraztk21-Sep-04 18:03 
GeneralRe: C# Downloader Pin
Heath Stewart22-Sep-04 6:46
protectorHeath Stewart22-Sep-04 6:46 
GeneralDatabase access freezing main application Pin
Jon G21-Sep-04 6:02
Jon G21-Sep-04 6:02 
GeneralRe: Database access freezing main application Pin
Nick Parker21-Sep-04 6:56
protectorNick Parker21-Sep-04 6:56 
GeneralRe: Database access freezing main application Pin
Jon G21-Sep-04 7:09
Jon G21-Sep-04 7:09 
GeneralSubscribing multiple forms to a single Resize event Pin
Bisbal21-Sep-04 5:16
sussBisbal21-Sep-04 5:16 
Hi All,

I have created a class that simulates a MDI form by putting the 'child' inside a panel located in the 'parent' form. I had to do this because we use a custom UI that doesn't work properly with standard MDI forms.

The constructor of the class is something like

SemiMDI(System.Windows.Forms.Form client,System.Windows.Forms.Panel parentArea)

So far I've managed to create the form in the designed area and it works ok. Now the problem is when the parent form's resize event is triggered. I know it could be possible to resize the child by calling a 'rearrange' method in my class, but I would like to do it by subscribing the SemiMDI class to the 'resize method of the parent, so everytime I use my class I dont have to worry about linking the child form to the resize event of the parent.

Any ideas? Subscribing events is what I thought, but I'd like to know if you have a better solution.

Thanks!

GeneralRe: Subscribing multiple forms to a single Resize event Pin
Heath Stewart21-Sep-04 7:08
protectorHeath Stewart21-Sep-04 7:08 
GeneralRe: Subscribing multiple forms to a single Resize event Pin
Bisbal22-Sep-04 4:46
sussBisbal22-Sep-04 4:46 
GeneralSubscribing multiple forms to a single Resize event Pin
Anonymous21-Sep-04 5:15
Anonymous21-Sep-04 5:15 
GeneralDATAGRID INDEX .There are some mistakes. Please help.Im having a heck of a time Pin
macsgirl21-Sep-04 5:08
macsgirl21-Sep-04 5:08 
QuestionHow to change the color of status bar? Pin
kaalpu21-Sep-04 4:45
kaalpu21-Sep-04 4:45 
GeneralExtreme memory consumption when launching multiple controls in Panel Pin
Magnus Green21-Sep-04 4:20
Magnus Green21-Sep-04 4:20 
GeneralRe: Extreme memory consumption when launching multiple controls in Panel Pin
Heath Stewart21-Sep-04 7:02
protectorHeath Stewart21-Sep-04 7:02 
GeneralRe: Extreme memory consumption when launching multiple controls in Panel Pin
Magnus Green22-Sep-04 1:36
Magnus Green22-Sep-04 1:36 
GeneralRe: Extreme memory consumption when launching multiple controls in Panel Pin
Heath Stewart22-Sep-04 6:53
protectorHeath Stewart22-Sep-04 6:53 
GeneralRemoving the cross from a form Pin
exhaulted21-Sep-04 4:16
exhaulted21-Sep-04 4:16 
GeneralRe: Removing the cross from a form Pin
Joel Lucsy21-Sep-04 5:37
Joel Lucsy21-Sep-04 5:37 
GeneralRe: Removing the cross from a form Pin
exhaulted21-Sep-04 5:46
exhaulted21-Sep-04 5:46 
GeneralRe: Removing the cross from a form Pin
Joel Lucsy21-Sep-04 5:53
Joel Lucsy21-Sep-04 5:53 
GeneralRe: Removing the cross from a form Pin
exhaulted21-Sep-04 6:27
exhaulted21-Sep-04 6:27 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz21-Sep-04 8:16
Stefan Troschuetz21-Sep-04 8:16 
GeneralRe: Removing the cross from a form Pin
exhaulted21-Sep-04 21:44
exhaulted21-Sep-04 21:44 
GeneralRe: Removing the cross from a form Pin
Stefan Troschuetz21-Sep-04 22:02
Stefan Troschuetz21-Sep-04 22:02 

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.