|
Message Closed
modified 23-Nov-14 7:26am.
|
|
|
|
|
there is no dock property in the layout properties in the user control.
modified 31-Dec-20 21:02pm.
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:26am.
|
|
|
|
|
even if i start over and adding a new user control i don't have a dock property for it.
modified 31-Dec-20 21:02pm.
|
|
|
|
|
Do you mean that when the user clicks the button you want them to be able to see and use your control? If so, then make use of the visible property.
If you are changing the size with the size property and it is not working, then you have a coding mistake somewhere.
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hi
This is Indresh I am new in C# I want to create a tree view of the form controls. With the each node I want to display a check box. By clicking on the check box I want to enable and disable the controls.
Hierarchy should be like this
Container form
child form1
control1
control2
child form2
control1
control2
child form3
control1
control2
Sorry for bad english
Tanks in advance
|
|
|
|
|
What is your queation?
Which part of this are you having problems with?
|
|
|
|
|
suppose your treeview name is treeview1.
use treeview1.nodes.add(your desired form name);
for child node :
treeview1.nodes[index].nodes.add(your control name);
from the treeview1 property true the value of checkbox property.
handle the afterselect event and check whither the
e.Node.Checked return true or false. Then take necessary action as you want
|
|
|
|
|
lm working on central bakery system and l want to fix the look of my forms is it possible to use CSS on windows application forms lm using C# on visual studio 2008
|
|
|
|
|
CSS cannot be used for windows forms (TTBOMK).
There is a company[^] selling something they claim is similar, but I've never investigated.
The best you can do is define a single form with the style you want, and derive from it, but that won't give you the button, text etc styles you probably want.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
can u please send me a code sample of what u are talking abt it seems like a good idea
|
|
|
|
|
Step one: Create a form that looks like what you want. Call it "GeneralForm"
Step two: Create a new form. Where it says "public partial class Form1 : Form" change "Form" to "GeneralForm"
Step three: Learn what you are being paid for?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
|
Though i am unable to understand fully what you want, but from what i get (that you want to write this string to some other system) you are in need of remoting.
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
What if they just edit the hostsfile again to "unblock"?
|
|
|
|
|
|
I suppose you could block those sites at the router, or with your DNS if you have a proper DNS service (OpenDNS for example)
|
|
|
|
|
|
It would depend on the router you're using
|
|
|
|
|
If you have network administrators in your organisation, why don't you let them worry about blocking sites. There already existing solutions(firewalls) that handle that kind of thing. Whatever solution you come up with is likely to have lots of holes.
|
|
|
|
|
|
And you're trying to do this without any networking knowledge??
|
|
|
|
|
|
I would go see your teacher, otherwise you are scuh-rewed.
|
|
|
|
|
You know its a good day when the climax to a long list of message posts ends with such a humorous response. It makes you remember why you bother reading these kind of posts in the first place.
To be slightly more constructive... choose another project!
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|