Click here to Skip to main content
15,898,882 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Custom properties for inherited button control Pin
DaveyM6917-Mar-09 2:37
professionalDaveyM6917-Mar-09 2:37 
QuestionJava vs .NET - Open Source Pin
dataminers16-Mar-09 3:43
dataminers16-Mar-09 3:43 
RantRe: Java vs .NET - Open Source Pin
Eddy Vluggen16-Mar-09 3:48
professionalEddy Vluggen16-Mar-09 3:48 
GeneralRe: Java vs .NET - Open Source Pin
#realJSOP16-Mar-09 5:23
professional#realJSOP16-Mar-09 5:23 
GeneralRe: Java vs .NET - Open Source Pin
led mike16-Mar-09 5:49
led mike16-Mar-09 5:49 
GeneralRe: Java vs .NET - Open Source Pin
Eddy Vluggen16-Mar-09 6:04
professionalEddy Vluggen16-Mar-09 6:04 
GeneralRe: Java vs .NET - Open Source Pin
led mike16-Mar-09 6:46
led mike16-Mar-09 6:46 
GeneralRe: Java vs .NET - Open Source [modified] Pin
Eddy Vluggen16-Mar-09 10:17
professionalEddy Vluggen16-Mar-09 10:17 
GeneralRe: Java vs .NET - Open Source Pin
led mike16-Mar-09 11:58
led mike16-Mar-09 11:58 
GeneralRe: Java vs .NET - Open Source Pin
Yusuf16-Mar-09 6:03
Yusuf16-Mar-09 6:03 
AnswerRe: Java vs .NET - Open Source Pin
harold aptroot16-Mar-09 3:55
harold aptroot16-Mar-09 3:55 
GeneralRe: Java vs .NET - Open Source Pin
dataminers16-Mar-09 6:47
dataminers16-Mar-09 6:47 
AnswerRe: Java vs .NET - Open Source Pin
DaveyM6916-Mar-09 5:02
professionalDaveyM6916-Mar-09 5:02 
GeneralRe: Java vs .NET - Open Source Pin
dataminers16-Mar-09 5:13
dataminers16-Mar-09 5:13 
GeneralRe: Java vs .NET - Open Source Pin
DaveyM6916-Mar-09 5:41
professionalDaveyM6916-Mar-09 5:41 
GeneralRe: Java vs .NET - Open Source Pin
dataminers16-Mar-09 5:59
dataminers16-Mar-09 5:59 

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.