class 点面关系{static void Main(string[]
args){//Vector2D point1 = new Vector2D(39.909209536859834,
116.3225715637207);//inVector2D point1 = new Vector2D(...
分类:
其他好文 时间:
2014-05-24 06:26:21
阅读次数:
379
import java.io.File;import
java.io.FileInputStream;import java.io.FileOutputStream; public class CopyFile {
public static void DecodeRes2ByFile...
分类:
其他好文 时间:
2014-05-24 03:36:59
阅读次数:
250
package Pro0519;import java.util.Arrays;public
class pro0519 { public static void main(String[] args) { String[] ar_str1,
ar_str2; ...
分类:
其他好文 时间:
2014-05-24 02:22:06
阅读次数:
202
private static string CmdPing(string strIp){Process
p = new Process(); p.StartInfo.FileName =
"cmd.exe";//设定程序名p.StartInfo.UseShellExecute = false; //...
分类:
其他好文 时间:
2014-05-24 00:42:36
阅读次数:
481
转自:http://leopard168.blog.163.com/blog/static/168471844201422121310352/在iOS
app中,只要用到编辑框(UITextField)的地方,就得处理键盘消失 (dismiss keyboard)。我先后用过4种方法,来处理键盘消失...
分类:
移动开发 时间:
2014-05-23 22:34:13
阅读次数:
407
系统环境:
win7django版本查看:启动django项目的时候,一直找不到静态资源,很奇怪放在linux服务器上的时候好好的,拿下来随便修改了配置就说url找不到了。用wingIDE没有任何错误信息,只是告知404错误,这时候我误解以为是urlpatterns的问题,最后换pycharm编辑器...
分类:
其他好文 时间:
2014-05-23 22:16:36
阅读次数:
394
局部变量(Local Variable),全局变量(global
variable),变量共享;静态局部变量(static local
variables),函数运行结束变量值不会消失,并且其它函数无法访问的变量;简单模拟登陆密码验证使用静态局部变量可以让函数产生的数据更长期更安全地存储,如果一个函...
分类:
其他好文 时间:
2014-05-23 11:59:35
阅读次数:
278
public static string getTimeAgo(string strDate) {
string strTime = string.Empty; if (clsCommon.IsDate(strDate)) { T...
分类:
其他好文 时间:
2014-05-23 11:40:40
阅读次数:
309
public static class Extensions{public static
async Task ForEachAsync(this IEnumerable collection, Func> body, IObserver
observer = null){foreach (var ...
分类:
其他好文 时间:
2014-05-23 10:55:36
阅读次数:
213
此例子中传递的变量有string type,string
text,储存在结构数组中;static int
i储存在Sta类中(如果在外面声明,调用它老出错),里面有geti和seti函数来操纵它。各个窗体实现功能及截图:各窗体代码如下:using
System;using System.Colle...