12 2018 档案

摘要:private Bitmap Out1DImg() { // 1.设置条形码规格 EncodingOptions encodeOption = new EncodingOptions(); encodeOption.Height = 68; // 必须制定高度、宽度 enco... 阅读全文
posted @ 2018-12-25 08:22 enych 阅读(5939) 评论(0) 推荐(0) 编辑
摘要:this.printDocument1.PrinterSettings.PrinterName = "Microsoft XPS Document Writer"; this.printDocument1.Print(); //直接打印开始打印 (调用的是默认打印机)(系统会自动默认一个打印机) 阅读全文
posted @ 2018-12-24 22:42 enych 阅读(5105) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2018-12-24 15:21 enych 阅读(6) 评论(0) 推荐(0) 编辑
摘要:this.ActiveControl = txt_core; 阅读全文
posted @ 2018-12-22 16:04 enych 阅读(1985) 评论(0) 推荐(0) 编辑
摘要:string PrintName = cmbPrinter.SelectedIndex.ToString(); PrintName = cmbPrinter.SelectedItem.ToString(); // if (cmbPrinter.SelectedIndex != 0) { ... 阅读全文
posted @ 2018-12-22 11:52 enych 阅读(14986) 评论(4) 推荐(1) 编辑
摘要:第一种 (全屏不可触发) protected override bool ProcessCmdKey(ref System.Windows.Forms.Message msg, System.Windows.Forms.Keys keyData) { int WM_KEYDOWN = 256; in 阅读全文
posted @ 2018-12-21 15:01 enych 阅读(630) 评论(0) 推荐(0) 编辑
摘要:private void button2_Click(object sender, EventArgs e) { Process[] ProceddingCon = Process.GetProcesses(); //获得所有进程 IntPtr intPtr = IntPtr.Zero; foreach (... 阅读全文
posted @ 2018-12-21 12:27 enych 阅读(962) 评论(0) 推荐(0) 编辑
摘要:来自: http://www.neite.net/516.html 阅读全文
posted @ 2018-12-20 12:00 enych 阅读(713) 评论(0) 推荐(0) 编辑
摘要:通过遍历ht 返回一个数组 阅读全文
posted @ 2018-12-19 16:27 enych 阅读(5827) 评论(0) 推荐(1) 编辑
摘要:var temp = System.DateTime.Today.ToString("dddd", new System.Globalization.CultureInfo("zh-CN")); 阅读全文
posted @ 2018-12-18 10:03 enych 阅读(533) 评论(0) 推荐(0) 编辑
摘要:WebMVC\Views\Shared\_Layout.cshtml 每个页面_ 自动引用_ViewStart.cshtml 阅读全文
posted @ 2018-12-14 11:44 enych 阅读(209) 评论(0) 推荐(0) 编辑
摘要:经发现, 数据库中保存时间格式数据 可以正常 排序, 数据中保存时间格式字符串 排序出现问题 /// <summary> /// 修改时间 /// </summary> public DateTime ModifyTime { get; set; } public string ModifyTime 阅读全文
posted @ 2018-12-13 14:05 enych 阅读(2016) 评论(0) 推荐(0) 编辑
摘要:select * from [LPicture] UPDATE [dbo].[LPicture] SET [picGroup] = '3213' WHERE LPictureid in(1,2); select * from LPicture where LPictureid not in ('') select * from LPicture where LPictureid n... 阅读全文
posted @ 2018-12-13 09:43 enych 阅读(1481) 评论(0) 推荐(0) 编辑
摘要:$("#btnAdd1").click(function () { console.log($("form").serialize()); var checkboxs = document.getElementsByName("checkbox[]"); var check_val = []; ... 阅读全文
posted @ 2018-12-12 18:05 enych 阅读(1995) 评论(0) 推荐(0) 编辑
摘要:var ele = ev.parentNode; var elem_child = ele.childNodes; for (var i = 0 in elem_child) { //遍历子元素数组 if (elem_child[... 阅读全文
posted @ 2018-12-12 10:58 enych 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-10 10:37 enych 阅读(212) 评论(0) 推荐(0) 编辑
摘要:var body = document.getElementsByTagName("body")[0]; body.addEventListener("mousemove", outpostion); function outpostion() { console.log("全局"+event.clientX + "/" + event.clientY);... 阅读全文
posted @ 2018-12-08 09:47 enych 阅读(8182) 评论(0) 推荐(0) 编辑
摘要:} catch (DbEntityValidationException ex) { message = "添加异常"; desc = " {" + ex.Message + "}"; logtype = "异常"; }... 阅读全文
posted @ 2018-12-06 17:07 enych 阅读(166) 评论(0) 推荐(0) 编辑
摘要://去掉标题栏 1. this.FormBorderStyle = FormBorderStyle.None; // 不会显示窗体标题栏等相关 //最大化 2. this.WindowState = FormWindowState.Maximized; //窗体最大化时 非全屏 不会遮盖任务栏 设置 阅读全文
posted @ 2018-12-04 09:55 enych 阅读(4271) 评论(0) 推荐(0) 编辑
摘要:Access_Registry(key, "Adobe\\Acrobat Distiller\\DC"); //Adobe是自己要对某个程序注册表主目录 //HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Distiller\DC //RunFromLocalDi 阅读全文
posted @ 2018-12-03 13:36 enych 阅读(480) 评论(0) 推荐(0) 编辑
摘要:以上代码测试均失败, 最后, 直接删除表主键 阅读全文
posted @ 2018-12-01 15:31 enych 阅读(3012) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示