Click here to Skip to main content
15,895,667 members
Articles / Desktop Programming / Win32

.NET Shell Extensions - Shell Info Tip Handlers

Rate me:
Please Sign up or sign in to vote.
4.90/5 (16 votes)
5 Apr 2013CPOL7 min read 54.6K   2K   44  
Rapidly create Shell Info Tip Extensions using .NET
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ServerManager
{
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();
        }

        private void AboutForm_Load(object sender, EventArgs e)
        {
            textBox1.Text = CreateAboutInfo().ToString();
        }

        private StringBuilder CreateAboutInfo()
        {
            var builder = new StringBuilder();

            builder.AppendLine(@"SharpShell Server Manager");
            builder.AppendLine(@"Server Manager Version: " + typeof (ServerManagerForm).Assembly.GetName().Version);
            builder.AppendLine(@"SharpShell Version:" + typeof (SharpShell.ISharpShellServer).Assembly.GetName().Version);
            builder.AppendLine(@"Copyright (c) Dave Kerr 2013");
            builder.AppendLine(@"More Info: http://sharpshell.codeplex.com");

            return builder;
        }
    }
}

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)


Written By
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.

Comments and Discussions