private void simpleButton1_Click(object sender, EventArgs e)
        {
            var process = new Process
            {
                StartInfo =
                {
                    FileName  = "Taskmgr.exe",
                    Arguments = "/7 /startup"
                }
            };

            process.Start();
            TaskMgrCheck.Start();
            simpleButton1.ForeColor = Color.Green;
        }
Ejemplo n.º 2
0
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            TaskMgrCheck.Start();
            var process = new Process
            {
                StartInfo =
                {
                    FileName  = "Taskmgr.exe",
                    Arguments = "/7 /startup"
                }
            };

            if (Properties.Settings.Default.Lang == "FR")
            {
                DevExpress.XtraEditors.XtraMessageBox.Show("Je vous pris de bien vouloir vérifiée ce que vous avez désactivée si vous avez des problèmes !", "Informations !", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
            {
                DevExpress.XtraEditors.XtraMessageBox.Show("I kindly ask you to check what you have disabled if you have problems !", "Informations !", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            process.Start();
        }