private void menuSettingsDrivers_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            if (!GLOB.User.IsAdmin)
            {
                return;
            }

            var manager = DriverCatalogManager.Create(false);

            using (XF_DriverFinder find = new XF_DriverFinder(manager))
                find.ShowDialog();
        }
        private void btnNewLicense_Click(object sender, EventArgs e)
        {
            var manager = DriverCatalogManager.Create(true);

            using (XF_DriverFinder find = new XF_DriverFinder(manager))
            {
                if (find.ShowDialog() == System.Windows.Forms.DialogResult.Yes)
                {
                    var dmanager = DriverLicenseManager.CreateNew(manager.ActiveDriver.DriverID);
                    if (XF_DriverLicenseNewEdit.ShowWindow(dmanager) == DialogResult.Yes)
                    {
                        RefreshLicenses();
                    }
                }
            }
        }