Exemplo 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");
                }
            }
        }
Exemplo 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");
            }
        }
Exemplo 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");
            }
        }
Exemplo 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");
     }
 }
Exemplo 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");

        }
Exemplo 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");

        }