public frmTimKiem(IGuiTinNhan gui_tin_nhan)
        {
            InitializeComponent();

            _guiTinNhan = gui_tin_nhan;

            ControlPlus.MovieFormWhenMouseDownControl(controlBoxFlat1, this.Handle);
            ControlPlus.MovieFormWhenMouseDownControl(controlBoxFlat1.lblFormText, this.Handle);

            panTimKiemThoiGianDangNhap.DataBindings.Add("Enabled", chkTimNguoiMoiDangNhap, "Checked");

            _duLieuTimKiem = gui_tin_nhan.TaoDuLieuTimKiem();

            foreach (var noio in _duLieuTimKiem.NoiO)
            {
                cbbNoiO.Items.Add(noio.Value);
            }

            foreach (var tinhtrang in _duLieuTimKiem.TinhTrangHonNhan)
            {
                cbbTinhTrangHonNhan.Items.Add(tinhtrang);
            }

            foreach (var gtinh in _duLieuTimKiem.GioiTinh)
            {
                cbbGioiTinh.Items.Add(gtinh.Value);
            }

            cbbTinhTrangHonNhan.DisplayMember = "TenTinhTrang";

            cbbGioiTinh.SelectedIndex = 0;
            cbbNoiO.SelectedIndex     = 0;
            cbbTinhTrangHonNhan.SetItemChecked(0, true);
        }
 private void FormTimKiem_Load(object sender, EventArgs e)
 {
     chuyenMucBindingSource.DataSource = _guiTinNhan.TaoDuLieuTimKiem().DanhSachChuyenMuc;
 }