Click here to Skip to main content
12,405,895 members (37,643 online)
Click here to Skip to main content

Stats

122.8K views
4.3K downloads
121 bookmarked
Posted

Pretty IE Toolbar in C#

, 9 Sep 2008 CPOL
The article describes the work principles and ways of use of IEToolbarEngine. This is a toolbar for Internet Explorer, which has a reusable architecture.
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace IEToolbarEngine
{
    //internal class RssTickerEx : RssTicker
    //{
    //    public RssTickerEx (IEToolbarEngine engine, string name)
    //        : base (engine, name)
    //    {
    //    }

    //    internal string FeedName
    //    {
    //        get { return Path.GetFileNameWithoutExtension (this.CacheFileName); }
    //    }

    //    protected override void LoadSettings ()
    //    {     
    //        string val = engine.LoadString (FeedName);
    //        if (!string.IsNullOrEmpty (val)) this.Url = val;
    //    }

    //    protected override void CreateAdditionalLinks ()
    //    {
    //        System.Windows.Forms.ToolStripItem configureItem = this.linkListButton.DropDownItems.Add (configureTitle);
    //        configureItem.Click += new EventHandler (configureItem_Click);
    //    }

    //    override internal string Url
    //    {
    //        get { return base.Url; }
    //        set
    //        {   
    //            base.Url = value;
    //            engine.SaveString (FeedName, value);
    //            Refresh ();
    //        }
    //    }

    //    void configureItem_Click (object sender, EventArgs e)
    //    {
    //        ConfigureRSS dlg = new ConfigureRSS (this);
    //        dlg.ShowDialog ();
    //    }

    //    public override bool RestoreGuts (System.Xml.XmlElement element)
    //    {
    //        Reset ();
    //        try
    //        {
    //            try
    //            {
    //                configureTitle = ReadStringByTag (element, GetMenuItem (element, "Configure").Attributes ["caption"].Value);
    //            }
    //            catch (Exception) { }
                 
    //            return base.RestoreGuts(element);
    //        }
    //        catch (Exception)
    //        {
    //        }

    //        return false;
    //    }


    //    protected string configureTitle = "Configure...";
    //}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Alexandr Golovanov
Web Developer
Russian Federation Russian Federation
Alexandr Golovanov is a .NET developer at KB_Soft Group, an offshore software development company located in Russia, Novosibirsk. Here he has worked
on various .NET projects.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160721.1 | Last Updated 9 Sep 2008
Article Copyright 2008 by Alexandr Golovanov
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid