c# - VB.net error in designer. -
i getting error message "the class pnlone can designed, not first class in file. visual studio requires designers use first class in file. move class code first class in file , try loading designer again. " code below. copied c# code found.
namespace metropanelslide.panel partial public class pnlone inherits pnlslider implements imetrocontrol private sub pnlone_load(sender object, e eventargs) end sub public sub new(owner form) mybase.new(owner) me.stylemanager.update() end sub end class end namespace
c# code is:
namespace metropanelslide.panel { public partial class pnlone : pnlslider, imetrocontrol { public pnlone(form owner) : base(owner) { initializecomponent(); this.stylemanager.update(); } private void pnlone_load(object sender, eventargs e) { } } }
found out issue. thank all. found other class referencing.
Comments
Post a Comment