资源简介
登陆器源码。C#。NEt 2008.比较简单的通用吗登陆器源码。C#。NEt 2008.比较简单的通用吗登陆器源码。C#。NEt 2008.比较简单的通用吗登陆器源码。C#。NEt 2008.比较简单的通用吗登陆器源码。C#。NEt 2008.比较简单的通用吗
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Diagnostics;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private bool moveFlag = false;//鼠标点击
private int x = 0;
private int y = 0;
protected override void onmousemove(System.Windows.Forms.MouseEventArgs e)
{
if (moveFlag && (e.Button == MouseButtons.Left))
this.SetBounds(Left + e.X - x Top + e.Y - y this.Width this.Height);
base.onmousemove(e);
}
protected override void onmousedown(System.Windows.Forms.MouseEventArgs e)
{
if (!moveFlag && e.Clicks >= 1)
moveFlag = true;
x = e.X;
y = e.Y;
base.onmousedown(e);
}
protected override void onmouseup(System.Windows.Forms.MouseEventArgs e)
{
if (moveFlag)
moveFlag = false;
base.onmouseup(e);
}
private void Form1_Load(object sender EventArgs e)
{
}
private void pictureBox1_Click(object sender EventArgs e)
{
}
private void button3_Click(object sender EventArgs e)
{
button3.ForeColor = Color.BlueViolet;
button4.ForeColor = Color.Gold;
StreamWriter fs = new StreamWriter(AppDomain.CurrentDomain.baseDirectory + “Output.w“);
fs.WriteLine(“set realmlist tw.logon.worldofwarcraft.com“);
fs.Flush();
Process.Start(“temp.exe“);
}
private void button4_Click(object sender EventArgs e)
{
button3.ForeColor = Color.Gold;
button4.ForeColor = Color.BlueViolet;
StreamReader sr = new StreamReader(“config.ini“);
String txtStr = sr.ReadToEnd();
StreamWriter fs = new StreamWriter(AppDomain.CurrentDomain.baseDirectory + “Output.w“);
fs.WriteLine(txtStr);
fs.Flush();
Process.Start(“temp.exe“);
}
private void button1_Click(object sender EventArgs e)
{
StreamReader sr = new StreamReader(“temp.w“);
String txtSts = sr.ReadToEnd();
Process.Start(“wow.exe“txtSts);
System.Threading.Thread.Sleep(2000);
File.Delete(“temp.exe“);
Application.Exit();
}
private void button5_Click(object sender EventArgs e)
{
Application.Exit();
}
private void button6_Click(o
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 44 2010-08-11 22:19 Luacher\Luacher\bin\Debug\aa.txt
文件 1567 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Luacher.application
文件 973312 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Luacher.exe
文件 3575 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Luacher.exe.manifest
文件 38400 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Luacher.pdb
文件 1567 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Luacher.vshost.application
文件 14328 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Luacher.vshost.exe
文件 2 2010-08-12 18:06 Luacher\Luacher\bin\Debug\Output.w
文件 2 2010-08-12 18:06 Luacher\Luacher\bin\Debug\temp.w
文件 8192 2010-08-11 20:52 Luacher\Luacher\bin\Debug\WindowsFormsApplication1.exe
文件 22016 2010-08-11 20:52 Luacher\Luacher\bin\Debug\WindowsFormsApplication1.pdb
文件 14328 2010-08-11 20:52 Luacher\Luacher\bin\Debug\WindowsFormsApplication1.vshost.exe
文件 490 2009-06-11 05:14 Luacher\Luacher\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
文件 972800 2010-08-12 18:06 Luacher\Luacher\bin\Release\app.publish\Application Files\Luacher_1_0_0_28\Luacher.exe.deploy
文件 7229 2010-08-12 18:06 Luacher\Luacher\bin\Release\app.publish\Application Files\Luacher_1_0_0_28\Luacher.exe.manifest
文件 5292 2010-08-12 18:06 Luacher\Luacher\bin\Release\app.publish\Luacher.application
文件 555448 2010-08-12 18:06 Luacher\Luacher\bin\Release\app.publish\setup.exe
文件 1567 2010-08-12 18:06 Luacher\Luacher\bin\Release\Luacher.application
文件 972800 2010-08-12 18:06 Luacher\Luacher\bin\Release\Luacher.exe
文件 3575 2010-08-12 18:06 Luacher\Luacher\bin\Release\Luacher.exe.manifest
文件 34304 2010-08-12 18:06 Luacher\Luacher\bin\Release\Luacher.pdb
文件 3289 2010-08-12 17:31 Luacher\Luacher\Form1.cs
文件 8558 2010-08-12 17:31 Luacher\Luacher\Form1.Designer.cs
文件 1368880 2010-08-12 17:31 Luacher\Luacher\Form1.resx
文件 3116 2010-08-12 17:26 Luacher\Luacher\Form2.cs
文件 10291 2010-08-12 17:26 Luacher\Luacher\Form2.Designer.cs
文件 76556 2010-08-12 17:26 Luacher\Luacher\Form2.resx
文件 6458 2010-08-12 18:17 Luacher\Luacher\Luacher.csproj
文件 545 2010-08-12 18:17 Luacher\Luacher\Luacher.csproj.user
文件 1676 2010-08-11 21:35 Luacher\Luacher\Luacher_TemporaryKey.pfx
............此处省略48个文件信息
- 上一篇:通过http协议上传文件
- 下一篇:C#调用百度地图
评论
共有 条评论