Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
Generalrequest for 70-526 Pin
2222222222225-Jul-09 3:26
2222222222225-Jul-09 3:26 
GeneralRe: request for 70-526 Pin
Alan N5-Jul-09 3:44
Alan N5-Jul-09 3:44 
GeneralRe: request for 70-526 Pin
OriginalGriff5-Jul-09 3:54
mveOriginalGriff5-Jul-09 3:54 
GeneralRe: request for 70-526 Pin
Christian Graus5-Jul-09 4:08
protectorChristian Graus5-Jul-09 4:08 
GeneralRe: request for 70-526 Pin
Sergey Alexandrovich Kryukov18-Oct-13 5:30
mvaSergey Alexandrovich Kryukov18-Oct-13 5:30 
Questionrequest for sending 70-526 dumps. Pin
2222222222225-Jul-09 3:24
2222222222225-Jul-09 3:24 
QuestionGenerating a graph with Crystal Report ? Pin
Mohammad Dayyan5-Jul-09 3:04
Mohammad Dayyan5-Jul-09 3:04 
QuestionHelp with webBrowser control resource use Pin
labdakos5-Jul-09 3:02
labdakos5-Jul-09 3:02 
Questionconnecting to usb via c# program Pin
majem5-Jul-09 2:17
majem5-Jul-09 2:17 
QuestionWhat is the differentation between Convert.ToInt32() and (int) Casting Pin
dataminers5-Jul-09 1:36
dataminers5-Jul-09 1:36 
AnswerRe: What is the differentation between Convert.ToInt32() and (int) Casting Pin
dan!sh 5-Jul-09 2:16
professional dan!sh 5-Jul-09 2:16 
AnswerRe: What is the differentation between Convert.ToInt32() and (int) Casting Pin
OriginalGriff5-Jul-09 2:25
mveOriginalGriff5-Jul-09 2:25 
QuestionWhat is the diffirentation between Stack and Stack<Person> Pin
dataminers5-Jul-09 1:00
dataminers5-Jul-09 1:00 
AnswerRe: What is the diffirentation between Stack and Stack<Person> [modified] Pin
Luc Pattyn5-Jul-09 1:10
sitebuilderLuc Pattyn5-Jul-09 1:10 
GeneralRe: What is the diffirentation between Stack and Stack<Person> Pin
dataminers5-Jul-09 1:29
dataminers5-Jul-09 1:29 
GeneralRe: What is the diffirentation between Stack and Stack<Person> Pin
Luc Pattyn5-Jul-09 1:33
sitebuilderLuc Pattyn5-Jul-09 1:33 
GeneralRe: What is the diffirentation between Stack and Stack<Person> Pin
OriginalGriff5-Jul-09 1:36
mveOriginalGriff5-Jul-09 1:36 
QuestionForm.Hide() doesn't work Pin
Javango4-Jul-09 23:11
Javango4-Jul-09 23:11 
AnswerRe: Form.Hide() doesn't work Pin
Baeltazor4-Jul-09 23:33
Baeltazor4-Jul-09 23:33 
GeneralRe: Form.Hide() doesn't work Pin
Javango4-Jul-09 23:55
Javango4-Jul-09 23:55 
GeneralRe: Form.Hide() doesn't work Pin
Baeltazor5-Jul-09 0:24
Baeltazor5-Jul-09 0:24 
Javango wrote:
run() is overwriting the Visible property (as i think)


Okay, so where did you paste the
this.Visible = false;
code? It should be placed inside the Form1_Load event if you want to hide the form at startup, like so:

private void Form1_Load(object sender, EventArgs e)
        {
		this.Visible = false;

		/* The above code will
		hide the form when the application starts up */
	}


If that's how you've used the code and it doesn't work then maybe you could try replacing:

this.Visible = false;


with this:

Form.ActiveForm.Visible = false;


OR;

If you believe that the run() method is overwriting the Visible property then maybe you could try hiding the Form once it's been shown. You can do this by creating a Form1_Shown event handler and using the same code provided above.


Hope this helps.

Jase.
GeneralRe: Form.Hide() doesn't work Pin
Javango5-Jul-09 1:01
Javango5-Jul-09 1:01 
GeneralRe: Form.Hide() doesn't work Pin
rahul.sree6-Jul-09 20:40
rahul.sree6-Jul-09 20:40 
AnswerRe: Form.Hide() doesn't work Pin
Mycroft Holmes4-Jul-09 23:43
professionalMycroft Holmes4-Jul-09 23:43 
GeneralRe: Form.Hide() doesn't work Pin
Javango4-Jul-09 23:59
Javango4-Jul-09 23:59 

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.