1
Answer

select an open window in c#

Photo of aya omar

aya omar

11y
1.2k
1
hi
i want to select an open window to be in front and close,maximize,minimize by C# code something like switch application in window recognition
(the only code i have found to close or maximize is by choosing the process, i don't want that )


Answers (1)

0
Photo of paul daniel
NA 466 0 15y
0
Photo of Sam Hobbs
NA 28.7k 1.3m 15y

Attachment 77169.zip


Please get a book about C# and .Net and Windows Forms. This question would be answered in every good book such as that. There are abundant examples available in many places. In the left side of this window, do you see "Our recommended articles"? Did you read the one "Adding Controls to Windows Forms at Runtime"?
 
The attached project is a sample of what you are asking for.