I don't know what anyone on this thread is complaining about - when government officals receive medals for massive screwups and refuse to accept responsibility for the mistakes they make, why should we hold children accountable for their actions? If you were all so zealous about correcting the activities of adults the children would have examples to follow and wouldn't require beatings.
terrier_jack
Posts
-
There's something SO wrong....... -
Cause Propertygrid Update from ControlThe answer (for my purposes): RefreshPropertiesAttribute(RefreshProperties.Repaint)
-
Cause Propertygrid Update from ControlI have winform control where updating one property must cause another to be updated. How do I cause the propertygrid to update the associated value?
-
A Sad Day in Bullhead CityMaybe the shelves are full in the offshore world?
-
Control InstantiationLets say I have a visual control with several properties set during design that will affect the display of the control. How do I ensure that the control is repainted after the properties are set in InitializeComponent? Is there a way to determine the order that the control's properties are initialized in InitializeComponent so that I can ensure that the last initialization causes a repaint? Or is there an event that I can overrride that fires when the initialization is complete?
-
Image Property DefinitionOK, what is wrong with this property definition in a control? In the properties list the little empty box displays next to the name and the dot-dot-dot button works correctly, but when I select a file nothing is every filled-in and the resource is not serialized in the InitializeComponent() call. I suspect it is a serialization issue but I have tried both Visible and Content to no effect. [ CategoryAttribute("Appearance"), DescriptionAttribute("Image that appears when control is down."), BrowsableAttribute(true), EditorAttribute("System.Drawing.Design.ImageEditor, System.Design",typeof(UITypeEditor)), DesignerSerializationVisibility(DesignerSerializationVisibility.Visible), TypeConverter(typeof(System.Drawing.Bitmap)), DefaultValueAttribute(null) ] public Bitmap ImageDown { get { return null; } set { _imageDown = (Bitmap)value; } }