如下面所示,同时导入这两个,会提示其中一个与另一个产生冲突。1 import
android.view.View.OnClickListener;2 import
android.content.DialogInterface.OnClickListener;其实,当我们用某个Listener时,不...
分类:
移动开发 时间:
2014-05-20 01:19:27
阅读次数:
358
1.SetActiveView是MFC框架内的一个函数,而不是SDK中的函数,也就是说SDK中没有ActiveView这个概念,只有在MFC中才有2.SetFocus是SDK中的函数(当然MFC中也有这个,作用是一样的),拥有Focus的窗口能接受键盘的输入3.SetCapture设置当前线程的特定...
分类:
其他好文 时间:
2014-05-20 00:23:32
阅读次数:
302
由于工程使用的ARC,alloc后也没太注意,hide并不会将其release,导致其常驻内存。后用Instruments工具时才发现这问题,后悔不已。因此在这备注下。起初代码:HUD
= [[MBProgressHUD alloc] initWithView:self.view]; [self.v...
分类:
移动开发 时间:
2014-05-19 22:14:27
阅读次数:
339
1、控制文件中注释用“--”2、为防止导入出现中文乱码,在控制文件中加入字符集控制LOAD
DATACHARACTERSET ZHS16GBK3、让某一列成为行号,用RECNUM关键字[sql]view
plaincopyprint?loaddatainfile*intotabletreplace(...
分类:
数据库 时间:
2014-05-19 21:42:01
阅读次数:
466
1、import
XXX仅仅是告诉我们需要使用这个包,但是你真正使用的时候,需要完整的导入这个包的全路径 比如: import wechat.views
在使用其中的hello函数的时候,需要 wechat.views.hello - 这个路径不能简略2、from ... import .....
分类:
编程语言 时间:
2014-05-19 11:17:40
阅读次数:
263
http://stackoverflow.com/questions/21140852/start-tabtip-with-numpad-view-open
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto...
分类:
Windows程序 时间:
2014-05-17 15:25:14
阅读次数:
1105
介绍ViewFlipper
ViewFlipper
Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automatically flip betwee...
分类:
其他好文 时间:
2014-05-15 18:37:44
阅读次数:
356
介绍EditText颤抖的动画效果
Animation1.java
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except...
分类:
其他好文 时间:
2014-05-15 18:12:00
阅读次数:
345