Click here to Skip to main content
15,896,330 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do you compile code from notepad? Pin
PIEBALDconsult20-Aug-09 12:54
mvePIEBALDconsult20-Aug-09 12:54 
AnswerRe: How do you compile code from notepad? Pin
Natural_Demon20-Aug-09 14:14
Natural_Demon20-Aug-09 14:14 
AnswerRe: How do you compile code from notepad? Pin
darkelv20-Aug-09 15:38
darkelv20-Aug-09 15:38 
GeneralRe: How do you compile code from notepad? Pin
dan!sh 20-Aug-09 18:49
professional dan!sh 20-Aug-09 18:49 
AnswerRe: How do you compile code from notepad? Pin
Richard MacCutchan25-Aug-09 10:38
mveRichard MacCutchan25-Aug-09 10:38 
QuestionProblem with play real-time audio signals Pin
hossein khatoonabadi20-Aug-09 9:25
hossein khatoonabadi20-Aug-09 9:25 
QuestionUser Control: Property use Pin
favianq20-Aug-09 9:22
favianq20-Aug-09 9:22 
AnswerRe: User Control: Property use Pin
Henry Minute20-Aug-09 11:48
Henry Minute20-Aug-09 11:48 
By implementing a DataSource propery and a DataMember property

Something like this:
        private object dataSource = null;
        private string dataMember = string.Empty;

[
Category("Data"),
Editor("SystemWindows.Forms.Design.DataMemberListEditor, System.Design", typeof(UITypeEditor))
]
public string DataMember
{
    get
    {
        return this.dataMember;
    }

    set
    {
        this.dataMember = value;
    }
}

[
Category("Data"),
AttributeProvider(typeof(IListSource)),
TypeConverter("System.Windows.Forms.Design.DataSourceConverter, System.Design")
]
public object DataSource
{
    get
    {
        return this.dataSource;
    }

    set
    {
        this.dataSource = value;
    }
}


It may be more complicated than this, but these are the basics. Look up any of the terms on MSDN for more detail.

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.”

QuestionHow do I use external libraries in my project? (using <taglib>)</taglib> Pin
pietlut20-Aug-09 6:35
pietlut20-Aug-09 6:35 
AnswerRe: How do I use external libraries in my project? (using ) Pin
Saksida Bojan20-Aug-09 7:26
Saksida Bojan20-Aug-09 7:26 
AnswerRe: How do I use external libraries in my project? (using ) Pin
PIEBALDconsult20-Aug-09 7:57
mvePIEBALDconsult20-Aug-09 7:57 
AnswerRe: How do I use external libraries in my project? (using ) Pin
stancrm20-Aug-09 8:10
stancrm20-Aug-09 8:10 
AnswerRe: How do I use external libraries in my project? (using ) Pin
Wes Aday20-Aug-09 9:24
professionalWes Aday20-Aug-09 9:24 
QuestionHow to set the x & y axis fontsize in MSChart Pin
JohnQuar120-Aug-09 4:24
JohnQuar120-Aug-09 4:24 
AnswerRe: How to set the x & y axis fontsize in MSChart Pin
Luc Pattyn20-Aug-09 5:20
sitebuilderLuc Pattyn20-Aug-09 5:20 
GeneralRe: How to set the x & y axis fontsize in MSChart Pin
JohnQuar120-Aug-09 5:24
JohnQuar120-Aug-09 5:24 
GeneralRe: How to set the x & y axis fontsize in MSChart Pin
Luc Pattyn20-Aug-09 5:25
sitebuilderLuc Pattyn20-Aug-09 5:25 
GeneralRe: How to set the x & y axis fontsize in MSChart Pin
JohnQuar120-Aug-09 5:28
JohnQuar120-Aug-09 5:28 
QuestionIn which cases SetForegroundWindow return false Pin
Bil@l20-Aug-09 4:19
Bil@l20-Aug-09 4:19 
AnswerRe: In which cases SetForegroundWindow return false Pin
0x3c020-Aug-09 5:18
0x3c020-Aug-09 5:18 
AnswerRe: In which cases SetForegroundWindow return false Pin
Luc Pattyn20-Aug-09 5:24
sitebuilderLuc Pattyn20-Aug-09 5:24 
AnswerRe: In which cases SetForegroundWindow return false Pin
Eddy Vluggen20-Aug-09 8:18
professionalEddy Vluggen20-Aug-09 8:18 
GeneralRe: In which cases SetForegroundWindow return false Pin
Luc Pattyn20-Aug-09 14:42
sitebuilderLuc Pattyn20-Aug-09 14:42 
QuestionHow to load an seembly in new Appdomain Pin
jpk42020-Aug-09 4:10
jpk42020-Aug-09 4:10 
AnswerRe: How to load an seembly in new Appdomain Pin
SeMartens20-Aug-09 4:13
SeMartens20-Aug-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.