using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TMS2 { public partial class TMSForm : Form { public TMSForm() { InitializeComponent(); } private void timer1_Tick(object sender, EventArgs e) { SendKeys.Send(txt1.Text); SendKeys.Send("{ENTER}"); SendKeys.Send(txt2.Text); SendKeys.Send("{ENTER}"); SendKeys.Send(txt3.Text); SendKeys.Send("{ENTER}"); } private void btn1_Click(object sender, EventArgs e) { //Thread.Sleep(800); timer1.Enabled = true; } private void btn2_Click(object sender, EventArgs e) { timer1.Enabled = false; } private void pictureBox1_Click(object sender, EventArgs e) { picSplash.Visible = false; } } }