自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (15)
  • 收藏
  • 关注

转载 眼下最流行的五大CSS框架,你都知道么?(转)

眼下最流行的五大CSS框架,你都知道么?http://developer.51cto.com/art/201710/555733.htm如今,CSS框架越来越受欢迎,可以说已经应用到每一个网站上了。作为开发工具,CSS框架一直处于不断进化和改进的状态,因此我们强烈建议您关注眼下的趋势。这篇文章会带您了解2017年最流行的5种CSS框架。作者:三文鱼来源:IT168|2017

2017-10-30 09:23:52 1498

转载 .NET程序员提高效率的70多个开发工具(转)

.NET程序员提高效率的70多个开发工具http://developer.51cto.com/art/201603/507012.htm工欲善其事,必先利其器,没有好的工具,怎么能高效的开发出高质量的代码呢?本文为各ASP.NET 开发者介绍一些高效实用的工具,涉及SQL 管理,VS插件,内存管理,诊断工具等,涉及开发过程的各个环节,让开发效率翻倍。作者:来源:葡萄城控件技术团

2017-10-30 09:18:42 311

转载 浅析编写C#多线程

<br />浅析编写C#多线程<br />编写C#多线程应用程序非常得容易,即使对于那些从没有编写C#多线程应用程序的初学者,只需遵循以下这些简单的步骤就可以实现目的。<br />定义名称空间<br />在。NET中,多线程功能是在System.Threading名称空间中定义的。因此,在使用任何线程类之前,必须定义 System.Threading名称空间。定义方法如下:<br />1.using System.Threading; <br />启动线程<br />System.threading名称空间

2010-11-02 12:10:00 301

转载 C# 启动外部程序的几种方法

C# 启动外部程序的几种方法    1. 启动外部程序,不等待其退出。  2. 启动外部程序,等待其退出。  3. 启动外部程序,无限等待其退出。  4. 启动外部程序,通过事件监视其退出。   // using System.Diagnostics;   private string appName = "calc.exe";   ///    /// 1. 启动外部程序,不等待

2010-05-06 09:27:00 385

转载 VC++读/写Word文档(转)

http://www.anqn.com/dev/vc/2009-08-15/a09114875.shtml

2009-09-27 09:27:00 596

c#在图像中添加文字

c#在图像中添加文字,简单,一看就会,供初学者参考。

2011-09-16

外国人C#写的飘雪花源码

外国人C#写的飘雪花源码,写得不错,可以参考一下。

2011-09-01

任务栏托盘弹出菜单,使用vc编写。

任务栏托盘弹出菜单,使用vc编写,可以参考一下。

2011-09-01

使用VC扫描网络端口状态

使用VC编程,扫描网络端口状态,可以参考一下。

2011-09-01

c#放大镜源码,外国人写的,可以参考

c#放大镜源码,外国人写的,写的不错,可以参考一下。

2011-09-01

播放Flash文件源码,包括上一帧下一帧浏览

播放Flash文件源码,包括上一帧下一帧浏览等功能

2011-07-15

C#程序设计手册--初学者学习手册

C#程序设计手册--初学者学习手册 Hello World -- 您的第一个程序 C# 程序的一般结构 Main() 和命令行自变量 命令行自变量 显示命令行自变量 使用 foreach 存取命令行自变量 Main() 传回值 数据型别 在变量宣告中指定型别 转型和型别转换 .......

2011-07-15

C#实现从视频文件中读取关键帧数据源代码

C#实现从视频文件中读取关键帧数据源代码,初学者可以参考。

2011-07-15

C#简单的远程控制程序

C#简单的远程控制程序 包括远程注销、远程重启、远程关机、远程唤醒等

2011-07-15

C#的四个应该掌握的基本技巧

C#的四个基本技巧 .NET框架包括类和接 口,在编写程序的时候,你可 能知道正在用.NET的哪个 类。然而,在这种情况下如果 你用.NET支持的接口而不是 它的类来编程时,代码会变得 更加稳定、可用性会更高。

2011-07-14

Quick C#(快速学习c#英文版)

Introduction C# is a language with the features of C++, programming style like Java and rapid application model of BASIC. If you already know the C++ language, it will take you less than an hour to quickly go through the syntax of C#. Familiarity with Java will be a plus, as Java program structure, the concept of packages and garbage collection will definitely help you learn C# more quickly. So while discussing C# language constructs, I will assume, you know C++. This article discusses the C# language constructs and features using code examples, in a brief and comprehensive way, so that you just by having a glance at the code, can understand the concepts. Note: This article is not for C# gurus. There must be some other beginner's articles on C#, but this is yet another one.

2011-04-07

C# API调用例子,供初学者参考。

C# API调用例子,供初学者参考。 调用格式 using System.Runtime.InteropServices; //引用此名称空间,简化后面的代码 //使用DllImportAttribute特性来引入api函数,注意声明的是空方法,即方法体为空。 [DllImport("user32.dll")] public static extern ReturnType FunctionName(type arg1,type arg2,...); //调用时与调用其他方法并无区别

2011-04-07

把任一窗口内容存为位图

把任一窗口的内容存为位图,学习DIB BITMAP的资料。

2009-05-19

透明的对话框transparent_dialog.rar

透明的对话框 void TransparentBlt( HDC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HBITMAP hBitmap, int nXSrc, int nYSrc, COLORREF colorTransparent, HPALETTE hPal ) { CDC dc, memDC, maskDC, tempDC; dc.Attach( hdcDest ); maskDC.CreateCompatibleDC(&dc); CBitmap maskBitmap; //add these to store return of SelectObject() calls CBitmap* pOldMemBmp = NULL; CBitmap* pOldMaskBmp = NULL; HBITMAP hOldTempBmp = NULL; memDC.CreateCompatibleDC(&dc); tempDC.CreateCompatibleDC(&dc); CBitmap bmpImage; bmpImage.CreateCompatibleBitmap( &dc, nWidth, nHeight ); pOldMemBmp = memDC.SelectObject( &bmpImage ); // Select and realize the palette if( dc.GetDeviceCaps(RASTERCAPS) & RC_PALETTE && hPal ) { ::SelectPalette( dc, hPal, FALSE ); dc.RealizePalette(); ::SelectPalette( memDC, hPal, FALSE ); } hOldTempBmp = (HBITMAP) ::SelectObject( tempDC.m_hDC, hBitmap ); memDC.BitBlt( 0,0,nWidth, nHeight, &tempDC, nXSrc, nYSrc, SRCCOPY ); // Create monochrome bitmap for the mask maskBitmap.CreateBitmap( nWidth, nHeight, 1, 1, NULL ); pOldMaskBmp = maskDC.SelectObject( &maskBitmap ); memDC.SetBkColor( colorTransparent ); // Create the mask from the memory DC maskDC.BitBlt( 0, 0, nWidth, nHeight, &memDC, 0, 0, SRCCOPY ); // Set the background in memDC to black. Using SRCPAINT with black // and any other color results in the other color, thus making // black the transparent color memDC.SetBkColor(RGB(0,0,0)); memDC.SetTextColor(RGB(255,255,255)); memDC.BitBlt(0, 0, nWidth, nHeight, &maskDC, 0, 0, SRCAND); // Set the foreground to black. See comment above. dc.SetBkColor(RGB(255,255,255)); dc.SetTextColor(RGB(0,0,0)); dc.BitBlt(nXDest, nYDest, nWidth, nHeight, &maskDC, 0, 0, SRCAND); // Combine the foreground with the background dc.BitBlt(nXDest, nYDest, nWidth, nHeight, &memDC, 0, 0, SRCPAINT); if (hOldTempBmp) ::SelectObject( tempDC.m_hDC, hOldTempBmp); if (pOldMaskBmp) maskDC.SelectObject( pOldMaskBmp ); if (pOldMemBmp) memDC.SelectObject( pOldMemBmp ); dc.Detach(); }

2008-11-18

动态创建Access的数据源名

动态创建Access的数据源名 sprintf(szDesc,"DSN=%s: DESCRIPTION=TOC support source: DBQ=%s: FIL=MicrosoftAccess: DEFAULTDIR=D:\\Database:: ","TestDB","D:\\Friends.mdb"); mlen = strlen(szDesc); for (int i=0; i<mlen; i++) { if (szDesc[i] == ':') szDesc[i] = '\0'; } if (FALSE == SQLConfigDataSource(NULL,ODBC_ADD_DSN,"Microsoft Access Driver (*.mdb)\0",(LPCSTR)szDesc)) MessageBox(hwnd,"Failed","INFORMATION",MB_OK); else MessageBox(hwnd,"Sucess","INFORMATION",MB_OK);

2008-11-18

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除