- 14 Mar 2017
- 166
- 0
Selamın Aleyküm Arkadaşlar.
Küçük bir keylogger tarzı şeyler yapıcam fakat bir sorun oluştu çözemedim buyrun kodlar.
Sorun resmi ==> http://i.hizliresim.com/1LbjzG.png
Küçük bir keylogger tarzı şeyler yapıcam fakat bir sorun oluştu çözemedim buyrun kodlar.
Kod:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication61
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
public **** Key_Press(object sender,KeyPressEventArgs a)
{
if (****eyChar == (char)Keys.Enter)
{
listBox1.Items.Add("Enter \n");
}
else if (****eyChar == (char)Keys.Escape)
{
listBox1.Items.Add("Escape");
}
else if (****eyChar == (char)Keys.Space)
{
listBox1.Items.Add("Space");
}
else
{
listBox1.Items.Add(****eyChar.ToString());
}
}
public **** button1_Click(object sender, EventArgs e)
{
Key_Press();
}
}
}
Sorun resmi ==> http://i.hizliresim.com/1LbjzG.png