ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.PluginFramework/Core/UserControlPlugin.cs
Revision: 440
Committed: Tue May 28 19:10:10 2013 UTC (9 years, 1 month ago) by william
File size: 972 byte(s)
Log Message:
+ add support to usercontrol plugins to dock the controls on the form

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using RomCheater.PluginFramework.Interfaces;
6 using WeifenLuo.WinFormsUI.Docking;
7
8 namespace RomCheater.PluginFramework.Core
9 {
10 public abstract class UserControlPlugin : PluginBase, IUserControlPlugin
11 {
12 public UserControlPlugin() { }
13
14 public override Guid ID
15 {
16 get { return new Guid(); }
17 }
18 public override string Name
19 {
20 get
21 {
22 return "Unknown UserControl Plugin";
23 }
24 }
25 public override string Description
26 {
27 get
28 {
29 return "";
30 }
31 }
32
33 public abstract void Show();
34 public abstract void Show(DockPanel dockPanel);
35 public abstract void Show(DockPanel dockPanel, DockState dockState);
36 public abstract void Config();
37 }
38 }