Bilgisayar kapatma programı C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;//http://www.gorselprogramlama.com/ namespace zamanli_bilgisayar_kapatma { public partial class Form1 : Form { public Form1() { InitializeComponent();//http://www.gorselprogramlama.com/ } private void btnKapat_Click(object sender, EventArgs e) { timer1.Start(); } private void timer1_Tick(object sender, EventArgs e) { if ((Convert.ToString(DateTime.Now.Second) == Convert.ToString(numericUpDown1.Value))) { if ((Convert.ToString(DateTime.Now.Minute) == Convert.ToString(numericUpDown2.Value))) { if ((Convert.ToString(DateTime.Now.Hour) == Convert.ToString(numericUpDown3.Value))) { System.Diagnostics.Process.Start("shutdown", "-f -s"); } } } } } }