摘要: 以下代码均为我自己项目中的代码,没有作为公用代码: #region 线程定时器定义 public delegate void EveDY1(object sender, EventArgs e);//申明委托-电源1 System.Timers.Timer tim_DY1 = new System. 阅读全文
posted @ 2021-08-28 11:09 Cmale 阅读(445) 评论(0) 推荐(0) 编辑
摘要: private void ExtractNormalFileInResx(byte[] resource, String path) { FileStream file = new FileStream(path, FileMode.Create); file.Write(resource, 0, 阅读全文
posted @ 2021-08-28 11:01 Cmale 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 首先:加载所需DLL [DllImport("winmm.dll")] ResourceManager rm = new ResourceManager("IT6831A.Properties.Resources", Assembly.GetExecutingAssembly()); SoundPl 阅读全文
posted @ 2021-08-28 09:39 Cmale 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 速度非常快,5W行40列,几秒完成。 VB :VSFlexGrid3.SaveGrid Path, flexFileExcel, flexXLSaveFixedCells Or flexXLSaveRaw 阅读全文
posted @ 2021-08-28 09:31 Cmale 阅读(125) 评论(0) 推荐(0) 编辑