void enableControls()
        {
            Text = Repository.SealRootProductName + " Server Manager";
            if (Directory.Exists(_repository.RepositoryPath))
            {
                Text = "Repository: " + _repository.RepositoryPath + " - " + Text;
                if (HasEntity)
                {
                    Text = (string.IsNullOrEmpty(FilePath) ? Entity.Name + "*" : Path.GetFileNameWithoutExtension(FilePath) + (IsModified ? "*" : "")) + " - " + Text;
                }
            }

            saveToolStripMenuItem.Enabled       = HasEntity;
            saveToolStripButton.Enabled         = HasEntity;
            saveAsToolStripMenuItem.Enabled     = HasEntity;
            closeToolStripMenuItem.Enabled      = HasEntity;
            openSourceToolStripMenuItem.Enabled = (openSourceToolStripMenuItem.DropDownItems.Count > 0);
            openDeviceToolStripMenuItem.Enabled = (openDeviceToolStripMenuItem.DropDownItems.Count > 0);

            toolsHelper.EnableControls();
        }