05 2015 档案

摘要:string moduleName = Process.GetCurrentProcess().MainModule.ModuleName;string prcessName = System.IO.Path.GetFileNameWithoutExtension(moduleName);Proce... 阅读全文
posted @ 2015-05-30 23:59 邪不压正! 阅读(182) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace BarCodeLibrary{ public class ZebraGe... 阅读全文
posted @ 2015-05-27 08:29 邪不压正! 阅读(3243) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-05-25 11:16 邪不压正! 阅读(153) 评论(0) 推荐(0) 编辑
摘要:int x = 20; int y = 20; while (linesPrinted= e.PageBounds.Height - 80) { //允许多页打印 e.HasMorePages = true; /* * Pri... 阅读全文
posted @ 2015-05-25 10:31 邪不压正! 阅读(231) 评论(0) 推荐(0) 编辑
摘要:private const int CP_NOCLOSE_BUTTON = 0x200;protected override CreateParams CreateParams{ get { CreateParams myCp = base.CreateParams; ... 阅读全文
posted @ 2015-05-25 00:16 邪不压正! 阅读(662) 评论(0) 推荐(0) 编辑
摘要:NetworkInterface[] netWorks = NetworkInterface.GetAllNetworkInterfaces();foreach (NetworkInterface netWork in netWorks){ if (netWork.Name=="本地连接") ... 阅读全文
posted @ 2015-05-23 09:03 邪不压正! 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-05-21 16:47 邪不压正! 阅读(476) 评论(0) 推荐(0) 编辑
摘要:[DllImport("winspool.drv")]public static extern bool SetDefaultPrinter(String Name); 阅读全文
posted @ 2015-05-20 14:42 邪不压正! 阅读(549) 评论(0) 推荐(0) 编辑
摘要:1,首先需要将MySql.Data.dll复制到codesmith安装目录下v6.5/bin文件夹下,注意dll的版本 2,其次采用的是.net4.0的配置文件,找到C:\Windows\Microsoft.Net\Framework\v4.0.30319\Config\machine 在其中的Db 阅读全文
posted @ 2015-05-19 11:11 邪不压正! 阅读(645) 评论(0) 推荐(0) 编辑
摘要:[STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingD... 阅读全文
posted @ 2015-05-09 09:29 邪不压正! 阅读(166) 评论(0) 推荐(0) 编辑
摘要:<%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Description="Template description here." %> <%@ Property Name="SourceTable" Type="Sch 阅读全文
posted @ 2015-05-08 16:50 邪不压正! 阅读(176) 评论(0) 推荐(0) 编辑
摘要:<%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Description="Template description here." %> <%@ Property Name="SourceTable" Type="Sch 阅读全文
posted @ 2015-05-08 16:49 邪不压正! 阅读(523) 评论(0) 推荐(0) 编辑
摘要:<%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Description="Template description here." %> <%@ Property Name="SourceTable" Type="Sch 阅读全文
posted @ 2015-05-08 16:48 邪不压正! 阅读(187) 评论(0) 推荐(0) 编辑
摘要:<%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Description="Template description here." %> <%@ Property Name="SourceTable" Type="Sch 阅读全文
posted @ 2015-05-08 16:46 邪不压正! 阅读(314) 评论(0) 推荐(0) 编辑
摘要:<%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Description="Template description here." %> <%@ Property Name="SourceTable" Type="Sch 阅读全文
posted @ 2015-05-08 16:44 邪不压正! 阅读(208) 评论(0) 推荐(0) 编辑
摘要:<%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Description="Template description here." %> <%@ Property Name="SourceTable" Type="Sch 阅读全文
posted @ 2015-05-08 16:42 邪不压正! 阅读(267) 评论(0) 推荐(0) 编辑

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