会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杨咩咩plus
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2021年2月26日
C# sqlite操作方法
摘要: //新建一个数据库文件 SQLiteConnection.CreateFile("MyDatabase.sqlite"); //创建一个连接到指定数据库 SQLiteConnection m_dbConnection = new SQLiteConnection("Data Source=MyDat
阅读全文
posted @ 2021-02-26 10:28 杨咩咩plus
阅读(639)
评论(0)
推荐(0)
2021年2月25日
C# 控件生成新的button并添加点击事件
摘要: 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)
C# 控件picturebox获取坐标的方法
摘要: 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)
上一页
1
2
公告