public UserManagementForm(Feature feature, MainForm mainForm)
 {
     InitializeComponent();
     _feature = feature;
     _mainForm = mainForm;
     InitializeData();
 }
        public RegisterRentalForm(Feature feature, MainForm mainForm)
        {
            InitializeComponent();
            cboRentalStatus.Text = "Tất cả";
            cboRequestStatus.Text = "Tất cả";
            _feature = feature;
            _mainForm = mainForm;
            InitializeData();

            // new thread
            _refresher = new Refresher(_feature, this);
            _refresher.LastUpdateTime = DateTime.Now;
            _threadRefresh = new Thread(_refresher.GetNewRegister);
            _threadRefresh.Start();
        }