Plugin is a very broad term.
It could mean anything from plugging in a module to an entire application.
For a simple example on forms - see
Plugin Architecture using C#[
^].
Are you talking about any specific plugin?
Or do you want to design your own plugin framework - see
here[
^].