۲۰-مرداد-۱۳۸۹, ۰۸:۱۹:۴۸
کد php:
private void Form1_Load(object sender, EventArgs e)
{
Screen scr = Screen.PrimaryScreen;
this.Left = (scr.WorkingArea.Width - this.Width) / 2;
this.Top = (scr.WorkingArea.Height - this.Height) / 2;
}[code][/code]