Quantcast
Channel: C#nedir?com Forum
Viewing all articles
Browse latest Browse all 613

C# : OTO TUŞ !!! TEK PROGRAMDA NASIL ÇALISTIRA BİLİRİM

$
0
0
Author: theCranberries
Subject: OTO TUŞ !!! TEK PROGRAMDA NASIL ÇALISTIRA BİLİRİM
Posted: 28 Temmuz 2016 at 23:05

Öncelikle üsluba biraz daha dikkat edin. Sorunuza gelecek olursak apileri araştırın.

void Main(){ int hwnd = FindWindow(null, "Adsız- Not Defteri");//title ismi  SetForegroundWindow(hwnd); SendKeys.SendWait("göndereceğin tuş");}[DllImport("user32.dll")]public static extern int FindWindow( string lpClassName, string lpWindowName );[DllImport("user32.dll")]public static extern int SetForegroundWindow( int hWnd  );

Viewing all articles
Browse latest Browse all 613

Trending Articles