1-) library ;
using System.Runtime.InteropServices;
add
2-)Tanımlama Yapılan yere
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool SetForegroundWindow(IntPtr hWnd);
eklenecek
3-)Timer add enabled true
SetForegroundWindow(this.Handle);
using System.Runtime.InteropServices;
add
2-)Tanımlama Yapılan yere
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool SetForegroundWindow(IntPtr hWnd);
eklenecek
3-)Timer add enabled true
SetForegroundWindow(this.Handle);
and this cede entery
Yorumlar
Yorum Gönder