Click here to Skip to main content
15,889,877 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Closing startup form in a windows application Pin
N a v a n e e t h7-Aug-09 18:49
N a v a n e e t h7-Aug-09 18:49 
GeneralRe: Closing startup form in a windows application Pin
crazylad9-Aug-09 11:57
crazylad9-Aug-09 11:57 
GeneralRe: Closing startup form in a windows application Pin
Luc Pattyn9-Aug-09 12:11
sitebuilderLuc Pattyn9-Aug-09 12:11 
GeneralRe: Closing startup form in a windows application Pin
N a v a n e e t h9-Aug-09 15:46
N a v a n e e t h9-Aug-09 15:46 
GeneralRe: Closing startup form in a windows application Pin
Luc Pattyn9-Aug-09 15:54
sitebuilderLuc Pattyn9-Aug-09 15:54 
GeneralRe: Closing startup form in a windows application Pin
N a v a n e e t h9-Aug-09 15:44
N a v a n e e t h9-Aug-09 15:44 
AnswerRe: Closing startup form in a windows application Pin
crazylad12-Aug-09 16:57
crazylad12-Aug-09 16:57 
QuestionHiding a 'Category' in the Properties Window Pin
Henry Minute6-Aug-09 10:38
Henry Minute6-Aug-09 10:38 
I know several ways to hide individual properties, and in something I'm working on I do it using a Designer, more specifically by overriding the PreFilterProperties method
protected override void PreFilterProperties(System.Collections.IDictionary properties)
{
    properties.Remove("Dock");
    properties.Remove("TabStop");
    properties.Remove("TabIndex");
    properties.Remove("Visible");
    properties.Remove("Enabled");
    properties.Remove("Locked");  <===========================================================
    properties.Remove("Anchor");
    properties.Remove("Name");  <===========================================================
    properties.Remove("AutoSize");
    properties.Remove("AutoSizeMode");
    properties.Remove("Location");
    properties.Remove("Size");
    properties.Remove("MaximumSize");
    properties.Remove("MinimumSize");
    properties.Remove("BorderStyle");
    properties.Remove("GenerateMember");
    properties.Remove("Modifiers");
    properties.Remove("Design");

    base.PreFilterProperties(properties);
}


The two properties marked still show up however. Confused | :confused:

They are both in the 'Design' Category, so even if the code above worked, I would still be left with an empty Category. So

1) anybody got any ideas about why the two properties remain and/or how to get rid of them.
2) any ideas on how to remove the 'Design' Category. If you look at either of the Panels in a SplitContainer, they don't have a Design Category, so presumably it is possible.

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

AnswerRe: Hiding a 'Category' in the Properties Window Pin
Luc Pattyn6-Aug-09 12:36
sitebuilderLuc Pattyn6-Aug-09 12:36 
GeneralRe: Hiding a 'Category' in the Properties Window Pin
Henry Minute6-Aug-09 13:09
Henry Minute6-Aug-09 13:09 
GeneralRe: Hiding a 'Category' in the Properties Window Pin
Luc Pattyn6-Aug-09 14:06
sitebuilderLuc Pattyn6-Aug-09 14:06 
GeneralRe: Hiding a 'Category' in the Properties Window Pin
Henry Minute7-Aug-09 0:14
Henry Minute7-Aug-09 0:14 
GeneralRe: Hiding a 'Category' in the Properties Window Pin
Luc Pattyn7-Aug-09 0:42
sitebuilderLuc Pattyn7-Aug-09 0:42 
GeneralRe: Hiding a 'Category' in the Properties Window Pin
Henry Minute7-Aug-09 1:00
Henry Minute7-Aug-09 1:00 
GeneralRe: Hiding a 'Category' in the Properties Window Pin
Luc Pattyn7-Aug-09 1:14
sitebuilderLuc Pattyn7-Aug-09 1:14 
QuestionHow to get statusbar URL value Pin
Hemant_ec486-Aug-09 10:23
Hemant_ec486-Aug-09 10:23 
NewsWindows 7 RTM now available to MSDN, TechNet Subscribers Pin
brucedkyle6-Aug-09 8:26
brucedkyle6-Aug-09 8:26 
QuestionStream file saved in Oracle as BLOB to a Windows application Pin
crazylad5-Aug-09 16:07
crazylad5-Aug-09 16:07 
AnswerRe: Stream file saved in Oracle as BLOB to a Windows application Pin
dan!sh 5-Aug-09 18:49
professional dan!sh 5-Aug-09 18:49 
GeneralRe: Stream file saved in Oracle as BLOB to a Windows application Pin
crazylad6-Aug-09 5:59
crazylad6-Aug-09 5:59 
GeneralRe: Stream file saved in Oracle as BLOB to a Windows application Pin
dan!sh 6-Aug-09 8:49
professional dan!sh 6-Aug-09 8:49 
GeneralRe: Stream file saved in Oracle as BLOB to a Windows application Pin
crazylad6-Aug-09 12:15
crazylad6-Aug-09 12:15 
QuestionWhile Debugging Cannot See Whats Going on Application in VS 2008 Pin
εїзεїзεїз4-Aug-09 21:10
εїзεїзεїз4-Aug-09 21:10 
AnswerRe: While Debugging Cannot See Whats Going on Application in VS 2008 Pin
Eddy Vluggen4-Aug-09 23:46
professionalEddy Vluggen4-Aug-09 23:46 
GeneralRe: While Debugging Cannot See Whats Going on Application in VS 2008 Pin
εїзεїзεїз5-Aug-09 0:22
εїзεїзεїз5-Aug-09 0:22 

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.