Modifying a ready application

  • Thread starter Thread starter Ronny
  • Start date Start date
R

Ronny

I have a simple winform application that has some controls and some
functionality around it.
I would like to add a new form that would be may main form, and convert the
original form with its functionality into a secondary form.
Is it simple?
How can I do it?
Regards
Ronny
 
Look at (typically) Program.cs; or just look for the "Main" method.
There is nothing special about your current main form, except that this
is what your "Main" method happens to display. Change this to show your
new form and you should be done. You don't need to do anything to make
your current form a secondary form, except show it at some point.

Marc
 
I have a simple winform application that has some controls and some
functionality around it.
I would like to add a new form that would be may main form, and convert the
original form with its functionality into a secondary form.
Is it simple?
How can I do it?
Regards
Ronny

Hi,

your post is not very clear, do you have the source code?
if so it's simply, just look for an Application.Run line and change
the form to your new form

if you do not have the code though, then thigns are more interesting
 
Back
Top