System.Globalization.FormLanguageSwitchSingleton.ReloadControlSpecificProperties C# (CSharp) Method

ReloadControlSpecificProperties() protected method

Reloads properties specific to some controls.
protected ReloadControlSpecificProperties ( System control, System resources ) : void
control System /// Control object for which resources should be reloaded. ///
resources System /// ResourceManager object. ///
return void
		protected virtual void ReloadControlSpecificProperties(System.Windows.Forms.Control control, System.Resources.ResourceManager resources) {
			// ImageIndex property for ButtonBase, Label, TabPage, ToolBarButton, TreeNode, TreeView
			SetProperty(control, "ImageIndex", resources);
			// ToolTipText property for StatusBar, TabPage, ToolBarButton
			SetProperty(control, "ToolTipText", resources);
			// IntegralHeight property for ComboBox, ListBox
			SetProperty(control, "IntegralHeight", resources);
			// ItemHeight property for ListBox, ComboBox, TreeView
			SetProperty(control, "ItemHeight", resources);
			// MaxDropDownItems property for ComboBox
			SetProperty(control, "MaxDropDownItems", resources);
			// MaxLength property for ComboBox, RichTextBox, TextBoxBase
			SetProperty(control, "MaxLength", resources);
			// Appearance property for CheckBox, RadioButton, TabControl, ToolBar
			SetProperty(control, "Appearance", resources);
			// CheckAlign property for CheckBox and RadioBox
			SetProperty(control, "CheckAlign", resources);
			// FlatStyle property for ButtonBase, GroupBox and Label
			SetProperty(control, "FlatStyle", resources);
			// ImageAlign property for ButtonBase, Image and Label
			SetProperty(control, "ImageAlign", resources);
			// Indent property for TreeView
			SetProperty(control, "Indent", resources);
			// Multiline property for RichTextBox, TabControl, TextBoxBase
			SetProperty(control, "Multiline", resources);
			// BulletIndent property for RichTextBox
			SetProperty(control, "BulletIndent", resources);
			// RightMargin property for RichTextBox
			SetProperty(control, "RightMargin", resources);
			// ScrollBars property for RichTextBox, TextBox
			SetProperty(control, "ScrollBars", resources);
			// WordWrap property for TextBoxBase
			SetProperty(control, "WordWrap", resources);
			// ZoomFactor property for RichTextBox
			SetProperty(control, "ZoomFactor", resources);
			// ButtonSize property for ToolBar
			SetProperty(control, "ButtonSize", resources);
			// ButtonSize property for ToolBar
			SetProperty(control, "DropDownArrows", resources);
			// ShowToolTips property for TabControl, ToolBar
			SetProperty(control, "ShowToolTips", resources);
			// Wrappable property for ToolBar
			SetProperty(control, "Wrappable", resources);
			// AutoSize property for Label, RichTextBox, ToolBar, TrackBar
			SetProperty(control, "AutoSize", resources);
		}