会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
LuoCore
LuoCore
www.LuoCore.com
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
52
下一页
2022年9月16日
C# dataTable 操作 上移 下移
摘要: https://blog.csdn.net/CSDN2016DDDD/article/details/80226755 上移:DataRow newdata = dt.NewRow();newdata.ItemArray = dt.Rows[ii].ItemArray;dt.Rows.RemoveA
阅读全文
posted @ 2022-09-16 15:44 LuoCore
阅读(443)
评论(0)
推荐(0)
2022年9月13日
C# 将 Stream 写入文件
摘要: /// <summary> /// 将 Stream 写入文件 /// </summary> public static void StreamToFile(Stream stream, string fileName) { // 把 Stream 转换成 byte[] byte[] bytes =
阅读全文
posted @ 2022-09-13 17:08 LuoCore
阅读(1928)
评论(0)
推荐(0)
2022年8月3日
C# 文件正由另一进程使用,该进程无法访问该文件
摘要: OpenFileDialog控件,而使用该控件时若没有将条件设置好,很容易出现以下提示: 打开一个文件后,尝试重新打开一次该文件,或者打开该文件后想对该文件进行其他操作的时候,就容易出现这个错误提示,错误的原因很简单,解决方法也很简单。 System.IO.FileStream时参数设置有问题。 F
阅读全文
posted @ 2022-08-03 09:53 LuoCore
阅读(2203)
评论(0)
推荐(0)
2022年7月25日
C#实现定时器的几种方案
摘要: 原文地址:https://cloud.tencent.com/developer/article/1530659 在C#里关于定时器类就有三个 1、System.Windows.Forms.Timer 2、System.Threading.Timer 3、定义在System.Timers.Timer
阅读全文
posted @ 2022-07-25 18:38 LuoCore
阅读(3417)
评论(0)
推荐(0)
2022年7月13日
Xamarin.Android 开启网络请求- 网络权限
摘要: https://blog.csdn.net/xujingcheng123/article/details/115968567 在文件 AndroidManifest.xml 配置 <uses-permission android:name="android.permission.INTERNET"
阅读全文
posted @ 2022-07-13 16:13 LuoCore
阅读(467)
评论(0)
推荐(0)
2022年7月11日
Xamarin.Andorid 调用相机拍照
摘要: https://www.jianshu.com/p/29b349ff7f1a 第一步:XML布局文件 <?xml version="1.0" encoding="utf-8"?><androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:an
阅读全文
posted @ 2022-07-11 11:32 LuoCore
阅读(762)
评论(3)
推荐(1)
2022年7月8日
Xamarin.Andorid 监听 EditText 回车事件
摘要: EditText ET_Billcode.EditorAction += ET_Billcode_EditorAction; //执行方法 private void ET_Billcode_EditorAction(object sender, TextView.EditorActionEventA
阅读全文
posted @ 2022-07-08 14:25 LuoCore
阅读(221)
评论(0)
推荐(0)
Xamarin.Andorid 代码方式弹出下拉框
摘要: 转载于:https://my.oschina.net/u/1024921/blog/163142 public static void SetFocus(this Spinner snr) { snr.FindFocus(); snr.FocusableInTouchMode = true; snr
阅读全文
posted @ 2022-07-08 14:24 LuoCore
阅读(154)
评论(0)
推荐(0)
2022年7月1日
C# 启动windows 服务(通过cmd管理员方式和winform 方式)
摘要: 参考来源: https://www.jb51.net/article/32645.htm https://www.cnblogs.com/appskyy/p/11019647.html (主要就是这个DOS CMD 调用DOS) public class SystemServicesMSCHelpe
阅读全文
posted @ 2022-07-01 13:41 LuoCore
阅读(1151)
评论(0)
推荐(0)
2022年6月27日
Android 各个模拟器的 链接上Adb 设备管理的方法
摘要: https://blog.csdn.net/weixin_45598506/article/details/107918803?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefa
阅读全文
posted @ 2022-06-27 14:38 LuoCore
阅读(340)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
52
下一页
公告