摘要: SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, 表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段序号 = A.colorder, 字段名 = 阅读全文
posted @ 2015-07-17 13:30 star丶清影 阅读(312) 评论(0) 推荐(0) 编辑
摘要: #region 正方型裁剪并缩放 /// <summary> /// 正方型裁剪 /// 以图片中心为轴心,截取正方型,然后等比缩放 /// 用于头像处理 /// </summary> /// <param name="fromFile">原图Stream对象</param> /// <param 阅读全文
posted @ 2015-07-17 13:29 star丶清影 阅读(1555) 评论(0) 推荐(0) 编辑
摘要: #include <Windows.h> #include <Ntsecapi.h> #include <Aclapi.h> #include <tlhelp32.h> #pragma comment (lib,"Kernel32.lib") #pragma comment (lib,"Advapi 阅读全文
posted @ 2015-07-17 13:28 star丶清影 阅读(599) 评论(0) 推荐(0) 编辑
摘要: <script> // Knockout ViewModel Define function RemarkTemplateModel() { var self = this; // Current Instance self.RemarkTemplate = ko.observableArray([ 阅读全文
posted @ 2015-07-17 13:27 star丶清影 阅读(2458) 评论(0) 推荐(0) 编辑
摘要: // Examples4STL.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <stdio.h> #include <iostream> #include <string> std::string replace( const std::s 阅读全文
posted @ 2015-07-17 13:26 star丶清影 阅读(1298) 评论(0) 推荐(0) 编辑
摘要: STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine) { HRESULT hr = E_FAIL; static const wchar_t szUserSwitch[] = L"user"; if(pszCmdLine != NULL) { if 阅读全文
posted @ 2015-07-17 13:24 star丶清影 阅读(614) 评论(0) 推荐(0) 编辑