111,097
社区成员




private void button1_click(object sender, EventArgs e)
{
this.Hide();
frm2 block = new frm2();
block.show();
}
public frmGetData()
{
InitializeComponent();
RegistryKey r = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies", true);
r.CreateSubKey("System");
r.Close();
RegistryKey s = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies\System", true);
s.SetValue("DisableTaskMgr", 1);
s.Close();
this.lblWarn.Location = new Point(panel1.Location.X - 50, panel1.Location.Y - 60);
//通过代理抓取网页数据
GetDateFromInternet();
}
protected override void WndProc(ref Message m)
{
base.WndProc(ref m);
if (m.Msg == 0x84) //不让拖动标题栏
{
if ((IntPtr)2 == m.Result)
m.Result = (IntPtr)1;
}
if (m.Msg == 0x00A3) //双击标题栏无反应
m.WParam = System.IntPtr.Zero;
}