thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
411 stars 224 forks source link

there is no MetroRadioButtonDesigner.cs #87

Open weituotian opened 7 years ago

weituotian commented 7 years ago

can not complie code

xiefengdaxia commented 7 years ago

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); } } } `