[RESOLVED] Modal and Modaless Problem!
Hello, I have a window which is to be shown if I click a Button...
If I use the above code new window shows up fine and I cannot use the earlier form. But in the task bar there are two icons...what I want is only one icon in the task bar without closing the first window.
SelectTest sTest = new SelectTest(); //modal
I have done same in the window form where it works fine....When I minimize the program and select the only icon in the task bar it takes me to the form where I am currently on(not on the 1st form) but the icon in the taskbar is of 1st form( because I have not changed icon for second window)...I am totally buzzed why it is not working in here.....
Re: Modal and Modaless Problem!
Check out the Window class properties in msdn.
There is a property that you can set that specifies whether to show the window in the task bar. You'll want to set this property to false.
While you are in there looking for the task bar related property, take a look at some of the other properties and read their descriptions. It'll be good to get familar with what the Window class offers.