Loading

上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: 更新界面通用方法: #region 是否正在导出 /// <summary>正在工作 </summary> bool IsWorking { get { return isWorking; } set { ChangeControlEnabled(!value); isWorking = value 阅读全文
posted @ 2020-09-16 10:32 云辰 阅读(206) 评论(0) 推荐(0)
摘要: 恢复内容开始 #region 移动窗口 [DllImport("user32.DLL", EntryPoint = "ReleaseCapture")] private extern static void ReleaseCapture(); [DllImport("user32.DLL", Ent 阅读全文
posted @ 2020-09-16 10:25 云辰 阅读(813) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using GH.Commons.Log; namespace OracleIm 阅读全文
posted @ 2020-09-09 13:54 云辰 阅读(269) 评论(0) 推荐(0)
摘要: /// <summary> /// 检测CMD命令是否通过 /// </summary> /// <param name="command">CMD命令</param> /// <returns></returns> public static bool CmdError(string comman 阅读全文
posted @ 2020-09-08 09:19 云辰 阅读(907) 评论(0) 推荐(0)
摘要: #region 刷新ListBox界面信息 private void RefreshDistributedListbox(string msg, StateType type) { if (this.listBoxControl_Distributed.Items.Count > 0 && this 阅读全文
posted @ 2020-08-28 09:14 云辰 阅读(264) 评论(0) 推荐(0)
摘要: 1.在分页的时候,一般会显示总页数,需要先查询总数据量得到总页数,总页数=总量/每页显示记录数 select count(*) from mse0001; 分页语句一:含order by排序,多一层嵌套,因为order by在select之后执行,不在里面写的话可能会出现不是预期的排序结果 sele 阅读全文
posted @ 2020-03-24 10:45 云辰 阅读(377) 评论(0) 推荐(0)
摘要: private void MovePanelSid(Control btn) { panelside.Top = btn.Top; panelside.Height = btn.Height; } private void button1_Click(object sender, EventArgs 阅读全文
posted @ 2020-03-23 16:04 云辰 阅读(819) 评论(0) 推荐(0)
摘要: 1、首先,将chart控件添加到窗口。 2、设置chart - series 主要t属性: 2.1 IsXValueIndexed = true; 2.2 XValueType = Time; 3、编写初始化函数: Private Sub InitChart() Dim r As Random = 阅读全文
posted @ 2020-03-13 11:20 云辰 阅读(1362) 评论(0) 推荐(0)
摘要: 在NuGet搜索Costura,引用此dll,打包成EXE文件的时候会合并到EXE,不会产生dll,比如数据库dll(OracleAccessDatabase.dll) 注意:由于可能会报如下错误~ Fody is only supported on MSBuild 16 and above. Cu 阅读全文
posted @ 2020-02-20 17:10 云辰 阅读(1925) 评论(0) 推荐(0)
摘要: 以下是ComboBox绑定键值对的C#代码: ArrayList mylist = new ArrayList(); mylist.Add(new DictionaryEntry("WinFormURL", "http://www.cnblogs.com/cate/winform/")); myli 阅读全文
posted @ 2020-02-11 10:18 云辰 阅读(572) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页