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

C#

 
GeneralRe: Creating a Class that can be a list? Pin
Luc Pattyn28-Dec-09 7:13
sitebuilderLuc Pattyn28-Dec-09 7:13 
GeneralRe: Creating a Class that can be a list? Pin
DaveyM6928-Dec-09 10:23
professionalDaveyM6928-Dec-09 10:23 
GeneralRe: Creating a Class that can be a list? Pin
ProtoBytes28-Dec-09 12:14
ProtoBytes28-Dec-09 12:14 
GeneralRe: Creating a Class that can be a list? Pin
Luc Pattyn28-Dec-09 12:19
sitebuilderLuc Pattyn28-Dec-09 12:19 
AnswerRe: Creating a Class that can be a list? Pin
Saksida Bojan28-Dec-09 5:37
Saksida Bojan28-Dec-09 5:37 
AnswerRe: Creating a Class that can be a list? Pin
#realJSOP28-Dec-09 9:44
mve#realJSOP28-Dec-09 9:44 
QuestionFew questions Pin
Saksida Bojan28-Dec-09 5:04
Saksida Bojan28-Dec-09 5:04 
AnswerRe: Few questions Pin
ProtoBytes28-Dec-09 6:48
ProtoBytes28-Dec-09 6:48 
Saksida Bojan wrote:
1st question:
How can I create a class to be used like XmlNode. XmlNode can be XmlElement or other types. I want to use similar approach. I need it, because I want draw other type of controls within one control.


Okay, well then create a simple interface for your object and have a toString method that can convert it to the correct output. Look at the XML classes and interfaces, they all share a common.


Saksida Bojan wrote:
Example:
Display a Group box with a picture and a button as an item in TreeView



This is more complex. You would have to use some kind of logic to display the node as such. HTML/WPF/SilverLight/WinForms all do it differently. Look for some examples on:

Creating User Controls.


Saksida Bojan wrote:
2nd Question:
My Control is Inherits Control class. How can I hide some properties and/or change its description.


In the designer. All properties are visible. You can change them there, there will be somethings you can't hide or change depending on the inheritance of the object/control.

Question: What are you creating the control in? WPF?
GeneralRe: Few questions Pin
Saksida Bojan28-Dec-09 8:50
Saksida Bojan28-Dec-09 8:50 
GeneralRe: Few questions Pin
ProtoBytes28-Dec-09 9:15
ProtoBytes28-Dec-09 9:15 
AnswerRe: Few questions Pin
DaveyM6928-Dec-09 10:42
professionalDaveyM6928-Dec-09 10:42 
GeneralRe: Few questions Pin
Saksida Bojan28-Dec-09 11:33
Saksida Bojan28-Dec-09 11:33 
GeneralRe: Few questions Pin
ProtoBytes28-Dec-09 12:12
ProtoBytes28-Dec-09 12:12 
QuestionNetwork permission for Windows service Pin
Priya Prk28-Dec-09 4:56
Priya Prk28-Dec-09 4:56 
AnswerRe: Network permission for Windows service Pin
Blikkies28-Dec-09 5:33
professionalBlikkies28-Dec-09 5:33 
AnswerRe: Network permission for Windows service Pin
Dave Kreskowiak28-Dec-09 5:33
mveDave Kreskowiak28-Dec-09 5:33 
GeneralRe: Network permission for Windows service Pin
Priya Prk28-Dec-09 6:07
Priya Prk28-Dec-09 6:07 
Question[Message Deleted] Pin
santhosh-padamatinti28-Dec-09 2:14
santhosh-padamatinti28-Dec-09 2:14 
AnswerRe: please answer Pin
Dave Kreskowiak28-Dec-09 3:56
mveDave Kreskowiak28-Dec-09 3:56 
Questioninsert datetime to database Pin
Erdinc2728-Dec-09 1:48
Erdinc2728-Dec-09 1:48 
AnswerRe: insert datetime to database Pin
OriginalGriff28-Dec-09 2:14
mveOriginalGriff28-Dec-09 2:14 
GeneralRe: insert datetime to database Pin
Erdinc2728-Dec-09 2:53
Erdinc2728-Dec-09 2:53 
GeneralRe: insert datetime to database Pin
Blue_Boy28-Dec-09 3:12
Blue_Boy28-Dec-09 3:12 
GeneralRe: insert datetime to database Pin
Luc Pattyn28-Dec-09 3:26
sitebuilderLuc Pattyn28-Dec-09 3:26 
GeneralRe: insert datetime to database Pin
OriginalGriff28-Dec-09 4:13
mveOriginalGriff28-Dec-09 4:13 

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.