Esempio n. 1
0
 public void VysorWinPatcher(string uglifyPath)
 {
     ProcessStopper("Vysor");
     ProcessStopper("adb"); CheckBoxChecker(0, true);
     if (FileJSPatcher(uglifyPath, 0))
     {
         CheckBoxChecker(3, true);
         if (_form1.firewallToggle.Checked == true)
         {
             FireWaller fw = new FireWaller();
             fw.firewalldown();
             CheckBoxChecker(4, true);
         }
         if (DialogResult.OK == messaged(MainStringsRes.WinVysorComplete, MainStringsRes.Success, MessageBoxButtons.OKCancel, MessageBoxIcon.Information))
         {
             VysorExeExecutor(false, Constants.dirVysor + "Vysor.exe");
         }
     }
 }
Esempio n. 2
0
        private void PictureBox1_Click(object sender, EventArgs e)
        {
            FireWaller fw = new FireWaller();

            fw.firewalldown();
        }