예제 #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");
                }
            }
        }
예제 #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");
            }
        }
예제 #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");
            }
        }
예제 #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");
     }
 }
예제 #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");

        }
예제 #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");

        }