just to clarify can we execute codes after we application.run? I would like to hide the form as well. Act as dummy to be precise.
Application.Run(); Calling another method(Is it possible?)
just to clarify can we execute codes after we application.run? I would like to hide the form as well. Act as dummy to be precise.
Application.Run(); Calling another method(Is it possible?)
At some point (e.g. the start) you want to make your form hidden (Form.Hide()
) and then do the work in a BackgroundWorker or something ... if you need to show your form for something again bring it back with Form.Show()
.
You could put code after your form has closed completely if you wanted to as well.