2020年8月10日
摘要:
从网址:https://developer.android.google.cn/studio/#downloads 下载 Android-Studio 离线主机 安装 Android Studio 解压 Android SDK压缩包到任意方便的位置,AS的SDK位置设置到这个位置。 file > A
阅读全文
posted @ 2020-08-10 21:53
z5337
阅读(278)
推荐(0)
2020年8月8日
摘要:
防止用户手动关闭窗体: if ((e.CloseReason & System.Windows.Forms.CloseReason.UserClosing) == System.Windows.Forms.CloseReason.UserClosing) e.Cancel = true;
阅读全文
posted @ 2020-08-08 16:32
z5337
阅读(251)
推荐(0)
2020年8月3日
摘要:
转自:https://www.cnblogs.com/TNSSTAR/p/4231627.html 动态编译程序 using System; using System.IO; using System.Collections.Generic; using System.Linq; using Sys
阅读全文
posted @ 2020-08-03 10:17
z5337
阅读(217)
推荐(0)
摘要:
来自:http://fex.baidu.com/ueditor/#server-asp 在 IIS 6.X 中部署 IIS 的安装在这里不介绍,请自行查阅相关资料。 启用 ASP 拓展 打开 IIS 管理器 展开本地计算机 选中 Web 服务拓展 允许 Active Server Pages 拓展
阅读全文
posted @ 2020-08-03 08:41
z5337
阅读(183)
推荐(0)
2020年7月23日
摘要:
InputSimulator sim = new InputSimulator(); [DllImport("user32.dll")] private static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong
阅读全文
posted @ 2020-07-23 21:47
z5337
阅读(349)
推荐(0)
2020年7月11日
摘要:
private static log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.Name); private Socket ser
阅读全文
posted @ 2020-07-11 14:20
z5337
阅读(206)
推荐(0)
2020年6月20日
摘要:
DebuggerNonUserCode 加上这个标记的段落 就会在调试时忽略。
阅读全文
posted @ 2020-06-20 09:27
z5337
阅读(245)
推荐(0)
2020年5月29日
摘要:
一个很简单的需求,关键代码如下: private string GetHtml(string item) { // set remote certificate Validation auto pass ServicePointManager.ServerCertificateValidationC
阅读全文
posted @ 2020-05-29 00:08
z5337
阅读(210)
推荐(0)
2020年4月18日
摘要:
本文转自:https://www.cnblogs.com/sparkdev/p/6031920.html WebRequest req = WebRequest.Create(url); WebResponse rsp = req.GetResponse(); Stream rspStream =
阅读全文
posted @ 2020-04-18 16:16
z5337
阅读(114)
推荐(0)
2020年4月14日
摘要:
// 获取所有存储过程 -- owner, string sql = @"select object_name from dba_objects where object_type='PROCEDURE' and owner='DBO'"; string sql2 = @"select text f
阅读全文
posted @ 2020-04-14 19:07
z5337
阅读(179)
推荐(0)