MetroFramework icon indicating copy to clipboard operation
MetroFramework copied to clipboard

there is no MetroRadioButtonDesigner.cs

Open weituotian opened this issue 7 years ago • 1 comments

can not complie code

weituotian avatar Apr 12 '17 07:04 weituotian

Hi,@weituotian You can new a MetroRadioButtonDesigner.cs file and copy the buttom content to this `using System; using System.Collections; using System.Windows.Forms.Design;

namespace MetroFramework.Design.Controls { internal class MetroRadioButtonDesigner : ControlDesigner { protected override void PreFilterProperties(IDictionary properties) { properties.Remove("ImeMode"); properties.Remove("Padding"); properties.Remove("FlatAppearance"); properties.Remove("FlatStyle"); properties.Remove("UseCompatibleTextRendering"); properties.Remove("Image"); properties.Remove("ImageAlign"); properties.Remove("ImageIndex"); properties.Remove("ImageKey"); properties.Remove("ImageList"); properties.Remove("TextImageRelation"); properties.Remove("UseVisualStyleBackColor"); properties.Remove("Font"); properties.Remove("RightToLeft"); base.PreFilterProperties(properties); } } } `

xiefengdaxia avatar May 02 '17 06:05 xiefengdaxia