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