Esempio n. 1
0
        private void mnuReDirectRemnet_Click(object sender, EventArgs e)
        {
            mnuReDirectRemnet.Checked = !mnuReDirectRemnet.Checked;
            ConnectionPopups cnct = new ConnectionPopups();

            if (mnuReDirectRemnet.Checked)
            {
                if (cnct.reDirectRemnet("OEMTitleBarHandler.exe"))
                {
                    addText("Redirect OK");
                }
                else
                {
                    addText("Redirect FAILED");
                }
            }
            else
            {
                if (cnct.reDirectRemnetRestore())
                {
                    addText("Redirect restore OK");
                }
                else
                {
                    addText("Redirect restore FAILED");
                }
            }
        }
Esempio n. 2
0
        private void mnuCnctEnableCannotConnect_Click(object sender, EventArgs e)
        {
            ConnectionPopups cnct = new ConnectionPopups();

            if (cnct.enablePopup(ConnectionPopups.ConnectPopupIDs.IDS_CM_STATUS_NOPATHTODESTINATION))
            {
                addText("Enable Popup 'IDS_CM_STATUS_NOPATHTODESTINATION' OK");
            }
            else
            {
                addText("Enable Popup 'IDS_CM_STATUS_NOPATHTODESTINATION' FAILED");
            }
        }
Esempio n. 3
0
        private void mnuCnctAnableAll_Click(object sender, EventArgs e)
        {
            ConnectionPopups cnct = new ConnectionPopups();

            if (cnct.enableAll())
            {
                addText("All connect popups enabled");
            }
            else
            {
                addText("All connect popups enable FAILED");
            }
        }
Esempio n. 4
0
 private void mnuReDirectRemnet_Click(object sender, EventArgs e)
 {
     mnuReDirectRemnet.Checked = !mnuReDirectRemnet.Checked;
     ConnectionPopups cnct = new ConnectionPopups();
     if (mnuReDirectRemnet.Checked)
     {
         if (cnct.reDirectRemnet("OEMTitleBarHandler.exe"))
             addText("Redirect OK");
         else
             addText("Redirect FAILED");
     }
     else
     {
         if(cnct.reDirectRemnetRestore())
             addText("Redirect restore OK");
         else
             addText("Redirect restore FAILED");
     }
 }
Esempio n. 5
0
        private void mnuCnctEnableCannotConnect_Click(object sender, EventArgs e)
        {
            ConnectionPopups cnct = new ConnectionPopups();
            if (cnct.enablePopup(ConnectionPopups.ConnectPopupIDs.IDS_CM_STATUS_NOPATHTODESTINATION))
                addText("Enable Popup 'IDS_CM_STATUS_NOPATHTODESTINATION' OK");
            else
                addText("Enable Popup 'IDS_CM_STATUS_NOPATHTODESTINATION' FAILED");

        }
Esempio n. 6
0
        private void mnuCnctAnableAll_Click(object sender, EventArgs e)
        {
            ConnectionPopups cnct = new ConnectionPopups();
            if (cnct.enableAll())
                addText("All connect popups enabled");
            else
                addText("All connect popups enable FAILED");

        }