Click here to Skip to main content
12,696,493 members (31,750 online)
Click here to Skip to main content
Articles » Languages » C# » Applications » Downloads


272 bookmarked

Context Help Made Easy

, 2 Feb 2007 CPOL
This article introduces a new way of instrumenting your code that enables help authors associate help topics with the application’s visual contexts at any time - even post-compilation – and to do so using the application’s user interface without the involvement of the developer.
namespace ContextHelpMadeEasy
    partial class UI1LeftSide
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
            if (disposing && (components != null))

        #region Component Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
            this.lstTest = new System.Windows.Forms.ListBox();
            // lstTest
            this.lstTest.BackColor = System.Drawing.SystemColors.Window;
            this.lstTest.Dock = System.Windows.Forms.DockStyle.Fill;
            this.lstTest.FormattingEnabled = true;
            this.lstTest.IntegralHeight = false;
            this.lstTest.Items.AddRange(new object[] {
            "Item 1",
            "Item 2",
            "Item 3",
            "And so on"});
            this.lstTest.Location = new System.Drawing.Point(0, 0);
            this.lstTest.Name = "lstTest";
            this.lstTest.Size = new System.Drawing.Size(209, 353);
            this.lstTest.TabIndex = 6;
            // UI1LeftSide
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Margin = new System.Windows.Forms.Padding(5);
            this.Name = "UI1LeftSide";
            this.Size = new System.Drawing.Size(209, 353);



        private System.Windows.Forms.ListBox lstTest;

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.


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


About the Author

Tom Clement
Product Manager
United States United States
I've been programming in C, C++, Visual Basic and C# for over 30 years. I've worked at Sierra Systems, ViewStar, Mosaix, Lucent, Avaya, Avinon, Apptero, Serena and now Guidewire Software in various roles over my career.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 2 Feb 2007
Article Copyright 2007 by Tom Clement
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid