Exemplo n.º 1
0
        private void jShow(bool OnOff)
        {
            int rc = BADRC;
            int jin;

            jin = OnOff ? 1 : 0;
            rc  = jObject.Show(jin);
        }
Exemplo n.º 2
0
        private void jNew()
        {
            try
            {
                int rc = BADRC;

                jObject = new JEXEServerLib.JEXEServer();

                // set J to quit and log input lines
                rc = jObject.Quit();
                rc = jObject.Log(1);

                // hide J window
                // Note: we get a window flash
                // before this command takes effect
                rc = jObject.Show(0);
            }
            catch
            {
                throw;
            }
        }