摘要: Application.Dialogs(476).Show '调用“活动单元格字体”对话框 名称 值 说明 xlDialogActivate 103 “激活”对话框 xlDialogActiveCellFont 476 “活动单元格字体”对话框 xlDialogAddChartAutoformat 阅读全文
posted @ 2020-11-27 16:34 zhujie- 阅读(2014) 评论(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- 阅读(159) 评论(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- 阅读(978) 评论(0) 推荐(0)
摘要: public static class ChartHelper { /// /// Name:添加序列 /// Author:by boxuming 2019 04 28 13:59 /// /// 图表对象 /// 序列名称 /// 图表类型 /// 颜色 /// 标记点颜色 /// 是否显示数值 阅读全文
posted @ 2020-05-22 23:31 zhujie- 阅读(452) 评论(0) 推荐(0)
摘要: public Form1()//窗体构造函数 { InitializeComponent(); //窗体中控件的事件晚期绑定 for (int i = 0; i /// 有关鼠标样式的相关枚举 /// private enum EnumMousePointPosition { MouseSizeNo 阅读全文
posted @ 2020-05-20 23:15 zhujie- 阅读(1172) 评论(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- 阅读(616) 评论(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- 阅读(1058) 评论(0) 推荐(0)
摘要: /// /// 置底 /// /// /// 要置底的行号 public static void BottomDataGridView(DataGridView dataGridView,int index) { try { DataGridViewSelectedRowCollection dgv 阅读全文
posted @ 2020-04-20 19:49 zhujie- 阅读(221) 评论(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- 阅读(954) 评论(0) 推荐(0)
摘要: using System; using System.Text; using System.IO; namespace Common.Utility { /// /// 文件操作夹 /// public static class DirFile { region 检测指定目录是否存在 /// /// 阅读全文
posted @ 2020-04-13 23:15 zhujie- 阅读(234) 评论(0) 推荐(0)