Пример #1
0
        private void Formcauhoi_Load(object sender, EventArgs e)
        {
            string cnstr = ConfigurationManager.ConnectionStrings["cnstr"].ConnectionString;

            cn = new Connectsql();
            GetData();
        }
Пример #2
0
 private void FormXemdiem_Load(object sender, EventArgs e)
 {
     cn = new Connectsql();
     cn.Connect();
     dt             = GetData();
     dgv.DataSource = dt;
     cn.Disconnect();
 }
Пример #3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     cn                = new Connectsql();
     Func              = new Functionplaygame();
     rand              = new Random();
     img               = Image.FromFile(Application.StartupPath + @"\chiecnon.png");
     txtMang.Text      = "";
     groupBox2.Enabled = false;
 }
Пример #4
0
 private void Formluudiem_Load(object sender, EventArgs e)
 {
     cn       = new Connectsql();
     chuanhoa = new Chuanhoachuoi();
 }
Пример #5
0
 public Functionplaygame()
 {
     cn       = new Connectsql();
     picture  = new List <PictureBox>();
     selected = new ArrayList();
 }