/// <summary>
        /// Initializes the menu for the first time
        /// </summary>
        private void InitializeMenu()
        {
            ResourceManager rm = new ResourceManager(
                "Guifreaks.NaviSuite.Resources.Text", Assembly.GetExecutingAssembly());

            this.optionsMenu          = new NaviContextMenu();
            this.miShowMoreButtons    = new ToolStripMenuItem();
            this.miShowLessButtons    = new ToolStripMenuItem();
            this.miShowMoreOptions    = new ToolStripMenuItem();
            this.miAddOrRemoveButtons = new ToolStripMenuItem();
            this.miSep = new ToolStripSeparator();

            this.optionsMenu.Items.Clear();
            this.optionsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.miShowMoreButtons,
                this.miShowLessButtons,
                this.miShowMoreOptions,
                this.miAddOrRemoveButtons,
                this.miSep
            });
            this.optionsMenu.Name        = "optionsMenu";
            this.optionsMenu.Size        = new System.Drawing.Size(235, 114);
            this.optionsMenu.RightToLeft = Bar.RightToLeft;

            //
            // miShowMoreButtons
            //
            this.miShowMoreButtons.Name         = "showMoreButtonsToolStripMenuItem";
            this.miShowMoreButtons.Size         = new System.Drawing.Size(234, 22);
            this.miShowMoreButtons.Text         = rm.GetString("BarShowMore");
            this.miShowMoreButtons.Click       += new EventHandler(miShowMoreButtons_Click);
            this.miShowMoreButtons.Image        = global::Guifreaks.Navisuite.Properties.Resources.Up;
            this.miShowMoreButtons.Enabled      = largeButtonCount < visibleButtonCount;
            this.miShowMoreButtons.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.ImageAndText;
            //
            // miShowLessButtons
            //
            this.miShowLessButtons.Name         = "showLessButtonsToolStripMenuItem";
            this.miShowLessButtons.Size         = new System.Drawing.Size(234, 22);
            this.miShowLessButtons.Text         = rm.GetString("BarShowLess");
            this.miShowLessButtons.Click       += new EventHandler(miShowLessButtons_Click);
            this.miShowLessButtons.Image        = global::Guifreaks.Navisuite.Properties.Resources.Down;
            this.miShowLessButtons.Enabled      = largeButtonCount > 0;
            this.miShowLessButtons.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.ImageAndText;
            //
            // miShowMoreOptions
            //
            this.miShowMoreOptions.Name   = "optionsOfTheNavigationPaneToolStripMenuItem";
            this.miShowMoreOptions.Size   = new System.Drawing.Size(234, 22);
            this.miShowMoreOptions.Text   = rm.GetString("BarOptions");
            this.miShowMoreOptions.Click += new EventHandler(miShowMoreOptions_Click);
            //
            // miAddOrRemoveButtons
            //
            this.miAddOrRemoveButtons.Name = "addOrRemoveButtonsToolStripMenuItem";
            this.miAddOrRemoveButtons.Size = new System.Drawing.Size(234, 22);
            this.miAddOrRemoveButtons.Text = rm.GetString("BarAddOrRemove");

            //
            // miSep
            //
        }
		/// <summary>
		/// Initializes the menu for the first time
		/// </summary>
		private void InitializeMenu()
		{
			ResourceManager rm = new ResourceManager(
				"Guifreaks.NaviSuite.Resources.Text", Assembly.GetExecutingAssembly());

			this.optionsMenu = new NaviContextMenu();
			this.miShowMoreButtons = new ToolStripMenuItem();
			this.miShowLessButtons = new ToolStripMenuItem();
			this.miShowMoreOptions = new ToolStripMenuItem();
			this.miAddOrRemoveButtons = new ToolStripMenuItem();
			this.miSep = new ToolStripSeparator();

			this.optionsMenu.Items.Clear();
			this.optionsMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.miShowMoreButtons,
            this.miShowLessButtons,
            this.miShowMoreOptions,
            this.miAddOrRemoveButtons, 
            this.miSep});
			this.optionsMenu.Name = "optionsMenu";
			this.optionsMenu.Size = new System.Drawing.Size(235, 114);
			this.optionsMenu.RightToLeft = Bar.RightToLeft;

			// 
			// miShowMoreButtons
			// 
			this.miShowMoreButtons.Name = "showMoreButtonsToolStripMenuItem";
			this.miShowMoreButtons.Size = new System.Drawing.Size(234, 22);
			this.miShowMoreButtons.Text = rm.GetString("BarShowMore");
			this.miShowMoreButtons.Click += new EventHandler(miShowMoreButtons_Click);
			this.miShowMoreButtons.Image = global::Guifreaks.Navisuite.Properties.Resources.Up;
			this.miShowMoreButtons.Enabled = largeButtonCount < visibleButtonCount;
			this.miShowMoreButtons.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.ImageAndText;
			// 
			// miShowLessButtons
			// 
			this.miShowLessButtons.Name = "showLessButtonsToolStripMenuItem";
			this.miShowLessButtons.Size = new System.Drawing.Size(234, 22);
			this.miShowLessButtons.Text = rm.GetString("BarShowLess");
			this.miShowLessButtons.Click += new EventHandler(miShowLessButtons_Click);
			this.miShowLessButtons.Image = global::Guifreaks.Navisuite.Properties.Resources.Down;
			this.miShowLessButtons.Enabled = largeButtonCount > 0;
			this.miShowLessButtons.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.ImageAndText;
			// 
			// miShowMoreOptions
			// 
			this.miShowMoreOptions.Name = "optionsOfTheNavigationPaneToolStripMenuItem";
			this.miShowMoreOptions.Size = new System.Drawing.Size(234, 22);
			this.miShowMoreOptions.Text = rm.GetString("BarOptions");
			this.miShowMoreOptions.Click += new EventHandler(miShowMoreOptions_Click);
			// 
			// miAddOrRemoveButtons
			//          
			this.miAddOrRemoveButtons.Name = "addOrRemoveButtonsToolStripMenuItem";
			this.miAddOrRemoveButtons.Size = new System.Drawing.Size(234, 22);
			this.miAddOrRemoveButtons.Text = rm.GetString("BarAddOrRemove");

			// 
			// miSep
			//                   
		}