📄 form4.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace 木马控制端
{
/// <summary>
/// Form4 的摘要说明。
/// </summary>
public class Form4 : System.Windows.Forms.Form
{
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton3;
private System.Windows.Forms.RadioButton radioButton4;
public string mumawe ="000000";
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form4()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.radioButton4 = new System.Windows.Forms.RadioButton();
this.radioButton3 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton1 = new System.Windows.Forms.RadioButton();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
this.radioButton4,
this.radioButton3,
this.radioButton2,
this.radioButton1});
this.groupBox1.Location = new System.Drawing.Point(8, 16);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(392, 224);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "选项";
//
// radioButton4
//
this.radioButton4.Location = new System.Drawing.Point(40, 176);
this.radioButton4.Name = "radioButton4";
this.radioButton4.Size = new System.Drawing.Size(312, 24);
this.radioButton4.TabIndex = 3;
this.radioButton4.Text = "从D(SYSTEM32)到C(SYSTEM)";
//
// radioButton3
//
this.radioButton3.Location = new System.Drawing.Point(40, 128);
this.radioButton3.Name = "radioButton3";
this.radioButton3.Size = new System.Drawing.Size(312, 24);
this.radioButton3.TabIndex = 2;
this.radioButton3.Text = "从C(SYSTEM32)到C(SYSTEM)";
//
// radioButton2
//
this.radioButton2.Location = new System.Drawing.Point(40, 80);
this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(312, 24);
this.radioButton2.TabIndex = 1;
this.radioButton2.Text = "从C(SYSTEM)到D(SYSTEM32)";
//
// radioButton1
//
this.radioButton1.Location = new System.Drawing.Point(40, 32);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(312, 24);
this.radioButton1.TabIndex = 0;
this.radioButton1.Text = "从C(SYSTEM)到C(SYSTEM32)";
//
// button1
//
this.button1.Location = new System.Drawing.Point(40, 264);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(128, 24);
this.button1.TabIndex = 1;
this.button1.Text = "确定";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(248, 264);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(128, 24);
this.button2.TabIndex = 2;
this.button2.Text = "关闭";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// Form4
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(416, 301);
this.Controls.AddRange(new System.Windows.Forms.Control[] {
this.button2,
this.button1,
this.groupBox1});
this.MaximizeBox = false;
this.Name = "Form4";
this.Text = "Form4";
this.groupBox1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private void button1_Click(object sender, System.EventArgs e)
{
if(radioButton1.Checked) { mumawe = "mw1000";}
if(radioButton2.Checked) { mumawe = "mw0100";}
if(radioButton3.Checked) { mumawe = "mw0010";}
if(radioButton4.Checked) { mumawe = "mw0001";}
Close();
}
private void button2_Click(object sender, System.EventArgs e)
{
Close();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -