摘要: private void button2_Click(object sender, EventArgs e) { Button newButton = new Button();//创建一个名为newButton的新按钮 newButton.Width = 150; newButton.Left= 阅读全文
posted @ 2021-02-25 18:30 杨咩咩plus 阅读(2228) 评论(0) 推荐(0)
摘要: private void pictureBox1_Click(object sender, EventArgs e) { //点击获取picturebox内的X,Y坐标 int x = Control.MousePosition.X; int y = Control.MousePosition.Y; 阅读全文
posted @ 2021-02-25 13:06 杨咩咩plus 阅读(3777) 评论(0) 推荐(0)