コード例 #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     try
     {
         Helper        h   = new Helper();
         SqlConnection con = h.GetConnect();
         con.Open();
         con.Close();
     }
     catch (Exception)
     {
         frmConnection f = new frmConnection();
         f.ShowDialog();
     }
     txtDangNhap.Focus();
     txt.Hide();
 }
コード例 #2
0
        private void button_cauhinhdangnhap(object sender, EventArgs e)
        {
            frmConnection ct = new frmConnection();

            ct.Show();
        }