Пример #1
0
        private static void Warning360Safe()
        {
            var proc360     = Process.GetProcessesByName("360Safe");
            var proc360Tray = Process.GetProcessesByName("360Tray");

            if (proc360.Length + proc360Tray.Length > 0)
            {
                using (var warn = new Warn360())
                {
                    warn.ShowDialog();
                }
            }
        }
Пример #2
0
 private static void Warning360Safe()
 {
     var proc360 = Process.GetProcessesByName("360Safe");
     var proc360Tray = Process.GetProcessesByName("360Tray");
     
     if(proc360.Length + proc360Tray.Length > 0)
     {
         using (var warn = new Warn360())
         {
             warn.ShowDialog();
         }
     }
 }