Generation

generate functionMon, 20 Mar 2023

自定义一个picturebox然后给他注册一个函数

public class PictureBox : Control { public PictureBox() { Click += delegate { MessageBox.Show("This is a picture box"); } } }

Questions about programming?Chat with your personal AI assistant