private void pictureBox1_Click(object sender, EventArgs e)
        {
            info_train inft = new info_train();

            inft.Show();
            this.Hide();
        }
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            info_train Ff = new info_train();

            Ff.Show();
            this.Hide();
            try
            {
                _capture.Dispose();
            }
            catch (Exception ex) { }
            Application.Idle -= ProcessFrame;
        }
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            TextBox t = (TextBox)textBox1;
            string  s = t.Text;

            if (s == "Admin")
            {
                info_train info_Train = new info_train();
                info_Train.Show();
                this.Hide();
            }
            else
            {
                Invalid_Password invalid_pass = new Invalid_Password();
                invalid_pass.Show();
                this.Hide();
            }
        }