Click here to Skip to main content
15,881,812 members
Home / Discussions / C#
   

C#

 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
J. Dunlap31-Jul-03 15:38
J. Dunlap31-Jul-03 15:38 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
Anthony_Yio31-Jul-03 16:35
Anthony_Yio31-Jul-03 16:35 
AnswerRe: VB6 - Property Let, Event and '\' - c# how? Pin
J. Dunlap31-Jul-03 8:39
J. Dunlap31-Jul-03 8:39 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
Chua Wen Ching31-Jul-03 15:22
Chua Wen Ching31-Jul-03 15:22 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
J. Dunlap31-Jul-03 15:34
J. Dunlap31-Jul-03 15:34 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
Chua Wen Ching31-Jul-03 23:47
Chua Wen Ching31-Jul-03 23:47 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
J. Dunlap1-Aug-03 9:00
J. Dunlap1-Aug-03 9:00 
GeneralRe: VB6 - Property Let, Event and '\' - c# how? Pin
sburton@amersham1-Aug-03 8:18
sburton@amersham1-Aug-03 8:18 
Another way: You can make this an overloaded method or create two properties.

// OVERLOADED METHODS
public string SmallWindowPrompt( int smallWindowNumber ) {

    return this.SM[sallWindowNumber];

}

public void SmallWindowPrompt( int smallWindowNumber, string vData ) {

    SM[smallWindowNumber] = vData;

}


// PROPERTIES
public string GetSmallWindowPrompt {
    get { return this.SM[SmallWindowNumber];}
}

public string SetSmallWindowPrompt {
    set{ this.SM[SmallWindowNumber] = value;}
}

AnswerRe: VB6 - Property Let, Event and '\' - c# how? Pin
sburton@amersham31-Jul-03 9:41
sburton@amersham31-Jul-03 9:41 
QuestionUsing Custom .dll files - where do they go? Pin
mikemilano31-Jul-03 7:07
mikemilano31-Jul-03 7:07 
AnswerRe: Using Custom .dll files - where do they go? Pin
Martin Cook31-Jul-03 7:21
professionalMartin Cook31-Jul-03 7:21 
AnswerRe: Using Custom .dll files - where do they go? Pin
mikemilano31-Jul-03 7:36
mikemilano31-Jul-03 7:36 
GeneralRe: Using Custom .dll files - where do they go? Pin
Rein Hillmann31-Jul-03 22:20
Rein Hillmann31-Jul-03 22:20 
GeneralHiding Form on Startup Pin
Adam Durity31-Jul-03 5:40
Adam Durity31-Jul-03 5:40 
GeneralRe: Hiding Form on Startup Pin
JM_FL31-Jul-03 6:27
JM_FL31-Jul-03 6:27 
GeneralRe: Hiding Form on Startup Pin
Ista31-Jul-03 6:57
Ista31-Jul-03 6:57 
GeneralRe: Hiding Form on Startup Pin
Adam Durity31-Jul-03 8:35
Adam Durity31-Jul-03 8:35 
GeneralAutoScroll jumping to 0 Pin
S O S31-Jul-03 5:01
S O S31-Jul-03 5:01 
GeneralRe: AutoScroll jumping to 0 Pin
misterbear31-Jul-03 22:59
misterbear31-Jul-03 22:59 
GeneralListView and user click Pin
aeros31-Jul-03 4:21
aeros31-Jul-03 4:21 
GeneralRe: ListView and user click Pin
Rampas Tomas31-Jul-03 17:41
Rampas Tomas31-Jul-03 17:41 
GeneralRe: ListView and user click Pin
aeros31-Jul-03 22:44
aeros31-Jul-03 22:44 
GeneralRe: ListView and user click Pin
Rampas Tomas1-Aug-03 3:31
Rampas Tomas1-Aug-03 3:31 
Generalscaling text to fit into rectangle Pin
misterbear31-Jul-03 4:13
misterbear31-Jul-03 4:13 
Generalhelp!! about the ListView Pin
vvvmmmvvv31-Jul-03 4:10
vvvmmmvvv31-Jul-03 4:10 

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.