摘要: 一、修改hosts文件 hosts文件的所在目录:C:\Windows\System32\drivers\etc 在文件最后填加以下IP github Start 140.82.113.3 github.com 199.232.69.194 github.global.ssl.fastly.net 阅读全文
posted @ 2022-05-26 22:07 zhujie- 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Application.Dialogs(476).Show '调用“活动单元格字体”对话框 名称 值 说明 xlDialogActivate 103 “激活”对话框 xlDialogActiveCellFont 476 “活动单元格字体”对话框 xlDialogAddChartAutoformat 阅读全文
posted @ 2020-11-27 16:34 zhujie- 阅读(1816) 评论(0) 推荐(0) 编辑
摘要: private void timer1_Tick(object sender, EventArgs e) { x++; if (x == 10) { string sql = "SELECT New_Version FROM VersionNumber"; string str = Convert. 阅读全文
posted @ 2020-09-23 22:24 zhujie- 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using Microsoft.Reporting.WinForms; using System; using System.Data; using System.Windows.Forms; namespace 一维码 { public partial class Form1 : Form { p 阅读全文
posted @ 2020-09-14 23:11 zhujie- 阅读(797) 评论(0) 推荐(0) 编辑
摘要: public static class ChartHelper { /// /// Name:添加序列 /// Author:by boxuming 2019 04 28 13:59 /// /// 图表对象 /// 序列名称 /// 图表类型 /// 颜色 /// 标记点颜色 /// 是否显示数值 阅读全文
posted @ 2020-05-22 23:31 zhujie- 阅读(392) 评论(0) 推荐(0) 编辑
摘要: public Form1()//窗体构造函数 { InitializeComponent(); //窗体中控件的事件晚期绑定 for (int i = 0; i /// 有关鼠标样式的相关枚举 /// private enum EnumMousePointPosition { MouseSizeNo 阅读全文
posted @ 2020-05-20 23:15 zhujie- 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: using System; using System.ComponentModel; using System.Runtime.InteropServices; using System.Threading; namespace Masuit.Tools.Systems { /// /// 纳秒级计 阅读全文
posted @ 2020-05-01 22:39 zhujie- 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 按日期汇总 SELECT TOP 2 substring(Convert(VARCHAR(30), LastLoginTime, 120),1,10) as 日期 , count(UserName) from SysAdmins group by substring(Convert(VARCHAR( 阅读全文
posted @ 2020-04-25 15:06 zhujie- 阅读(969) 评论(0) 推荐(0) 编辑
摘要: /// /// 置底 /// /// /// 要置底的行号 public static void BottomDataGridView(DataGridView dataGridView,int index) { try { DataGridViewSelectedRowCollection dgv 阅读全文
posted @ 2020-04-20 19:49 zhujie- 阅读(207) 评论(0) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e) { DataTable dt = getdd(); chart1.DataSource = dt;//数据表 //控件背景 chart1.BackColor = ColorTranslato 阅读全文
posted @ 2020-04-19 20:37 zhujie- 阅读(922) 评论(0) 推荐(0) 编辑