Sample WPF application making VMS.TPS.Common.Model.API.Application.CreateApplication call

Sep 23, 2014 at 9:27 PM
Hi everyone! I am making a simple sample WPF app which is calling VMS.TPS.Common.Model.API.Application.CreateApplication function after clicking on a WPF button. We have a sample console app which works just fine, but need to get it working on WPF.
If anyone can share a simple code snippet, I'd appreciate it.
Nov 13, 2014 at 3:30 AM
Hello,

A while ago I uploaded a project called PluginTester which consists of a standalone application which I use to open a patient and then call my binary plugin script with the corresponding context. I use it mainly as a tool for developing/debugging my scripts.

The PluginTester project might work as an example to what you are trying to do. I took a different approach however; I call CreateApplication in my Main program and then open a WPF window and pass the context to it as properties. If you are interested please feel free to take a look at that project and send me any questions you might have.
Eduardo