using System;
using System.ComponentModel;
using System.Windows.Forms;

using BandObjectLib;
using System.Runtime.InteropServices;
using System.IO;

namespace SampleBars
{
	[Guid("AE07101B-46D4-4a98-AF68-0333EA26E113")]
	[BandObject("UC Libraries Research Toolbar", BandObjectStyle.Horizontal | BandObjectStyle.ExplorerToolbar | BandObjectStyle.TaskbarToolBar, HelpText = "Shows bar that says hello.")]
	public class UCToolBar : BandObject
    {
        private ToolStrip toolStrip1;
        private ToolStripSplitButton toolStripSplitButton1;
        private ToolStripMenuItem helpToolStripMenuItem;
        private ToolStripMenuItem libraryHoursToolStripMenuItem;
        private ToolStripMenuItem libraryReservesToolStripMenuItem;
        private ToolStripMenuItem yourLibraryRecordToolStripMenuItem;
        private ToolStripMenuItem ohioLinkToolStripMenuItem;
        private ToolStripMenuItem aZDatabasesAndIndexesToolStripMenuItem;
        private ToolStripMenuItem uCLibrariesToolStripMenuItem;
        private ToolStripSplitButton toolStripSplitButton2;
        private ToolStripMenuItem blackBoardToolStripMenuItem;
        private ToolStripMenuItem emailToolStripMenuItem;
        private ToolStripMenuItem outlookWebmailToolStripMenuItem;
        private ToolStripMenuItem bearcatOnlineToolStripMenuItem;
        private ToolStripMenuItem rWCWebMailToolStripMenuItem;
        private ToolStripMenuItem cETLToolStripMenuItem;
        private ToolStripMenuItem oneStopToolStripMenuItem;
        private ToolStripMenuItem academicCalandersToolStripMenuItem;
        private ToolStripMenuItem uCToolStripMenuItem;
        private ToolStripSeparator toolStripSeparator1;
        private ToolStripMenuItem facultyStaffHomeToolStripMenuItem;
        private ToolStripMenuItem studentHomeToolStripMenuItem;
        private ToolStripButton toolStripButton1;
        public ToolStripTextBox toolStripTextBox1;
        //public TextBox toolstripTextBox1;
        private ToolStripSplitButton toolStripSplitButton3;
        private ToolStripMenuItem libraryCatalogToolStripMenuItem;
        private ToolStripMenuItem oneSearchToolStripMenuItem;
        private ToolStripSeparator toolStripSeparator4;
        private ToolStripSeparator toolStripSeparator3;
        private ToolStripMenuItem onlineJournalTitlesToolStripMenuItem;
        private ToolStripMenuItem electronicJournalCentersToolStripMenuItem;
        private ToolStripMenuItem ohioLinkCatalogToolStripMenuItem;
        private ToolStripMenuItem googleScholarToolStripMenuItem;
        private ToolStripMenuItem hamiltonCountyPublicLibraryToolStripMenuItem;
        private ToolStripMenuItem medlinePubMedToolStripMenuItem;
        private ToolStripMenuItem scopusToolStripMenuItem;
        private ToolStripMenuItem academicSearchCompleteToolStripMenuItem;
        private ToolStripSplitButton LibraryToolbarMenu;
        private ToolStripMenuItem upgradeToolStripMenuItem;
        private ToolStripMenuItem tellAFriendToolStripMenuItem;
        private ToolStripMenuItem feedbackToolStripMenuItem;
        private ToolStripSeparator toolStripSeparator5;
		private System.ComponentModel.Container components = null;


        

      

		public UCToolBar()
		{
			InitializeComponent();
            this.toolStrip1.RenderMode = ToolStripRenderMode.ManagerRenderMode;
            this.toolStrip1.Renderer = new NoBorderToolStripRenderer();
            this.toolStrip1.TabStop = true;
                      
		}
        ///
        /// ToolStripSystemRenderer that overrides OnRenderToolStripBorder to avoid painting the borders.
        ///
        internal class NoBorderToolStripRenderer : ToolStripSystemRenderer
        {
            protected override void OnRenderToolStripBorder(ToolStripRenderEventArgs e) { }
        }

		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if( components != null )
					components.Dispose();
			}
			base.Dispose( disposing );
		}

        #region Component Designer generated code
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCToolBar));
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.LibraryToolbarMenu = new System.Windows.Forms.ToolStripSplitButton();
            this.upgradeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tellAFriendToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.feedbackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripSplitButton3 = new System.Windows.Forms.ToolStripSplitButton();
            this.libraryCatalogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.oneSearchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.onlineJournalTitlesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.electronicJournalCentersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.ohioLinkCatalogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.googleScholarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.hamiltonCountyPublicLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.medlinePubMedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.scopusToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.academicSearchCompleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton();
            this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.libraryHoursToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.libraryReservesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.yourLibraryRecordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.ohioLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.aZDatabasesAndIndexesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.uCLibrariesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripSplitButton2 = new System.Windows.Forms.ToolStripSplitButton();
            this.blackBoardToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.emailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.outlookWebmailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.bearcatOnlineToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.rWCWebMailToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.cETLToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.oneStopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.academicCalandersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.uCToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.facultyStaffHomeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.studentHomeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // toolStrip1
            // 
            this.toolStrip1.AccessibleDescription = "UC Research Tool Bar";
            this.toolStrip1.AccessibleName = "UC Toolbar";
            this.toolStrip1.AutoSize = false;
            this.toolStrip1.BackColor = System.Drawing.Color.Transparent;
            this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.LibraryToolbarMenu,
            this.toolStripTextBox1,
            this.toolStripSeparator5,
            this.toolStripSplitButton3,
            this.toolStripSeparator4,
            this.toolStripButton1,
            this.toolStripSeparator3,
            this.toolStripSplitButton1,
            this.toolStripSeparator1,
            this.toolStripSplitButton2});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Padding = new System.Windows.Forms.Padding(0);
            this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
            this.toolStrip1.Size = new System.Drawing.Size(810, 22);
            this.toolStrip1.TabIndex = 2;
            this.toolStrip1.TabStop = true;
            this.toolStrip1.Text = "toolStrip1";
            this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
            // 
            // LibraryToolbarMenu
            // 
            this.LibraryToolbarMenu.AutoSize = false;
            this.LibraryToolbarMenu.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.LibraryToolbarMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.upgradeToolStripMenuItem,
            this.tellAFriendToolStripMenuItem,
            this.feedbackToolStripMenuItem});
            this.LibraryToolbarMenu.Image = ((System.Drawing.Image)(resources.GetObject("LibraryToolbarMenu.Image")));
            this.LibraryToolbarMenu.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.LibraryToolbarMenu.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.LibraryToolbarMenu.Name = "LibraryToolbarMenu";
            this.LibraryToolbarMenu.Size = new System.Drawing.Size(99, 22);
            this.LibraryToolbarMenu.Text = "toolStripSplitButton4";
            this.LibraryToolbarMenu.ToolTipText = "UC Libraries Toolbar Main Menu";
            // 
            // upgradeToolStripMenuItem
            // 
            this.upgradeToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("upgradeToolStripMenuItem.Image")));
            this.upgradeToolStripMenuItem.Name = "upgradeToolStripMenuItem";
            this.upgradeToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
            this.upgradeToolStripMenuItem.Text = "Upgrade";
            this.upgradeToolStripMenuItem.Click += new System.EventHandler(this.upgradeToolStripMenuItem_Click);
            // 
            // tellAFriendToolStripMenuItem
            // 
            this.tellAFriendToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("tellAFriendToolStripMenuItem.Image")));
            this.tellAFriendToolStripMenuItem.Name = "tellAFriendToolStripMenuItem";
            this.tellAFriendToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
            this.tellAFriendToolStripMenuItem.Text = "Tell a Friend";
            this.tellAFriendToolStripMenuItem.Click += new System.EventHandler(this.tellAFriendToolStripMenuItem_Click);
            // 
            // feedbackToolStripMenuItem
            // 
            this.feedbackToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("feedbackToolStripMenuItem.Image")));
            this.feedbackToolStripMenuItem.Name = "feedbackToolStripMenuItem";
            this.feedbackToolStripMenuItem.Size = new System.Drawing.Size(138, 22);
            this.feedbackToolStripMenuItem.Text = "Feedback";
            this.feedbackToolStripMenuItem.Click += new System.EventHandler(this.feedbackToolStripMenuItem_Click);
            // 
            // toolStripTextBox1
            // 
            this.toolStripTextBox1.AutoSize = false;
            this.toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.toolStripTextBox1.Name = "toolStripTextBox1";
            this.toolStripTextBox1.Size = new System.Drawing.Size(250, 23);
            this.toolStripTextBox1.ToolTipText = "Enter your search terms and then select the search engine from the drop down list" +
                " to the right.";
            this.toolStripTextBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyUp);
            // 
            // toolStripSeparator5
            // 
            this.toolStripSeparator5.AutoSize = false;
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 22);
            // 
            // toolStripSplitButton3
            // 
            this.toolStripSplitButton3.AutoSize = false;
            this.toolStripSplitButton3.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.libraryCatalogToolStripMenuItem,
            this.oneSearchToolStripMenuItem,
            this.onlineJournalTitlesToolStripMenuItem,
            this.electronicJournalCentersToolStripMenuItem,
            this.ohioLinkCatalogToolStripMenuItem,
            this.googleScholarToolStripMenuItem,
            this.hamiltonCountyPublicLibraryToolStripMenuItem,
            this.medlinePubMedToolStripMenuItem,
            this.scopusToolStripMenuItem,
            this.academicSearchCompleteToolStripMenuItem});
            this.toolStripSplitButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton3.Image")));
            this.toolStripSplitButton3.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.toolStripSplitButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripSplitButton3.Name = "toolStripSplitButton3";
            this.toolStripSplitButton3.Size = new System.Drawing.Size(84, 22);
            this.toolStripSplitButton3.Text = "Search";
            this.toolStripSplitButton3.ButtonClick += new System.EventHandler(this.toolStripSplitButton3_ButtonClick);
            // 
            // libraryCatalogToolStripMenuItem
            // 
            this.libraryCatalogToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("libraryCatalogToolStripMenuItem.Image")));
            this.libraryCatalogToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.libraryCatalogToolStripMenuItem.Name = "libraryCatalogToolStripMenuItem";
            this.libraryCatalogToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.libraryCatalogToolStripMenuItem.Text = "Library Catalog";
            this.libraryCatalogToolStripMenuItem.Click += new System.EventHandler(this.libraryCatalogToolStripMenuItem_Click);
            // 
            // oneSearchToolStripMenuItem
            // 
            this.oneSearchToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("oneSearchToolStripMenuItem.Image")));
            this.oneSearchToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.oneSearchToolStripMenuItem.Name = "oneSearchToolStripMenuItem";
            this.oneSearchToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.oneSearchToolStripMenuItem.Text = "OneSearch";
            this.oneSearchToolStripMenuItem.Click += new System.EventHandler(this.oneSearchToolStripMenuItem_Click);
            // 
            // onlineJournalTitlesToolStripMenuItem
            // 
            this.onlineJournalTitlesToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("onlineJournalTitlesToolStripMenuItem.Image")));
            this.onlineJournalTitlesToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.onlineJournalTitlesToolStripMenuItem.Name = "onlineJournalTitlesToolStripMenuItem";
            this.onlineJournalTitlesToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.onlineJournalTitlesToolStripMenuItem.Text = "Online Journal Titles";
            this.onlineJournalTitlesToolStripMenuItem.Click += new System.EventHandler(this.onlineJournalTitlesToolStripMenuItem_Click);
            // 
            // electronicJournalCentersToolStripMenuItem
            // 
            this.electronicJournalCentersToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("electronicJournalCentersToolStripMenuItem.Image")));
            this.electronicJournalCentersToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.electronicJournalCentersToolStripMenuItem.Name = "electronicJournalCentersToolStripMenuItem";
            this.electronicJournalCentersToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.electronicJournalCentersToolStripMenuItem.Text = "Electronic Journal Centers";
            this.electronicJournalCentersToolStripMenuItem.Click += new System.EventHandler(this.electronicJournalCentersToolStripMenuItem_Click);
            // 
            // ohioLinkCatalogToolStripMenuItem
            // 
            this.ohioLinkCatalogToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("ohioLinkCatalogToolStripMenuItem.Image")));
            this.ohioLinkCatalogToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.ohioLinkCatalogToolStripMenuItem.Name = "ohioLinkCatalogToolStripMenuItem";
            this.ohioLinkCatalogToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.ohioLinkCatalogToolStripMenuItem.Text = "OhioLink Catalog";
            this.ohioLinkCatalogToolStripMenuItem.Click += new System.EventHandler(this.ohioLinkCatalogToolStripMenuItem_Click);
            // 
            // googleScholarToolStripMenuItem
            // 
            this.googleScholarToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("googleScholarToolStripMenuItem.Image")));
            this.googleScholarToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.googleScholarToolStripMenuItem.Name = "googleScholarToolStripMenuItem";
            this.googleScholarToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.googleScholarToolStripMenuItem.Text = "Google Scholar";
            this.googleScholarToolStripMenuItem.Click += new System.EventHandler(this.googleScholarToolStripMenuItem_Click);
            // 
            // hamiltonCountyPublicLibraryToolStripMenuItem
            // 
            this.hamiltonCountyPublicLibraryToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("hamiltonCountyPublicLibraryToolStripMenuItem.Image")));
            this.hamiltonCountyPublicLibraryToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.hamiltonCountyPublicLibraryToolStripMenuItem.Name = "hamiltonCountyPublicLibraryToolStripMenuItem";
            this.hamiltonCountyPublicLibraryToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.hamiltonCountyPublicLibraryToolStripMenuItem.Text = "Hamilton County Public Library";
            this.hamiltonCountyPublicLibraryToolStripMenuItem.Click += new System.EventHandler(this.hamiltonCountyPublicLibraryToolStripMenuItem_Click);
            // 
            // medlinePubMedToolStripMenuItem
            // 
            this.medlinePubMedToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("medlinePubMedToolStripMenuItem.Image")));
            this.medlinePubMedToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.medlinePubMedToolStripMenuItem.Name = "medlinePubMedToolStripMenuItem";
            this.medlinePubMedToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.medlinePubMedToolStripMenuItem.Text = "Medline (PubMed)";
            this.medlinePubMedToolStripMenuItem.Click += new System.EventHandler(this.medlinePubMedToolStripMenuItem_Click);
            // 
            // scopusToolStripMenuItem
            // 
            this.scopusToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("scopusToolStripMenuItem.Image")));
            this.scopusToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.scopusToolStripMenuItem.Name = "scopusToolStripMenuItem";
            this.scopusToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.scopusToolStripMenuItem.Text = "Scopus";
            this.scopusToolStripMenuItem.Click += new System.EventHandler(this.scopusToolStripMenuItem_Click);
            // 
            // academicSearchCompleteToolStripMenuItem
            // 
            this.academicSearchCompleteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("academicSearchCompleteToolStripMenuItem.Image")));
            this.academicSearchCompleteToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.academicSearchCompleteToolStripMenuItem.Name = "academicSearchCompleteToolStripMenuItem";
            this.academicSearchCompleteToolStripMenuItem.Size = new System.Drawing.Size(252, 24);
            this.academicSearchCompleteToolStripMenuItem.Text = "Academic Search Complete";
            this.academicSearchCompleteToolStripMenuItem.Click += new System.EventHandler(this.academicSearchCompleteToolStripMenuItem_Click);
            // 
            // toolStripSeparator4
            // 
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 22);
            // 
            // toolStripButton1
            // 
            this.toolStripButton1.AutoSize = false;
            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(130, 22);
            this.toolStripButton1.Text = "Off Campus Access";
            this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
            // 
            // toolStripSeparator3
            // 
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 22);
            // 
            // toolStripSplitButton1
            // 
            this.toolStripSplitButton1.AutoSize = false;
            this.toolStripSplitButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.helpToolStripMenuItem,
            this.libraryHoursToolStripMenuItem,
            this.libraryReservesToolStripMenuItem,
            this.yourLibraryRecordToolStripMenuItem,
            this.ohioLinkToolStripMenuItem,
            this.aZDatabasesAndIndexesToolStripMenuItem,
            this.uCLibrariesToolStripMenuItem});
            this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
            this.toolStripSplitButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripSplitButton1.Name = "toolStripSplitButton1";
            this.toolStripSplitButton1.Size = new System.Drawing.Size(105, 22);
            this.toolStripSplitButton1.Text = "Library Links";
            // 
            // helpToolStripMenuItem
            // 
            this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
            this.helpToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.helpToolStripMenuItem.Text = "Help";
            this.helpToolStripMenuItem.Click += new System.EventHandler(this.helpToolStripMenuItem_Click);
            // 
            // libraryHoursToolStripMenuItem
            // 
            this.libraryHoursToolStripMenuItem.Name = "libraryHoursToolStripMenuItem";
            this.libraryHoursToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.libraryHoursToolStripMenuItem.Text = "Library Hours";
            this.libraryHoursToolStripMenuItem.Click += new System.EventHandler(this.libraryHoursToolStripMenuItem_Click);
            // 
            // libraryReservesToolStripMenuItem
            // 
            this.libraryReservesToolStripMenuItem.Name = "libraryReservesToolStripMenuItem";
            this.libraryReservesToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.libraryReservesToolStripMenuItem.Text = "Library Reserves";
            this.libraryReservesToolStripMenuItem.Click += new System.EventHandler(this.libraryReservesToolStripMenuItem_Click);
            // 
            // yourLibraryRecordToolStripMenuItem
            // 
            this.yourLibraryRecordToolStripMenuItem.Name = "yourLibraryRecordToolStripMenuItem";
            this.yourLibraryRecordToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.yourLibraryRecordToolStripMenuItem.Text = "Your Library Record";
            this.yourLibraryRecordToolStripMenuItem.Click += new System.EventHandler(this.yourLibraryRecordToolStripMenuItem_Click);
            // 
            // ohioLinkToolStripMenuItem
            // 
            this.ohioLinkToolStripMenuItem.Name = "ohioLinkToolStripMenuItem";
            this.ohioLinkToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.ohioLinkToolStripMenuItem.Text = "OhioLink";
            this.ohioLinkToolStripMenuItem.Click += new System.EventHandler(this.ohioLinkToolStripMenuItem_Click);
            // 
            // aZDatabasesAndIndexesToolStripMenuItem
            // 
            this.aZDatabasesAndIndexesToolStripMenuItem.Name = "aZDatabasesAndIndexesToolStripMenuItem";
            this.aZDatabasesAndIndexesToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.aZDatabasesAndIndexesToolStripMenuItem.Text = "A - Z Databases and Indexes";
            this.aZDatabasesAndIndexesToolStripMenuItem.Click += new System.EventHandler(this.aZDatabasesAndIndexesToolStripMenuItem_Click);
            // 
            // uCLibrariesToolStripMenuItem
            // 
            this.uCLibrariesToolStripMenuItem.Name = "uCLibrariesToolStripMenuItem";
            this.uCLibrariesToolStripMenuItem.Size = new System.Drawing.Size(221, 22);
            this.uCLibrariesToolStripMenuItem.Text = "UC Libraries";
            this.uCLibrariesToolStripMenuItem.Click += new System.EventHandler(this.uCLibrariesToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 22);
            // 
            // toolStripSplitButton2
            // 
            this.toolStripSplitButton2.AutoSize = false;
            this.toolStripSplitButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.blackBoardToolStripMenuItem,
            this.emailToolStripMenuItem,
            this.cETLToolStripMenuItem,
            this.oneStopToolStripMenuItem,
            this.academicCalandersToolStripMenuItem,
            this.uCToolStripMenuItem,
            this.facultyStaffHomeToolStripMenuItem,
            this.studentHomeToolStripMenuItem});
            this.toolStripSplitButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton2.Image")));
            this.toolStripSplitButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripSplitButton2.Name = "toolStripSplitButton2";
            this.toolStripSplitButton2.Size = new System.Drawing.Size(85, 22);
            this.toolStripSplitButton2.Text = "UC Links";
            // 
            // blackBoardToolStripMenuItem
            // 
            this.blackBoardToolStripMenuItem.Name = "blackBoardToolStripMenuItem";
            this.blackBoardToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.blackBoardToolStripMenuItem.Text = "BlackBoard";
            this.blackBoardToolStripMenuItem.Click += new System.EventHandler(this.blackBoardToolStripMenuItem_Click);
            // 
            // emailToolStripMenuItem
            // 
            this.emailToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.bearcatOnlineToolStripMenuItem,
            this.outlookWebmailToolStripMenuItem,
            this.rWCWebMailToolStripMenuItem});
            this.emailToolStripMenuItem.Name = "emailToolStripMenuItem";
            this.emailToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.emailToolStripMenuItem.Text = "Email";
            // 
            // outlookWebmailToolStripMenuItem
            // 
            this.outlookWebmailToolStripMenuItem.Name = "outlookWebmailToolStripMenuItem";
            this.outlookWebmailToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
            this.outlookWebmailToolStripMenuItem.Text = "Outlook Webmail";
            this.outlookWebmailToolStripMenuItem.Click += new System.EventHandler(this.outlookWebmailToolStripMenuItem_Click);
            // 
            // bearcatOnlineToolStripMenuItem
            // 
            this.bearcatOnlineToolStripMenuItem.Name = "bearcatOnlineToolStripMenuItem";
            this.bearcatOnlineToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
            this.bearcatOnlineToolStripMenuItem.Text = "Bearcat Online";
            this.bearcatOnlineToolStripMenuItem.Click += new System.EventHandler(this.bearcatOnlineToolStripMenuItem_Click);
            // 
            // rWCWebMailToolStripMenuItem
            // 
            this.rWCWebMailToolStripMenuItem.Name = "rWCWebMailToolStripMenuItem";
            this.rWCWebMailToolStripMenuItem.Size = new System.Drawing.Size(167, 22);
            this.rWCWebMailToolStripMenuItem.Text = "RWC WebMail";
            this.rWCWebMailToolStripMenuItem.Click += new System.EventHandler(this.rWCWebMailToolStripMenuItem_Click);
            // 
            // cETLToolStripMenuItem
            // 
            this.cETLToolStripMenuItem.Name = "cETLToolStripMenuItem";
            this.cETLToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.cETLToolStripMenuItem.Text = "CET&&L";
            this.cETLToolStripMenuItem.Click += new System.EventHandler(this.cETLToolStripMenuItem_Click);
            // 
            // oneStopToolStripMenuItem
            // 
            this.oneStopToolStripMenuItem.Name = "oneStopToolStripMenuItem";
            this.oneStopToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.oneStopToolStripMenuItem.Text = "One Stop";
            this.oneStopToolStripMenuItem.Click += new System.EventHandler(this.oneStopToolStripMenuItem_Click);
            // 
            // academicCalandersToolStripMenuItem
            // 
            this.academicCalandersToolStripMenuItem.Name = "academicCalandersToolStripMenuItem";
            this.academicCalandersToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.academicCalandersToolStripMenuItem.Text = "Academic Calanders";
            this.academicCalandersToolStripMenuItem.Click += new System.EventHandler(this.academicCalandersToolStripMenuItem_Click);
            // 
            // uCToolStripMenuItem
            // 
            this.uCToolStripMenuItem.Name = "uCToolStripMenuItem";
            this.uCToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.uCToolStripMenuItem.Text = "UC A - Z Index";
            this.uCToolStripMenuItem.Click += new System.EventHandler(this.uCToolStripMenuItem_Click);
            // 
            // facultyStaffHomeToolStripMenuItem
            // 
            this.facultyStaffHomeToolStripMenuItem.Name = "facultyStaffHomeToolStripMenuItem";
            this.facultyStaffHomeToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.facultyStaffHomeToolStripMenuItem.Text = "Faculty / Staff Home";
            this.facultyStaffHomeToolStripMenuItem.Click += new System.EventHandler(this.facultyStaffHomeToolStripMenuItem_Click);
            // 
            // studentHomeToolStripMenuItem
            // 
            this.studentHomeToolStripMenuItem.Name = "studentHomeToolStripMenuItem";
            this.studentHomeToolStripMenuItem.Size = new System.Drawing.Size(183, 22);
            this.studentHomeToolStripMenuItem.Text = "Student Home";
            this.studentHomeToolStripMenuItem.Click += new System.EventHandler(this.studentHomeToolStripMenuItem_Click);
            // 
            // UCToolBar
            // 
            this.BackColor = System.Drawing.Color.Transparent;
            this.Controls.Add(this.toolStrip1);
            this.MinSize = new System.Drawing.Size(150, 22);
            this.Name = "UCToolBar";
            this.Size = new System.Drawing.Size(825, 22);
            this.Load += new System.EventHandler(this.UCToolBar_Load);
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);

		}

       


		#endregion

        //this is probably not being called because of no assignment statement above.  Can't find assignment statement that will work.
        private void GotFocusHandler(object sender, EventArgs ea)
        {
            OnGotFocus(ea);
            this.toolStripTextBox1.ToolTipText = "GotFocusHandler";
        }

        private void UCToolBar_Load(object sender, EventArgs e)
        {
                    //the following statement causes IE to crash; debugger indicates infinite loop or stack exception with bandobject.dll
                    //this.OnGotFocus(e);
            //this.toolStripTextBox1.ToolTipText = "ToolbarLoadFocus";
        }

        //this is not being called because of assignment issue -- see above
                private void toolStrip1_gotfocus(object sender, System.Windows.Forms.KeyEventArgs e)
                {

                    this.OnGotFocus(e);
                    //this.toolStripTextBox1.ToolTipText = "aha";
                }


                private void toolStripTextBox1_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
                {
                    //this will cause IE to crash;
                    //this.OnGotFocus(e);

                    //tried new method of calling this procedure, since assignment above didn't work
                    //without calling this procedure, IE still also processes backspace
                    this.toolStripTextBox1_GotFocus (e);
  
                    //the following section works, but is now unnecessary because finding a way to call toolStripTextBox1_GotFocus solved problem
                    //if (e.KeyCode == Keys.Back)
                    //{
                    //    
                    //    if (this.toolStripTextBox1.TextBox.SelectionLength > 0)
                    //        this.toolStripTextBox1.TextBox.SelectedText = "";
                    //    else if (this.toolStripTextBox1.TextBox.SelectionStart > 0)
                    //    {
                    //        int caret = this.toolStripTextBox1.TextBox.SelectionStart;
                            //this.toolStripTextBox1.TextBox.Text = this.toolStripTextBox1.TextBox.Text.Substring(0, caret - 1) +
                            //this.toolStripTextBox1.TextBox.Text.Substring(caret);
                            //this.toolStripTextBox1.TextBox.SelectionStart = caret - 1;
                    //    }
                    //    e.Handled = true;
                        //this.toolStripTextBox1.ToolTipText = "happiness";
                        
                    //}
                    //if (e.KeyCode == Keys.Left)
                    //{
                    //    if (this.toolStripTextBox1.TextBox.SelectionLength > 0)
                    //        this.toolStripTextBox1.TextBox.SelectedText = "";
                    //    else if (this.toolStripTextBox1.TextBox.SelectionStart > 0)
                    //    {
                    //        int caret = this.toolStripTextBox1.TextBox.SelectionStart;
                            //this.toolStripTextBox1.TextBox.SelectionStart = caret - 1;
                         
                    //    }
                    //    e.Handled = true;
                        //this.toolStripTextBox1.ToolTipText = "happiness-squared";

                   //}
                   // if (e.KeyCode == Keys.Right)
                   // {
                   //     if (this.toolStripTextBox1.TextBox.SelectionLength > 0)
                   //         this.toolStripTextBox1.TextBox.SelectedText = "";
                   //      else 
                   //      {
                   //          int caret = this.toolStripTextBox1.TextBox.SelectionStart;
                            //this.toolStripTextBox1.TextBox.SelectionStart = caret + 1;
                         
                   //      }
                   //      e.Handled = true;
                        //this.toolStripTextBox1.ToolTipText = "happiness-cubed";
                    //  }

                } 

               //the following procedures are not working because can not assign to a new event handler per error messages -- see commented out assignments above

//                private void toolStripTextBox1_GotFocus(object sender, KeyPressEventArgs e)
                private void toolStripTextBox1_GotFocus(KeyEventArgs e)
                {
                    this.OnGotFocus(e);
                    //this.toolStripTextBox1.ToolTipText = "happiness-quadrupled";
                    //return 0;
                }


                //private void toolStripTextBox1_KeyPress (object sender, KeyPressEventArgs e)
                //{
                //    this.OnGotFocus(e);
                //    
                //}


                private void toolStripButton1_Click(object sender, EventArgs e)
                {
                    string offcampURL = "http://ulsandbox.org/futech/offcampusinfo.html";
                    System.Diagnostics.Process.Start(offcampURL);

                }

                private void helpToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string helpURL = "http://libraries.uc.edu/help/how/";
                    System.Diagnostics.Process.Start(helpURL);
                }

                private void libraryHoursToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string hoursURL = "http://www.libraries.uc.edu/information/hours_maps/hours_main.html";
                    System.Diagnostics.Process.Start(hoursURL); 
                }

                private void libraryReservesToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string reservesURL = "http://www.libraries.uc.edu/cj/reserves.html";
                    System.Diagnostics.Process.Start(reservesURL); 
                }

                private void yourLibraryRecordToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string recordURL = "https://uclid.uc.edu/patroninfo~S39";
                    System.Diagnostics.Process.Start(recordURL); 
                }

                private void ohioLinkToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string olinkURL = "http://www.ohiolink.edu/";
                    System.Diagnostics.Process.Start(olinkURL); 
                }

                private void aZDatabasesAndIndexesToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string databaseURL = "http://www.libraries.uc.edu/research/articles/ar_all.php";
                    System.Diagnostics.Process.Start(databaseURL); 
                }

                private void uCLibrariesToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string uclibURL = "http://www.uc.edu/libraries/";
                    System.Diagnostics.Process.Start(uclibURL); 
                }

                private void blackBoardToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string blackboardURL = "http://blackboard.uc.edu/webapps/portal/frameset.jsp";
                    System.Diagnostics.Process.Start(blackboardURL); 

                }

                private void outlookWebmailToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string outlookURL = "https://ucowa.uc.edu/exchweb/bin/auth/owalogon.asp?url=https://ucowa.uc.edu/exchange&reason=0";
                    System.Diagnostics.Process.Start(outlookURL); 
                }

                private void bearcatOnlineToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string bearcatURL = "https://email.uc.edu/";
                    System.Diagnostics.Process.Start(bearcatURL); 
                }

                private void rWCWebMailToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string rwcURL = "https://ucrwcu.rwc.uc.edu/horde/";
                    System.Diagnostics.Process.Start(rwcURL); 
                }

                private void cETLToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string CETLURL = "http://www.uc.edu/cetl/";
                    System.Diagnostics.Process.Start(CETLURL);  
                }

                private void oneStopToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string onestopURL = "http://www.onestop.uc.edu/";
                    System.Diagnostics.Process.Start(onestopURL);  
                }

                private void academicCalandersToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string acadURL = "http://www.uc.edu/registrar/calendars.html";
                    System.Diagnostics.Process.Start(acadURL); 
                }

                private void uCToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string ucazURL = "http://ucdirectory.uc.edu/az_index.asp";
                    System.Diagnostics.Process.Start(ucazURL); 
                }

                private void facultyStaffHomeToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string staffURL = "http://www.uc.edu/employees/";
                    System.Diagnostics.Process.Start(staffURL); 
                }

                private void studentHomeToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string studentURL = "http://www.uc.edu/Current/";
                    System.Diagnostics.Process.Start(studentURL); 
                }

                private void toolStripSplitButton3_ButtonClick(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://uclid.uc.edu/search/X?" + theTerm + "&b=&l=&Da=&Db=&m=&s=&v=&c=&SORT=D&searchscope=39";
                    System.Diagnostics.Process.Start(targetURL);
                }

                private void libraryCatalogToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://uclid.uc.edu/search/X?" + theTerm + "&b=&l=&Da=&Db=&m=&s=&v=&c=&SORT=D&searchscope=39";
                    System.Diagnostics.Process.Start(targetURL);
                }

                private void oneSearchToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://aj2vr6xy7z.cs.serialssolutions.com/results?SS_LibHash=AJ2VR6XY7Z&dbIDList=&searchType=basic&action=start&catGroupList=default&searchBy=Category&field=Keyword&term=" + theTerm + "&catID=19851";
                    System.Diagnostics.Process.Start(targetURL);
                    
                    //the next line will successfully change the image of the toolbar, but only on the first tab, not on the new tab or new window that the command brings up.
                    //this.toolStripSplitButton3.Image = this.oneSearchToolStripMenuItem.Image;
                }

                private void onlineJournalTitlesToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://aj2vr6xy7z.search.serialssolutions.com/?V=1.0&N=100&L=AJ2VR6XY7Z&S=T_W_A&C=" + theTerm;
                    System.Diagnostics.Process.Start(targetURL);

                }

                private void electronicJournalCentersToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://journals.ohiolink.edu./lsearch/search.do?query=" + theTerm + "&field=contents";
                    System.Diagnostics.Process.Start(targetURL);
                }

                private void ohioLinkCatalogToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://olc1.ohiolink.edu/search/~?searchtype=X&searcharg=" + theTerm + "&SORT=D";
                    System.Diagnostics.Process.Start(targetURL);
                }

                private void googleScholarToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://scholar.google.com/scholar?q=" + theTerm + "&hl=en&lr=";
                    System.Diagnostics.Process.Start(targetURL);
                }

                private void hamiltonCountyPublicLibraryToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://catalog.cincinnatilibrary.org/uhtbin/cgisirsi/x/0/0/123?searchdata1=" + theTerm + "&srchfield1=GENERAL%5ESUBJECT%5EGENERAL%5E%5Ewords+org+phrase";
                    System.Diagnostics.Process.Start(targetURL);
                    
                }

                private void medlinePubMedToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://proxy.libraries.uc.edu/login?url=http://www.ncbi.nlm.nih.gov/sites/entrez?holding=ucmclib&cmd=Search&db=PubMed&term="+theTerm;
                    System.Diagnostics.Process.Start(targetURL);
                    
                }

                private void scopusToolStripMenuItem_Click(object sender, EventArgs e)
                {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://proxy.libraries.uc.edu/login?url=http://www.scopus.com/scopus/search/submit/xadvanced.url?searchfield=TITLE-ABS-KEY("+theTerm+")";
                    System.Diagnostics.Process.Start(targetURL);
                }

        private void academicSearchCompleteToolStripMenuItem_Click(object sender, EventArgs e)
        {
                    string theTerm = this.toolStripTextBox1.Text;
                    string targetURL = "http://proxy.libraries.uc.edu/login?url=http://search.ebscohost.com/login.aspx?direct=true&authtype=ip,uid&bQuery=(("+theTerm+"))&db=a9h";
                    System.Diagnostics.Process.Start(targetURL);
        }

        private void upgradeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string upgradeURL = "http://ulsandbox.org/futech/toolbar/IE/UCToolbar_Setup.msi";
            System.Diagnostics.Process.Start(upgradeURL); 
        }

        private void tellAFriendToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string tellfriendURL = "http://ulsandbox.org/futech/tell_a_friend.php";
            System.Diagnostics.Process.Start(tellfriendURL); 
        }

        private void feedbackToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string feedbackURL = "http://www.surveymonkey.com/s.aspx?sm=NnVhWMMPvLElgw0kLnsTJw_3d_3d";
            System.Diagnostics.Process.Start(feedbackURL); 
            
        }

        private void toolStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }
    

       
     }
}
