摘要:
static void Main(string[] args) { var concurrentDictionary = new ConcurrentDictionary(); var dictionary = new Dictionary(); var sw = new Stopwatch(); sw.Start(); for (int i = 0;... 阅读全文
摘要:
using GDIPrinterDriver; using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; 阅读全文
摘要:
using System; using System.Drawing; using System.Drawing.Printing; using System.Printing; using System.Runtime.InteropServices; namespace ConsoleAppli 阅读全文
摘要:
class Interop { public static void CreateProcess(string app, string path) { bool result; IntPtr hToken = WindowsIdentity.GetCurrent().Token; IntPtr hD 阅读全文
摘要:
protected override void OnSessionChange(SessionChangeDescription changeDescription) { System.IO.File.AppendAllLines(@"D:\INX.TXT", new List { DateTime.Now.ToString() + " ------... 阅读全文
摘要:
if (args.Length == 0) { ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new MyService1() }; ServiceBase.Run(ServicesToRun); ... 阅读全文