P
personificator
Hello .Net enthusiasts. I have a problem with a Mobil Application I'm
developing on the Windows CE 5 platform. The application will crash
eratically without displaying debugging info usually when loading a
separate form using show and hide methods. I placed try/catches on all
the code blocks I thought would contribute to the crash, but have not
solved the problem. I've been reading forums and have come to the
conclusion that the entire application should be using one form and
multiple windowing panels instead of loading a new form every time.
Could this be the problem, or is mine rooted much deeper? I really
would like to figure this out, so any insight would help. If I should
move all the forms into panels, what would be the best way to go about
this as each form is in a separate file.
Thank you for reading.
P.S. This is all done using .Net 2.0 Compact framework with C Sharp.
This is my current code.
Form MediaForm = new frmMediaForm();
MediaForm.Show();
this.Hide();
This what I'm thinking I need to do instead.
pnlMediaForm.Show();
pnlCurrentForm.Hide();
developing on the Windows CE 5 platform. The application will crash
eratically without displaying debugging info usually when loading a
separate form using show and hide methods. I placed try/catches on all
the code blocks I thought would contribute to the crash, but have not
solved the problem. I've been reading forums and have come to the
conclusion that the entire application should be using one form and
multiple windowing panels instead of loading a new form every time.
Could this be the problem, or is mine rooted much deeper? I really
would like to figure this out, so any insight would help. If I should
move all the forms into panels, what would be the best way to go about
this as each form is in a separate file.
Thank you for reading.
P.S. This is all done using .Net 2.0 Compact framework with C Sharp.
This is my current code.
Form MediaForm = new frmMediaForm();
MediaForm.Show();
this.Hide();
This what I'm thinking I need to do instead.
pnlMediaForm.Show();
pnlCurrentForm.Hide();