Ejemplo n.º 1
0
        private void ExecuteFlush()
        {
            ProgressBar.Value = 0;

            String path = Globals.Flush;

            if (File.Exists(path))
            {
                ProcessUtil.Execute(path, Globals.FlushArgs);
            }

            ProgressBar.Value = 100;
        }
Ejemplo n.º 2
0
        private void ExecuteFlush(Boolean showMessage = true)
        {
            ProcessUtil.Execute(Globals.Flush, Globals.FlushArgs, "Flush DNS", showMessage);

            LogMessage(Resources.DNSFlushed);
        }
Ejemplo n.º 3
0
 private void iisresetToolStripMenuItem_Click(Object sender, EventArgs e)
 {
     ProcessUtil.Execute(Globals.IISReset, Globals.IISResetArgs, "IISReset");
 }