How to Create Component in c#?
-
hi, i created component in c#. in this component having properties and methods, i add this component in another application as a toolbox item and drag into form. I see the properties of the component it having all of my properties but i give the value in properties window will not taken.. if i create object in form and give values manually it will take and run successfully. My Q? how to use properties window for user created component? pls help me soon..
R RajaGuru
-
hi, i created component in c#. in this component having properties and methods, i add this component in another application as a toolbox item and drag into form. I see the properties of the component it having all of my properties but i give the value in properties window will not taken.. if i create object in form and give values manually it will take and run successfully. My Q? how to use properties window for user created component? pls help me soon..
R RajaGuru
well how are you creating your properties? should work if they like this...
private string propertyString = "Default Value";
public string PropertyString{
get{return propertyString;}
set{propertyString = value;}
}Life goes very fast. Tomorrow, today is already yesterday.
-
hi, i created component in c#. in this component having properties and methods, i add this component in another application as a toolbox item and drag into form. I see the properties of the component it having all of my properties but i give the value in properties window will not taken.. if i create object in form and give values manually it will take and run successfully. My Q? how to use properties window for user created component? pls help me soon..
R RajaGuru
:mad: Did you mark my answer as 1???? if it didnt help thats one thing but you could atleast justify doing it. no ones going to answer your retard question if you dont even respond to suggestions!!! And in all fairness I did answer your question as what i gave you IS what is needed to...
crrajaguru wrote:
use properties window for user created component
EDIT: Of course if it wasnt you that marked as 1 then this message can be ignored
Life goes very fast. Tomorrow, today is already yesterday.
-
:mad: Did you mark my answer as 1???? if it didnt help thats one thing but you could atleast justify doing it. no ones going to answer your retard question if you dont even respond to suggestions!!! And in all fairness I did answer your question as what i gave you IS what is needed to...
crrajaguru wrote:
use properties window for user created component
EDIT: Of course if it wasnt you that marked as 1 then this message can be ignored
Life goes very fast. Tomorrow, today is already yesterday.
musefan wrote:
Did you mark my answer as 1????
Don't get to upset about it, there are a couple univoters around who will just vote everything a 1. And you'll always have people who don't respond. And I balanced it out a bit with a 'good answer' vote since it did answer his question (or what I believe his question is)
-
well how are you creating your properties? should work if they like this...
private string propertyString = "Default Value";
public string PropertyString{
get{return propertyString;}
set{propertyString = value;}
}Life goes very fast. Tomorrow, today is already yesterday.
i create property like as you.. my question is.. if use this component in other project to drag this component from toolbox to form and goto component properties the all properties displayed but i can't give values there.. if i give it will not taken in code... if i give in code it will taken
R RajaGuru
-
musefan wrote:
Did you mark my answer as 1????
Don't get to upset about it, there are a couple univoters around who will just vote everything a 1. And you'll always have people who don't respond. And I balanced it out a bit with a 'good answer' vote since it did answer his question (or what I believe his question is)
-
What's the betting he didn't put a setter in his code. Muppet! I've given you a 5 as well.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”