Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Form.Hide() doesn't work Pin
Luc Pattyn5-Jul-09 1:07
sitebuilderLuc Pattyn5-Jul-09 1:07 
QuestionDrawing ellipse in C# . Pin
shameerpv4-Jul-09 22:16
shameerpv4-Jul-09 22:16 
AnswerRe: Drawing ellipse in C# . Pin
molesworth4-Jul-09 22:35
molesworth4-Jul-09 22:35 
AnswerRe: Drawing ellipse in C# . Pin
Christian Graus5-Jul-09 0:21
protectorChristian Graus5-Jul-09 0:21 
QuestionNo of Users connected in MS-Access Database ? Pin
suleh4-Jul-09 20:50
suleh4-Jul-09 20:50 
Questionquestion about setup Pin
sumanpandey4-Jul-09 20:47
sumanpandey4-Jul-09 20:47 
AnswerRe: question about setup Pin
Manas Bhardwaj4-Jul-09 21:06
professionalManas Bhardwaj4-Jul-09 21:06 
Questionvalidating xml and ignore some elements with out changing schema Pin
shmely4-Jul-09 20:12
shmely4-Jul-09 20:12 
QuestionHow to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Andy Rama4-Jul-09 20:09
Andy Rama4-Jul-09 20:09 
AnswerRe: How to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Christian Graus5-Jul-09 0:22
protectorChristian Graus5-Jul-09 0:22 
GeneralRe: How to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Andy Rama10-Jul-09 9:46
Andy Rama10-Jul-09 9:46 
AnswerRe: How to store & retrieve Paragraph Data using XmlSerializer in XML Pin
Andy Rama19-Jul-09 6:07
Andy Rama19-Jul-09 6:07 
Questionsearch in datagridview [modified] Pin
ducanhthanhhoa4-Jul-09 18:02
ducanhthanhhoa4-Jul-09 18:02 

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.