原文:winform 记录全局异常捕获这篇文章主要是备用记录winform程序捕获全局异常。
/// /// 应用程序的主入口点。 /// public static ApplicationContext context; [STAThread]
private static void Main()...
#include using namespace std;void BubbleSort(int*
a,int n){ for(size_t i=0;i a[j+1]){ int tmp = a[j]; a[j] = a[j+1]; ...
分类:
其他好文 时间:
2014-05-08 21:59:19
阅读次数:
264
18.public class Test{ public static void
add3(Integer i) { int val=i.intvalue(); val+=3; i=new Integer(val); } ...
分类:
其他好文 时间:
2014-05-08 21:03:25
阅读次数:
348
private static void syncMetaData() { var
siteUrl = @"http://..."; using (var site = new SPSite(siteUrl)) { ...
分类:
其他好文 时间:
2014-05-08 20:59:41
阅读次数:
271
1.简介操作 //设置注册值 private void Button_Click(object
sender, RoutedEventArgs e) { //路径及间隔符号要正确 //1.如果指定路径不存在,则创建...
分类:
其他好文 时间:
2014-05-08 20:53:22
阅读次数:
351
drawArc方法:绘制圆弧【功能说明】该方法用于在画布上绘制圆弧,通过指定圆弧所在的椭圆对象、起始角度、终止角度来实现。该方法是绘制圆弧的主要方法。【基本语法】public
void drawArc (RectF oval, float startAngle, float sweepAngle, ...
分类:
移动开发 时间:
2014-05-08 20:38:41
阅读次数:
1627
先看看apple官网简述:registerNib:forCellWithReuseIdentifier:Register
a nib file for use in creating new collection view cells.-
(void)registerNib:(UINib *)nib...
分类:
移动开发 时间:
2014-05-08 20:17:35
阅读次数:
752
Spring AOP Schema aop:config、tx:advice一、
利用aop:config标签实现AOP首先看个例子,如下接口代码:package com.lei.demo.aop.schema;public
interface IHello { public void say...
分类:
编程语言 时间:
2014-05-08 19:57:00
阅读次数:
553
1:打开"记事本",输入这段代码 (注意大小写)class HelloWorld { public
static void main(String args[]) { System.out.println("Hello World"); } } 2:以
He...
分类:
编程语言 时间:
2014-05-07 19:43:54
阅读次数:
367
在RootViewController.m文件中-
(void)viewDidLoad//视图加载方法- (void)viewDidLoad{ //设置红色 UIView *viewRed = [[UIView
alloc]initWithFrame:CGRectMake(100...
分类:
移动开发 时间:
2014-05-07 19:30:16
阅读次数:
414