Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Plugins Manager

, 22 May 2008 CPOL
A plugins manager class to manage a plugins structure
/*
 * Creato da SharpDevelop.
 * Utente: lucabonotto
 * Data: 22/05/2008
 * Ora: 11.15
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using TestInterface;

namespace Test1
{
	/// <summary>
	/// Description of Test1Control.
	/// </summary>
	public partial class Test1Control : UserControl
	{
		private ITestProvider	provider = null;
		
		public Test1Control()
		{
			InitializeComponent();
		}
		
		public ITestProvider Provider 
		{ 
			set { this.provider = value; }
			get	{ return this.provider; }
		}
		
		void btnCheck_Click(object sender, EventArgs e)
		{
			if ( this.Provider != null )
				this.Provider.Message ( "Click on Test1 plugin" );
		}
	}
}

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

Luca Bonotto
Software Developer (Senior)
Italy Italy
Software developer with over 10 years of experience, specializing in GUI designs in MFC/C++ and C#.


Company : Promax S.r.l.


| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141216.1 | Last Updated 22 May 2008
Article Copyright 2008 by Luca Bonotto
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid