Esempio n. 1
0
        public void sendApplicationType()
        {
            MessageBuffer mb = new MessageBuffer();
            mb.add("PowerPoint");
            mb.add("Microsoft PowerPoint Add-in");

            COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.ApplicationType);
        }
Esempio n. 2
0
        public void sendViewpointMessage(string str)
        {
            MessageBuffer mb = new MessageBuffer();

            mb.add("setViewpoint " + str);

            COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.StringMessage);
        }
Esempio n. 3
0
        public void sendApplicationType()
        {
            MessageBuffer mb = new MessageBuffer();
            if (mode == Mode.Word)
            {
            mb.add("Word");
            mb.add("Microsoft Word");
            }
            if (mode == Mode.Excel)
            {
            mb.add("Calc");
            mb.add("Excel");
            }
            if (mode == Mode.PowerPoint)
            {
            mb.add("Presentation");
            mb.add("PowerPoint");
            }
            if (mode == Mode.InternetExplorer)
            {
            mb.add("Browser");
            mb.add("InternetExplorer");
            }

            COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.ApplicationType);
        }