C# language

using NextFEMplugin;

 public class plugin : IPlugin

{

       public void LaunchMe(IntPtr hnd)

       {

             TrussDrawer frm = new TrussDrawer();

             frm.caller = this;

             frm.Text = this.PluginName;

             frm.Show(System.Windows.Forms.Control.FromHandle(hnd));

       }

        public string PluginAuthor

       {

             get

             { return “NextFEM Support Team”; }

       }

        public string PluginName

       {

             get

             { return “Truss Drawer”; }

       }

        public string iconFile

       {

             get

             { return “NextFEM.ico”; }

       }

        public event EventHandler updateModel;

       internal void RequestScreenUpdate(object sender, bool resize, ViewState Vstate)

       {

             updateModel(sender, resize,Vstate);

       }

       public event EventHandler undoCall;

       internal void RequestUndo(undoOps undoProperty)

       {

             undoCall(undoProperty);

       }

        public NextFEMapi.API API {get; set;}

       public string currentLoadcase {get; set;}

       public string currentTime {get; set;}

}