摘要:
System.Net.WebRequest request = System.Net.FileWebRequest.Create("http://192.168.1.12:8080/eclipse_tfw_xzxt/jsp_sample/sample_6.jsp?param_a=Java¶m_b=.Net"); System... 阅读全文
摘要:
using System;using System.Runtime.InteropServices; class shoutdown{ [StructLayout(LayoutKind.Sequential, Pack=1)] internal struct TokPriv1Luid { public int Count; public long Luid; public int Attr; } ... 阅读全文
摘要:
1. Windows Forms中禁用窗体的关闭按钮添加必要的命名空间:using System.Runtime.InteropServices;添加必要的常数和API函数的引用private const int SC_CLOSE = 0xF060;private const int MF_ENABLED = 0x00000000;private const int MF_GRAYED = 0x0... 阅读全文
摘要:
using System;using System.Runtime.InteropServices;using System.Threading;namespace LockWindows{/// <summary>/// NativeWIN32 的摘要说明。/// </summary>public class NativeWIN32{public NativeWIN32(... 阅读全文