Beispiel #1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            string a = "Show";

            try
            {
                CheckId E = new CheckId(a, User.SelectedItem.ToString().Remove(9), us);
                Close();
                E.Show();
            }
            catch {
                CheckId E = new CheckId(a, " ", us);
                Close();
                E.Show();
            }
        }
Beispiel #2
0
        private void pictureBox4_Click(object sender, EventArgs e)
        {
            String A = "";

            try
            {
                CheckId I = new CheckId(A, User.SelectedItem.ToString().Remove(9), us);
                Close();
                I.Show();
            }
            catch {
                CheckId I = new CheckId(A, " ", us);
                Close();
                I.Show();
            }
        }