Skip to main content

 none
Error_4_The name 'InitializeComponent' does not exist in the current context RRS feed

  • Question

  • When I execute the following error appears in the code bellow

    (the name 'initiallizeComponent' doesn't exist in the current context)

    Is ther any help please.!!!!!

    namespace guifreaks.NavigationBar

    {

      

    ///<summary>


      

    ///Represents a control with customizable drawing and layout styles


      

    ///</summary>


       [

    ToolboxItem(false)]

      

    publicpartialclassNaviControl: ContainerControl


       {

         

    NaviLayoutStylelayoutStyle = NaviLayoutStyle.Office2007Blue;

         

    EventHandlerlayoutStyleChanged;

         

    protectedreadonlyobjectthreadLock = newobject();



          #region

    Constructors

         

    ///<summary>


         

    ///Initializes a new instance of the NaviControl


         

    ///</summary>


         

    publicNaviControl()

          {

             InitializeComponent();

          }


        

    ///<summary>


         

    ///Initializes a new instance of the NaviControl


         

    ///</summary>


         

    ///<param name="container">The parent container</param>


         

    publicNaviControl(IContainercontainer)

          {

             container.Add(

    this);

             InitializeComponent();

          }



          #endregion



    nour

    Thursday, April 5, 2018 6:33 PM

Answers

All replies