摘要:
/// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { try { //设置应用程序处理异常方式:ThreadException处理 Application.SetUnhandledExceptionM 阅读全文
摘要:
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.PrintPageEventArgs e) { Bitmap bit = new Bitmap(this.Width, this.Height); 阅读全文
摘要:
if (txt01.Text != "") { this.lbzhantie.Items.Clear(); this.dtzhuanhuo.Rows.Clear(); if (txt01... 阅读全文
摘要:
private static string sPath = @Directory.GetCurrentDirectory() + "\\config.ini"; [DllImport("kernel32")] private static extern long WritePrivateProfil 阅读全文
摘要:
记得先引用DLL private FilterInfoCollection videoDevices; private VideoCaptureDevice videoSource; BLL.AWBListBLL alb = new AWBListBLL(); public FormPhoto() 阅读全文
摘要:
public void ExportToSvc1(string strFileName) { string strPath = strFileName + ".csv"; StringBuilder strValue = new Strin... 阅读全文
摘要:
public void AllDataSetToExcel(DataSet ds) { string saveFileName = ""; bool fileSaved = false; Microsoft.Win32... 阅读全文