10 2013 档案

摘要:__stdcall 要加这个extern "C" __declspec(dllexport)要用这样的东东 定义extern "C" __declspec(dllexport) void GetCallBack( callBackFun pfun){ g_pFun=pfun;} 阅读全文
posted @ 2013-10-28 21:42 louiskoo 阅读(333) 评论(0) 推荐(0) 编辑
摘要:bool System.Boolean 4Byte 32bit布尔型变量 逻辑值,true或者false,默认值为falsebyte System.Byte 1Byte 8bit无符号整数无符号的字节,所存储的值的范围是0~255,默认值为0sbyte System.SByte 1Byte8bit有符号整数带符号的字节,所存储的值的范围是-128~127,默认值为0char System.Char 2Byte 16bit 无符号Unicode字符,默认值为’... 阅读全文
posted @ 2013-10-23 16:17 louiskoo 阅读(255) 评论(0) 推荐(0) 编辑
摘要:RESTORE DATABASE CCC FROM DISK = 'AAA.bak' with replace, MOVE 'BBB' TO 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER2008\MSSQL\DATA\CCC.mdf', MOVE 'BBB_LOg' TO 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER2008\MSSQL\DATA\CCC_log.ldf 阅读全文
posted @ 2013-10-20 22:57 louiskoo 阅读(799) 评论(0) 推荐(0) 编辑
摘要:10.00.1600 :SQL2008 10.50.1600:SQL2008R2 10.50.2500:SQL2008R2SP1 阅读全文
posted @ 2013-10-20 22:53 louiskoo 阅读(242) 评论(0) 推荐(0) 编辑
摘要:public static Bitmap ChangeOpacity(Image img, float opacityvalue) { Bitmap bmp = new Bitmap(img.Width,img.Height); // Determining Width and Height of Source Image Graphics graphics = Graphics.FromImage(bmp); ColorMatrix colormatrix = new ColorMatrix(); ... 阅读全文
posted @ 2013-10-18 10:54 louiskoo 阅读(355) 评论(0) 推荐(0) 编辑
摘要:select TimeStamp,Handle1Matrix11 , Handle1Position1 from CoughDection.dbo.CoughTable where ExprimentNum=2 and Convert(varchar(20),TimeStamp,120) like '%2013-09-06 09:46:03%' 阅读全文
posted @ 2013-10-16 14:02 louiskoo 阅读(814) 评论(0) 推荐(0) 编辑
摘要:public static byte[] Bitmap2Byte(Bitmap bitmap) { using (MemoryStream stream = new MemoryStream()) { bitmap.Save(stream , ImageFormat.Jpeg); byte[] data = new byte[stream.Length]; stream.Seek(0 , SeekOrigin.Begin); ... 阅读全文
posted @ 2013-10-12 15:02 louiskoo 阅读(26167) 评论(4) 推荐(1) 编辑
摘要:private void chart2_MouseMove(object sender, MouseEventArgs e) { if (!this.DesignMode) { double newPosition = chart2.ChartAreas[0].AxisX.ScaleView.Position; chart用户来电.ChartAreas[0].AxisX.ScaleView.Scroll(newPosition); ScrollB... 阅读全文
posted @ 2013-10-11 10:57 louiskoo 阅读(1332) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Threading;namespace WindowsFormsApplication1{ public partial class WelcomeForm : Form { public Wel... 阅读全文
posted @ 2013-10-10 16:22 louiskoo 阅读(965) 评论(0) 推荐(0) 编辑

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