Esempio n. 1
0
        /// <summary>
        /// Closes the window
        /// Can be called from any reponse or web [LSamplePluginWPF.MyCustomClass.Test_FormClose]
        /// </summary>
        /// <returns></returns>
        public static string Close()
        {
            string retVal = string.Empty;

            myCustomWindow.FormTest_Close();
            myCustomWindow = null;

            return(retVal);
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of WPF window
        /// Can be called from any reponse or web [LSamplePluginWPF.MyCustomClass.Test_InitWPFWindow]
        /// </summary>
        /// <returns></returns>
        public static string Open()
        {
            string retVal = string.Empty;

            if (myCustomWindow == null)
            {
                // Creates window instance
                myCustomWindow = new MyCustomWindow();
            }

            return(retVal);
        }