Exemple #1
0
        public void RunWithNewWindow(PlugInScriptContext scriptContext)
        {
            var scriptWindow = new Window();

            InvokeScriptRun(scriptContext, scriptWindow);
            scriptWindow.ShowDialog();
        }
Exemple #2
0
 private void InvokeScriptRun(PlugInScriptContext scriptContext, Window scriptWindow)
 {
     _scriptRunMethod.Invoke(_scriptInstance, new object[]
     {
         scriptContext.User,
         scriptContext.Patient,
         scriptContext.Image,
         scriptContext.StructureSet,
         scriptContext.PlanSetup,
         scriptContext.PlanSetupsInScope,
         scriptContext.PlanSumsInScope,
         scriptWindow
     });
 }