Click here to Skip to main content
15,899,937 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionHow to Retrieve TCP/UDP Statistics using System.Net.NetworkInformation Pin
that_dude_tj26-Jul-09 23:06
that_dude_tj26-Jul-09 23:06 
AnswerCP Ignore - Crossposted in multiple forums... Pin
Dave Kreskowiak27-Jul-09 4:47
mveDave Kreskowiak27-Jul-09 4:47 
Questionhow to hide properties in propertyGrid Pin
Hamid Amrbdi26-Jul-09 21:43
Hamid Amrbdi26-Jul-09 21:43 
AnswerRe: how to hide properties in propertyGrid Pin
DaveyM6927-Jul-09 0:35
professionalDaveyM6927-Jul-09 0:35 
AnswerRe: how to hide properties in propertyGrid Pin
Hamid Amrbdi27-Jul-09 1:36
Hamid Amrbdi27-Jul-09 1:36 
GeneralRe: how to hide properties in propertyGrid Pin
DaveyM6927-Jul-09 1:56
professionalDaveyM6927-Jul-09 1:56 
GeneralRe: how to hide properties in propertyGrid Pin
Hamid Amrbdi27-Jul-09 2:00
Hamid Amrbdi27-Jul-09 2:00 
GeneralRe: how to hide properties in propertyGrid [modified] Pin
DaveyM6927-Jul-09 2:26
professionalDaveyM6927-Jul-09 2:26 
You will need to apply the same attributes that I posted above to EVERY property etc that you want to hide. There is no shortcut I'm afraid. The System.Windows.Forms.Control class is where most of the stuff you're seeing that you don't want comes from. That in turn derives from all of these:

Component, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

If you derive from Component instead, you don't get any of the other stuff, but you then don't have a visible control. To make it visible as a control you'd need to implement IWin32Window [Edit] I think [/Edit]. I've no idea how to do that - I'm sure it is not trivial. If you decide to try, and figure it out, please write an article about it because I'd love to learn!

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)
Why are you using VB6? Do you hate yourself? (Christian Graus)

modified on Monday, July 27, 2009 10:38 AM

GeneralRe: how to hide properties in propertyGrid Pin
Hamid Amrbdi29-Jul-09 20:19
Hamid Amrbdi29-Jul-09 20:19 
GeneralRe: how to hide properties in propertyGrid Pin
DaveyM6930-Jul-09 4:55
professionalDaveyM6930-Jul-09 4:55 
GeneralRe: how to hide properties in propertyGrid Pin
Hamid Amrbdi30-Jul-09 14:09
Hamid Amrbdi30-Jul-09 14:09 
GeneralRe: how to hide properties in propertyGrid Pin
DaveyM6931-Jul-09 0:24
professionalDaveyM6931-Jul-09 0:24 
GeneralRe: how to hide properties in propertyGrid Pin
Hamid Amrbdi3-Aug-09 13:45
Hamid Amrbdi3-Aug-09 13:45 
GeneralRe: how to hide properties in propertyGrid Pin
Pete O'Hanlon3-Aug-09 22:06
mvePete O'Hanlon3-Aug-09 22:06 
GeneralRe: how to hide properties in propertyGrid Pin
DaveyM694-Aug-09 1:43
professionalDaveyM694-Aug-09 1:43 
AnswerRe: how to hide properties in propertyGrid Pin
Patrick Fox28-Jul-09 10:06
Patrick Fox28-Jul-09 10:06 
QuestionCreate an embeded aplication Pin
rick055626-Jul-09 21:24
rick055626-Jul-09 21:24 
AnswerRe: Create an embeded aplication Pin
King Julien27-Jul-09 3:47
King Julien27-Jul-09 3:47 
QuestionHow to convert structure from rows to columns !!!??? very strange ! Pin
Feras Mazen Taleb26-Jul-09 21:06
Feras Mazen Taleb26-Jul-09 21:06 
Questiontooltip control for win ce app Pin
obalesu26-Jul-09 20:43
obalesu26-Jul-09 20:43 
QuestionSlow Multicast Delegates ? Pin
sneusse26-Jul-09 9:00
sneusse26-Jul-09 9:00 
AnswerRe: Slow Multicast Delegates ? Pin
PIEBALDconsult26-Jul-09 15:00
mvePIEBALDconsult26-Jul-09 15:00 
AnswerRe: Slow Multicast Delegates ? Pin
Luc Pattyn26-Jul-09 19:25
sitebuilderLuc Pattyn26-Jul-09 19:25 
AnswerRe: Slow Multicast Delegates ? Pin
DaveyM6927-Jul-09 1:45
professionalDaveyM6927-Jul-09 1:45 
GeneralRe: Slow Multicast Delegates ? Pin
Luc Pattyn27-Jul-09 11:23
sitebuilderLuc Pattyn27-Jul-09 11:23 

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.