摘要: //新建一个数据库文件 SQLiteConnection.CreateFile("MyDatabase.sqlite"); //创建一个连接到指定数据库 SQLiteConnection m_dbConnection = new SQLiteConnection("Data Source=MyDat 阅读全文
posted @ 2021-02-26 10:28 杨咩咩plus 阅读(639) 评论(0) 推荐(0)
摘要: 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 阅读(2227) 评论(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)