winform shuts down form2 and displays form1

winform shuts down form2 and displays form1 Preface When you are in the water group, you see a high frequency question, which is always asked by many people, so write it simply... Problem Description Emerging creates and displays (Show) form2 by clicking on the button in form1 while form1 hides (Hide) form1 cannot be operated on when form2 is c ...

Posted by lettie on Sun, 02 Jan 2022 19:47:52 +0100

C# Winform calls winapi SendMessage method to send and receive messages across processes

C# Winform inter window message notification uses the Windows API SendMessage method to send messages across processes, rewrites the WndProc method to receive and process messages The following three methods and functions are mainly used: WndProc: mainly used to intercept and process system messages and custom messages You can override th ...

Posted by zigojacko on Wed, 15 Dec 2021 02:14:36 +0100

C # uses SendMessage to realize message transmission between winform and wpf

C# Winform inter window message notification uses the Windows API SendMessage method to send messages across processes, rewrites the WndProc method to receive and process messages The following three methods and functions are mainly used: WndProc: mainly used to intercept and process system messages and custom messages You can override th ...

Posted by maskme on Mon, 13 Dec 2021 01:52:08 +0100