Example #1
0
        public void PopulateConfiguration(CategoryCollection categories)
        {
            Category category = new Category(TextResources.Config_Management, TextResources.Config_Management_Description);
            categories.Add(category);

            CategoryItem item = new CategoryItem(TextResources.Config_Management_Plugins, TextResources.Config_Management_Plugins_Description, typeof(PluginManagementContent));
            item.Image = VisualResources.Image_64x67_Management;
            category.Items.Add(item);
        }
Example #2
0
        public void PopulateConfiguration(CategoryCollection categories)
        {
            Category category = new Category(TextResources.Config_General, TextResources.Config_General_Description);

            CategoryItem item = new CategoryItem(TextResources.Config_General_About, TextResources.Config_General_About_Description, typeof(AboutContent));
            item.Image = VisualResources.Image_64x67_Information;
            category.Items.Add(item);

            categories.Add(category);
        }
Example #3
0
        private static void PopulateGeneralCategory(CategoryCollection categories)
        {
            Category genCategory = new Category(Resources.Config_General, Resources.Config_General_Behaviour_Description);
            categories.Add(genCategory);

            CategoryItem item = new CategoryItem(Resources.Config_General_About, Resources.Config_General_About_Description, typeof(AboutInformation));
            item.Image = Resources.Image_64x67_Information;
            genCategory.Items.Add(item);

            item = new CategoryItem(Resources.Config_General_Behaviour, Resources.Config_General_Behaviour_Description, typeof(BehaviourOptions));
            item.Image = Resources.Image_64x67_Settings;
            genCategory.Items.Add(item);

            item = new CategoryItem(Resources.Config_General_Proxy, Resources.Config_General_Proxy_Description, typeof(ProxyOptions));
            item.Image = Resources.Image_64x67_Web;
            genCategory.Items.Add(item);
        }
Example #4
0
        private static void PopulateProfilesCategory(CategoryCollection categories)
        {
            Category profCategory = new Category(Resources.Config_RoamingProfiles, Resources.Config_RoamingProfiles_Description);
            categories.Add(profCategory);

            CategoryItem item = new CategoryItem(Resources.Config_RoamingProfiles_NewProfile, Resources.Config_RoamingProfiles_NewProfile_Description, delegate
            {
                if (ProfileCreatingDialog.PresentModal() != null)
                    MessageBox.Show(Resources.MsgBox_Text_ProfileCreated, Resources.MsgBox_Title_Completed, MessageBoxButtons.OK, MessageBoxIcon.Information);
            });
            item.Image = Resources.Image_64x67_Add;
            profCategory.Items.Add(item);

            item = new CategoryItem(Resources.Config_RoamingProfiles_Manage, Resources.Config_RoamingProfiles_Manage_Description, typeof(ProfileManagement));
            item.Image = Resources.Image_64x67_Profile;
            profCategory.Items.Add(item);

            item = new CategoryItem(Resources.Config_RoamingProfiles_DefaultProfile, Resources.Config_RoamingProfiles_DefaultProfile_Description, typeof(AutoProfileOptions));
            item.Image = Resources.Image_64x67_Favourite;
            item.IsExpertOption = true;
            profCategory.Items.Add(item);
        }