We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390be0d commit e8801aeCopy full SHA for e8801ae
1 file changed
Loader/Form2.cs
@@ -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