|
You don't add controls from the properties window, but from the toolbox. The properties window is empty when you're looking at code, it's only valid when you're in design view.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
First of all, i am getting empty toolbox.
Even if i use choose items to add in Toolbox,there is no components for
adding.
I am working on Microsoft from the past 3 months.
When i opened my earlier Window Application Projects, its working Fine.
Only thing is ,When i tried to modify the properties for the control,
Its empty. Still i am able add and modify controls manually.
With Thanks,
Sakthi
|
|
|
|
|
This happened to me before.
Close VS.NET, restart your computer and try again.
That seemed to work for me.
|
|
|
|
|
Thanks Marky
Its going Fine After i restart my machine.
did you figure out the problem.
Sakthi
|
|
|
|
|
1 of my mottos: if all else fails, just restart...
|
|
|
|
|
Properties , Toolbox windows are displayed in the design mode only
if you are at the design mode and those windows dont appear too , display them from View menu
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
hi
i want to create ThreadStart object and pass to it a method with a string parameter, but how to do ? please give an example by code. thanks
|
|
|
|
|
I think it is not possible in C#, only methods without params.
All the best,
Martin
|
|
|
|
|
All the ways of starting a thread I know of, have a version which takes an object as a param. It needs to be cast on the other side into what ever you expect it to be.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello,
If you are using the ThreadStart class and "void()" as parameter, there is no way to add a param for the method, I think.
Second Constructor of ThreadStart takes object and IntPtr as params. (never used it)
All the best,
Martin
|
|
|
|
|
the solution u may have to use is as follow
define a class contains some properties which represent the parameters you wanna pass to the thread method
and create a static method in this class too,
finaly , when you want to create a new thread , then set the properties of the class with the values as if you were passing them as parameters , then pass the static method to the ThreadStart delegate. at this time the method can operate on the properties as if they were passed as parameters
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
A ParameterizedThreadStart may help with your situation. Look Here[^] .
|
|
|
|
|
My problem is that I need to create an array of tabbed pages so that I can reference each pages components. But when I do create the array I can't access the components, can anyone give me a hand?
Freedom is the right to say that 2+2=5 if this is so everything else will follow.
|
|
|
|
|
Each element in your array needs to be of the type of a control that you create to include those components. If it's an instance of the tab page, then it's just going to have the standard tab page elements. And that means you need an array of tab pages, and to cast each one as you need to. I think you need to reconsider your design.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have a datagrid with one checkbox in each row and i have a no. of rows. How can I find programmatically the row no.s in which the checkboxes are checked?
-- modified at 8:18 Wednesday 25th April, 2007
|
|
|
|
|
Hi!
i am developing application in C# 2005, i want to minimize my application into system tray when user press the minimize button. i saw few articles and demo projects regarding this but could not understand that how i will implement them in my application.
Is there any built in method provided by dotnet for this purpose?
Thanks in advance...
Regards,
Affan Ahmad Toor
|
|
|
|
|
one way to do this like make Control Box false.
then Create your own minimize box adding one button.
and on Minimizebutton Click write
this.Hide()
Sanjit.rajbanshi@wlinktech.com
|
|
|
|
|
|
|
Hi,
I have designed a Form with Graph,and with some log messages displayed in
ListBox and a DataSet with DataTable which will get populated at runtime.
How can i save the entire Form with its contents.
With Thanks,
Sakthi.
|
|
|
|
|
Check the Code project site for articles about Serialization. There are many possibilities to choose, depending on your needs.
|
|
|
|
|
make your form object serilizable to save it
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
I want to save the form with its current data and open it directly whenever i
want Just like exe
Regards
Sakthi
|
|
|
|
|
Hi,
I would like to know how to call the webservice (SOAP\HTTPS) over https connections in c#, please point me to the article.I'm finding articles for http but not for https.
Thank you
Mohan
|
|
|
|
|
You set up the https in the properties of the web service. If you go into iis manager find your web service right click properties. On the web site tab you set the ssl port to 443. You need to have a certificate for ssl to work. Then your address to your web service will be https:
Hope that helps.
Ben
|
|
|
|