Skip to content

Commit e8801ae

Browse files
author
Connor-Fair55
committed
Form2.cs
1 parent 390be0d commit e8801ae

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Loader/Form2.cs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Data;
5+
using System.Diagnostics;
6+
using System.Drawing;
7+
using System.Linq;
8+
using System.Text;
9+
using System.Threading.Tasks;
10+
using System.Windows.Forms;
11+
12+
namespace loader
13+
{
14+
public partial class Form2 : Form
15+
{
16+
public Form2()
17+
{
18+
19+
InitializeComponent();
20+
TextBox.Enabled = false; // true
21+
}
22+
23+
private void Form2_Load(object sender, EventArgs e)
24+
{
25+
26+
}
27+
28+
private void guna2ControlBox1_Click(object sender, EventArgs e)
29+
{
30+
int pid = Process.GetCurrentProcess().Id;
31+
Process process = Process.GetProcessById(pid);
32+
process.Kill();
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)