CDC:Windows使用与设备无关的图形设备环境(DC :Device Context) 进行显示
。MFC基础类库定义了设备环境对象类----CDC类。 CDC与CGdiObject的关系 说道CDC类就不能不提一下GdiObject---图形对象类。
在Windows应用程序中,设备环境与图形...
分类:
其他好文 时间:
2014-05-27 02:54:28
阅读次数:
354
将 ojdbc6.jar tomcat-jdbc-7.0.37.jar
拷贝到工程的WEB-INF\lib 下面一、在Tomcat的配置文件Tomcat7.0\conf\context.xml中添加信息:?1234567891011
注意这里的driverClassName写的是o...
分类:
数据库 时间:
2014-05-24 05:16:36
阅读次数:
477
Volley是Google推出的一个网络请求库,已经被放到了Android源码中,地址在这里,先看使用方法RequestQueue mRequestQueue
= Volley.newRequestQueue(context);JsonObjectRequest req = new JsonObje...
分类:
移动开发 时间:
2014-05-24 03:52:25
阅读次数:
473
function getServiceUrl() { var serverUrl =
Xrm.Page.context.getServerUrl(); if (serverUrl.match(/\/$/)) { serverUrl =
serverUrl.substring(0, server...
分类:
其他好文 时间:
2014-05-20 07:40:00
阅读次数:
250
匿名管道父进程#include#includemain(){HANDLEread=NULL,write=NULL;//定义两句柄SECURITY_ATTRIBUTESss;STARTUPINFOsa={0};PROCESS_INFORMATIONpp={0};//定义结构体SECURITY_ATTR...
分类:
其他好文 时间:
2014-05-19 18:36:09
阅读次数:
276
Context.javapackage edu.interpreter;public class
Context { private String input; private int output; public String getInput() {
return...
分类:
其他好文 时间:
2014-05-19 14:56:22
阅读次数:
322
using System;using System.Data;using
System.Configuration;using System.Web;using System.Web.Security;using
System.Web.UI;using System.Web.UI.WebContro...
分类:
其他好文 时间:
2014-05-19 13:39:55
阅读次数:
131
1.Server是Context的一个属性,是HttpServerUtility类的一个对象。2.Server.HtmlDecode(),Server.HtmlEncode(),Server.UrlEncode(),Server.UrlDecode()是对HttpUtility类中相应方法的一个代理...
分类:
Web程序 时间:
2014-05-19 12:26:46
阅读次数:
266
Notification的用法 --- 状态栏通知
发送一个状态栏通知必须的两个类:
1. NotificationManager --- 状态栏通知的管理类,负责发通知,清除通知等
NotificationManager : 是一个系统Service,必须通过 context.getSystemService(NOTIFICATION_SERVICE...
分类:
移动开发 时间:
2014-05-18 09:13:46
阅读次数:
471
MainActivity如下:
package cc.y;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.os.Bundle;
import and...
分类:
移动开发 时间:
2014-05-18 03:54:44
阅读次数:
365