Exemple #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            if (listaDirectorios.SelectedIndex == -1)
            {
                MessageBox.Show(Traducir("Seleccione un directorio."));
                return;
            }

            GusScriptPath path = listaDirectorios.SelectedItem as GusScriptPath;

            server.RemovePath(path);
            serverPaths.Remove(path);
            RefrescarPaths();
            SalvarPaths();
        }
Exemple #2
0
        private void DetenerTor()
        {
            if (torController != null)
            {
                torController.Dispose();
                torController = null;

                bridge.RemovePath(bridgePath);
                bridge.Stop();
                bridge = null;
            }

            button1.Enabled = true;
            button2.Enabled = false;
            button6.Enabled = false;
        }