|
I have a winforms application in which I am using 2 Forms to display all the necessary controls. The first Form is a splash screen in which it tells the user that it it loading etc. So I am using the following code:
Application.Run( new SplashForm() )...
Started by TK on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
So either show your splash first just by using something like:
using(MySplash form = new MySplash....
I run the splash form Application.Run on your main form.
Probably you just want to close the splash form, and not send it to back.
|
|
I have an application with one form in it, and on the Load mehtod i need to hide the form.
The form will display itself when it has need to (think along the lines of a outlook 2003 style popup), but i cant for the life of me work out how to hide the form...
Started by Pondidum on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
A better paradigm is to not create an instance of the... .
Then avoid calling Show() until you need it.
Starting the form off invisible the form's Visible property to false.
To have to manage the application startup/shutdown yourself.
|
|
Hi What is the win-based application developing with C# equivalence of startup module we had in vb6.0? a static class ? or what?
Started by odiseh on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
But I must respectfully disagree....
The default startup format embodied in "Program.cs" is not, however, the only game in town startup.
Application" there is a setting called "Startup object" which can be used to set the object" is.
|
Ask your Facebook Friends
|
Is there any reason to start a GUI program (application for Windows) written in VB.NET in the Sub Main of a module rather than directly in a form?
EDIT: The program won't take any command line parameters and it will be executed as a GUI program always...
Started by ggf31416 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Later, when you're maintainingNo, if you....
This separates startup code from your form code.
Application startup code isn't related to UI, normally concerned with splash screens, checking with your application.
On that form .
|
|
I downloaded a zip of source files containing a C# project with multiple entry points / Main methods. Since I wanted to tinker around, I created another one like this in a new type/class
class MyExperiments { static void Main(String[] args) { // do something...
Started by Gishu on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The project property page to be slightly smarter about picking up the startup object, but given.
|
|
We have a little C# startup appplication that users launch to run the latest version of our main C# WinForms application from a network share. It's kind of a simplified ClickOnce arrangement (our IT folks won't allow us to use ClickOnce).
The startup ...
Started by Old Man on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Put this as the first item form is displayed in the....
It will be just a simple Form with an image running on a separate worker thread.
Would be to have your main application kill the startup application once it has finished loading.
|
|
I'm trying to modify a C# WinForms application that uses multiple forms. At startup, a login window will be shown. If the user logs in with a correct user name and password combo a form with three different tabs will be shown as a sort of administrators...
Started by daft on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Implement the forms as UserControls instead, put them onto the same form, stripping form borders....
There are some different ways to go:
Just have the forms methods to activate them.
Form management can be a tricky issue.
|
|
I use C# to write windows applications with the .NET framework. How can I decrease startup time for these applications? My applications feel very slow during startup and initialization, particularly when showing the initial form.
My application works ...
Started by hosseinsinohe on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I'd give a more detailed answer, but your during this startup period, and....
You can change your startup code to defer startup tasks to a secondary thread.
Make sure your application does as little work as possible on startup.
|
|
Hello everyone. I am trying to create a form with webbrowser control. I am trying to open a local html file in the webbrowser control. I have the html file in Help_Print folder, so I am using the code below to specify the Url of the webbrowser.
wbPrint...
Started by kobra on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I changed two thing:
(i) I remove Uri, as I was suggested in answer... .
Hi! I found a solution to my problem even-though I am not sure why my previous code was not working .
See the bizarre and unhappy story of file urls.
Don't use black-slashes in file urls.
|
|
In my c# application i have this small form which is used to set parameters of application. Once i set the parameters my application runs fine. when i restart the application the values of field in the parametric form are reset.
how can i store and restore...
Started by Kazoom on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
While there are....
Then load them back in during startup.
You can then build your form around serializing form you like) when the application is closing or settings are changed.
Of the other configuration managers .NET provides you).
|