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

C#

 
GeneralRe: Updating or refreshing DataGridView after database change... Pin
Elina Blank16-Apr-08 7:11
sitebuilderElina Blank16-Apr-08 7:11 
QuestionC# - Changing the data in the database Pin
Alessandra7712-Apr-08 9:14
Alessandra7712-Apr-08 9:14 
GeneralRe: C# - Changing the data in the database Pin
Christian Graus12-Apr-08 14:13
protectorChristian Graus12-Apr-08 14:13 
GeneralRe: C# - Changing the data in the database Pin
Alessandra7712-Apr-08 23:25
Alessandra7712-Apr-08 23:25 
GeneralLabel / Form Resizing Pin
danielk_12-Apr-08 5:25
danielk_12-Apr-08 5:25 
GeneralRe: Label / Form Resizing Pin
Anthony Mushrow12-Apr-08 5:46
professionalAnthony Mushrow12-Apr-08 5:46 
GeneralRe: Label / Form Resizing Pin
Luc Pattyn12-Apr-08 7:23
sitebuilderLuc Pattyn12-Apr-08 7:23 
GeneralPreFilterProperties Pin
danielk_12-Apr-08 5:24
danielk_12-Apr-08 5:24 
I have built a custom gradient form as part of a windows control library. What I would like to do is to hide the BackColor property from the forms designer (since it has now been replaced by BackColor1 and BackColor2). Currently when I create a new inherited form which inherits from my GradientForm in the designer pane I can see BackColor, BackColor1, and BackColor2. With a windows control I would use something like the following to remove BackColor:

internal class GradientPanelDesigner : ScrollableControlDesigner
    {
        public GradientPanelDesigner()
        {
        }
	
        protected override void PreFilterProperties(System.Collections.IDictionary properties)
        {
            properties.Remove("BackColor");
            properties.Remove("BackgroundImage");
        }
    }


Is there an equivalent for a Windows Form?

thanks for help
QuestionProblems to get SelectedValue from binded ComboBox Pin
Stefan Kneitz12-Apr-08 5:06
Stefan Kneitz12-Apr-08 5:06 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Anthony Mushrow12-Apr-08 5:17
professionalAnthony Mushrow12-Apr-08 5:17 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Stefan Kneitz12-Apr-08 5:22
Stefan Kneitz12-Apr-08 5:22 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Anthony Mushrow12-Apr-08 5:27
professionalAnthony Mushrow12-Apr-08 5:27 
GeneralRe: Problems to get SelectedValue from binded ComboBox Pin
Stefan Kneitz12-Apr-08 5:45
Stefan Kneitz12-Apr-08 5:45 
Generalcalculate elapsed seconds Pin
George_George12-Apr-08 4:47
George_George12-Apr-08 4:47 
GeneralRe: calculate elapsed seconds Pin
Anthony Mushrow12-Apr-08 5:10
professionalAnthony Mushrow12-Apr-08 5:10 
GeneralRe: calculate elapsed seconds Pin
George_George12-Apr-08 20:14
George_George12-Apr-08 20:14 
GeneralRe: calculate elapsed seconds Pin
Luc Pattyn12-Apr-08 7:21
sitebuilderLuc Pattyn12-Apr-08 7:21 
GeneralRe: calculate elapsed seconds Pin
George_George12-Apr-08 20:13
George_George12-Apr-08 20:13 
GeneralRe: calculate elapsed seconds Pin
PIEBALDconsult13-Apr-08 5:39
mvePIEBALDconsult13-Apr-08 5:39 
GeneralRe: calculate elapsed seconds Pin
George_George13-Apr-08 17:54
George_George13-Apr-08 17:54 
GeneralRe: calculate elapsed seconds Pin
PIEBALDconsult13-Apr-08 18:31
mvePIEBALDconsult13-Apr-08 18:31 
GeneralRe: calculate elapsed seconds Pin
George_George14-Apr-08 2:57
George_George14-Apr-08 2:57 
GeneralInverted text on image Pin
Kir Birger12-Apr-08 4:30
Kir Birger12-Apr-08 4:30 
GeneralRe: Inverted text on image [modified] Pin
Anthony Mushrow12-Apr-08 4:45
professionalAnthony Mushrow12-Apr-08 4:45 
GeneralA question about web browser control. Pin
bg198712-Apr-08 3:58
bg198712-Apr-08 3:58 

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.