Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Refreash an array list Pin
0x3c016-Mar-09 7:46
0x3c016-Mar-09 7:46 
GeneralRe: How to Refreash an array list Pin
soulidentities16-Mar-09 8:01
soulidentities16-Mar-09 8:01 
AnswerRe: How to Refreash an array list Pin
Mohammad Dayyan16-Mar-09 9:44
Mohammad Dayyan16-Mar-09 9:44 
AnswerRe: How to Refreash an array list Pin
S K Y16-Mar-09 15:09
S K Y16-Mar-09 15:09 
QuestionC# and Excel Pin
su_penguin16-Mar-09 6:42
su_penguin16-Mar-09 6:42 
AnswerRe: C# and Excel Pin
Jimmanuel16-Mar-09 6:58
Jimmanuel16-Mar-09 6:58 
GeneralRe: C# and Excel Pin
su_penguin16-Mar-09 7:01
su_penguin16-Mar-09 7:01 
GeneralRe: C# and Excel Pin
Jimmanuel16-Mar-09 7:44
Jimmanuel16-Mar-09 7:44 
GeneralRe: C# and Excel Pin
su_penguin16-Mar-09 8:15
su_penguin16-Mar-09 8:15 
GeneralRe: C# and Excel Pin
Jimmanuel16-Mar-09 8:49
Jimmanuel16-Mar-09 8:49 
Questionc# class editor Pin
MikiR16-Mar-09 6:24
MikiR16-Mar-09 6:24 
AnswerRe: c# class editor Pin
led mike16-Mar-09 6:59
led mike16-Mar-09 6:59 
GeneralRe: c# class editor Pin
MikiR16-Mar-09 7:10
MikiR16-Mar-09 7:10 
QuestionAccessing a Web.config from a windows app [modified] Pin
dptalt16-Mar-09 5:28
dptalt16-Mar-09 5:28 
AnswerRe: Accessing a Web.config from a windows app Pin
led mike16-Mar-09 5:42
led mike16-Mar-09 5:42 
QuestionOpen SQL connection via C# Pin
Ido16-Mar-09 4:44
Ido16-Mar-09 4:44 
AnswerRe: Open SQL connection via C# Pin
led mike16-Mar-09 5:39
led mike16-Mar-09 5:39 
GeneralRe: Open SQL connection via C# Pin
Ido16-Mar-09 6:36
Ido16-Mar-09 6:36 
GeneralRe: Open SQL connection via C# Pin
led mike16-Mar-09 6:57
led mike16-Mar-09 6:57 
GeneralRe: Open SQL connection via C# Pin
Ido16-Mar-09 7:28
Ido16-Mar-09 7:28 
GeneralRe: Open SQL connection via C# Pin
led mike16-Mar-09 7:51
led mike16-Mar-09 7:51 
AnswerRe: Open SQL connection via C# Pin
fly90416-Mar-09 7:37
fly90416-Mar-09 7:37 
QuestionCustom properties for inherited button control Pin
akamper16-Mar-09 3:56
akamper16-Mar-09 3:56 
AnswerRe: Custom properties for inherited button control Pin
DaveyM6916-Mar-09 4:57
professionalDaveyM6916-Mar-09 4:57 
No, unfortunately not. That's the idea behind inheritance, you add to something, not take away from it. MS do it themselves of course but they don't give us the option.

The best you can do is declare the property as new instead of override, that way you can make it readonly by only providing a getter and decorating with these attributes.
[Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden),
Obsolete]
public new string Text
{
    get { return base.Text; }
}
EditorBrowsable(EditorBrowsableState.Never) has no effect.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

GeneralRe: Custom properties for inherited button control Pin
akamper16-Mar-09 21:33
akamper16-Mar-09 21:33 

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.