00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 using System;
00013 using System.Windows.Forms;
00014
00015 namespace Mcs.Epm.MicrosoftProject.mpFx.Client.Shared
00016 {
00017
00018
00019
00020 public interface IMpFxClientPlugin:IDisposable
00021 {
00022 #region Properties
00023
00024 Guid Guid { get; }
00025 Version Version { get; }
00026 string Implementation { get; set; }
00027 string Name { get; }
00028 string Description { get; }
00029 string Author { get; }
00030 string Tag { get; }
00031 Uri Preview { get; }
00032 bool IsLoaded { get;}
00033 bool IsMarkedForDeletion { get; set; }
00034 Form MainForm { get; }
00035
00036 UserControl OptionsControl { get; }
00037
00038 #endregion
00039
00040 #region Events
00041
00042 event OnStatusChangedEventHandler OnStatusChanged;
00043
00044 #endregion
00045
00046 #region Methods
00047
00048 void OnLoad(ProjectServer projectServer, Form parent, ToolStrip toolStrip);
00049 void OnUnload();
00050
00051 #endregion
00052
00053 }
00054 }