Click here to Skip to main content
15,896,425 members
Articles / Desktop Programming / Windows Forms

Windows Services Made Simple

Rate me:
Please Sign up or sign in to vote.
4.62/5 (10 votes)
27 Jun 2007CPOL10 min read 94.5K   6.9K   69  
Describes how to build a Windows Service using the Pegasus Library.
using System;
using System.Windows.Forms;

namespace Pegasus.Windows.Forms.Explorer
{
	/// <summary>
	/// This is the interface the the Explorer view class uses to communicate with a tree control that 
	/// appears in the left pannel of the Explorer view.
	/// </summary>
	public interface IExplorerTree 
	{
		/// <summary>
		/// Adds the node.
		/// </summary>
		/// <param name="node">The node.</param>
		void AddNode( ExplorerNode node );

		/// <summary>
		/// Removes the node.
		/// </summary>
		/// <param name="node">The node.</param>
		void RemoveNode( ExplorerNode node );

		/// <summary>
		/// Removes the node children.
		/// </summary>
		/// <param name="parentNode">The parent node.</param>
		void RemoveNodeChildren( ExplorerNode parentNode );

		/// <summary>
		/// Sets the image list for the icons in the tree.
		/// </summary>
		/// <param name="imageList">The image list.</param>
		void SetImageList( ImageList imageList );
	}
}

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
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions