Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmThemHk frmThemHk = new FrmThemHk();

            frmThemHk.ShowDialog();
            LstHoKhau.DataSource    = null;
            LstHoKhau.DataSource    = _danhSachHoKhau;
            LstHoKhau.DisplayMember = "TenChuHo";
            LstHoKhau.ValueMember   = "MaHoKhau";
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmThemHk frmThemHk = new FrmThemHk();

            frmThemHk.ShowDialog();
        }