734 references to SR
System.Windows.Forms.Design (734)
artifacts\obj\System.Windows.Forms.Design\Release\net10.0\System.SR.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(SR)));
src\Common\src\RTLAwareMessageBox.cs (1)
40return SR.RTL != "RTL_False";
SRCategoryAttribute.cs (1)
16protected override string GetLocalizedString(string value) => SR.GetResourceString(value);
SRDescriptionAttribute.cs (1)
25DescriptionValue = SR.GetResourceString(base.Description);
SRDisplayNameAttribute.cs (1)
24DisplayNameValue = SR.GetResourceString(base.DisplayName);
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (5)
108FileName = SR.BinaryEditorFileName, 109Title = SR.BinaryEditorSaveFile, 110Filter = SR.BinaryEditorAllFiles + " (*.*)|*.*" 121RTLAwareMessageBox.Show(null, string.Format(SR.BinaryEditorFileError, x.Message), 122SR.BinaryEditorTitle, MessageBoxButtons.OK,
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (7)
59Text = string.Format(SR.CollectionEditorCaption, CollectionItemType.Name); 864_propertiesLabel.Text = string.Format(SR.CollectionEditorProperties, GetDisplayText((ListItem?)_listBox.SelectedItem)); 897throw new InvalidOperationException(string.Format(SR.CollectionEditorCantRemoveItem, GetDisplayText(item))); 1061_propertiesLabel.Text = string.Format(SR.CollectionEditorProperties, GetDisplayText((ListItem)_listBox.SelectedItem)); 1065_propertiesLabel.Text = SR.CollectionEditorPropertiesMultiSelect; 1075_propertiesLabel.Text = SR.CollectionEditorInheritedReadOnlySelection; 1085_propertiesLabel.Text = SR.CollectionEditorPropertiesNone;
System\ComponentModel\Design\CollectionEditor.cs (2)
123SR.CollectionEditorCreateInstanceError, 244transaction = host?.CreateTransaction(string.Format(SR.CollectionEditorUndoBatchDesc, CollectionItemType.Name));
System\ComponentModel\Design\ComponentDesigner.cs (2)
132=> throw new NotImplementedException(SR.NotImplementedByDesign); 291t = host.CreateTransaction(string.Format(SR.ComponentDesignerAddEvent, defaultEvent.Name));
System\ComponentModel\Design\DesignerActionMethodItem.cs (1)
120throw new InvalidOperationException(string.Format(SR.DesignerActionPanel_CouldNotFindMethod, MemberName));
System\ComponentModel\Design\DesignerActionPanel.cs (3)
671SR.DesignerActionPanel_CouldNotFindProperty, 734if (SR.RTL != "RTL_False") 739MessageBox.Show(this, errorMessage, SR.UIServiceHelper_ErrorCaption, MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, options);
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
46ActionPanel.ShowError(string.Format(SR.DesignerActionPanel_ErrorActivatingDropDown, ex.Message));
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
76ActionPanel.ShowError(string.Format(SR.DesignerActionPanel_ErrorInvokingAction, _methodItem!.DisplayName, Environment.NewLine + ex.Message));
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (2)
59ActionPanel.ShowError(string.Format(SR.DesignerActionPanel_CouldNotConvertValue, newValue, PropertyDescriptor.PropertyType)); 85ActionPanel.ShowError(string.Format(SR.DesignerActionPanel_ErrorSettingValue, newValue, PropertyDescriptor.Name, e.Message));
System\ComponentModel\Design\DesignerActionUI.cs (3)
340string.Format(SR.DesignerActionPanel_DefaultPanelTitle, behaviorWithPanelToRegen.RelatedComponent.GetType().Name), 708_designerActionHost.AccessibleName = string.Format(SR.DesignerActionPanel_DefaultPanelTitle, relatedComponent.GetType().Name); 709panel.AccessibleName = string.Format(SR.DesignerActionPanel_DefaultPanelTitle, relatedComponent.GetType().Name);
System\ComponentModel\Design\DesignerHost.cs (20)
187throw new InvalidOperationException(SR.DesignerHostUnloading) 189HelpLink = SR.DesignerHostUnloading 197SR.DesignerHostCyclicAdd, 201HelpLink = SR.DesignerHostCyclicAdd 250throw new InvalidOperationException(string.Format(SR.DesignerHostNoTopLevelDesigner, component.GetType().FullName)) 252HelpLink = SR.DesignerHostNoTopLevelDesigner 277throw new InvalidOperationException(SR.DesignerHostDesignerNeedsComponent); 310throw new InvalidOperationException(SR.DesignerHostLoaderSpecified) 312HelpLink = SR.DesignerHostLoaderSpecified 352e = new InvalidOperationException(string.Format(SR.DesignSurfaceFatalError, e), e); 425throw new InvalidOperationException(SR.DesignSurfaceContainerDispose); 964throw new InvalidOperationException(string.Format(SR.DesignerHostFailedComponentCreate, componentType.Name)) 966HelpLink = SR.DesignerHostFailedComponentCreate 989((IDesignerHost)this).CreateTransaction(SR.DesignerHostGenericTransactionName); 992new DesignerHostTransaction(this, description ?? SR.DesignerHostGenericTransactionName); 1003throw new InvalidOperationException(string.Format(SR.DesignerHostCantDestroyInheritedComponent, name)) 1005HelpLink = SR.DesignerHostCantDestroyInheritedComponent 1017using (t = ((IDesignerHost)this).CreateTransaction(string.Format(SR.DesignerHostDestroyComponentTransaction, name))) 1067new InvalidOperationException(SR.DesignerHostNoBaseClass) 1069HelpLink = SR.DesignerHostNoBaseClass
System\ComponentModel\Design\DesignerHost.DesignerHostTransaction.cs (2)
40throw new InvalidOperationException(string.Format(SR.DesignerHostNestedTransaction, Description, nestedDescription)); 73throw new InvalidOperationException(string.Format(SR.DesignerHostNestedTransaction, Description, nestedDescription));
System\ComponentModel\Design\DesignerHost.Site.cs (2)
241throw new InvalidOperationException(string.Format(SR.DesignerHostDuplicateName, value)) 243HelpLink = SR.DesignerHostDuplicateName
System\ComponentModel\Design\DesignSurface.cs (8)
150throw new InvalidOperationException(SR.DesignSurfaceNoRootComponent) 152HelpLink = SR.DesignSurfaceNoRootComponent 158throw new InvalidOperationException(SR.DesignSurfaceDesignerNotLoaded) 160HelpLink = SR.DesignSurfaceDesignerNotLoaded 167throw new NotSupportedException(SR.DesignSurfaceNoSupportedTechnology) 169HelpLink = SR.DesignSurfaceNoSupportedTechnology 447Exception ex = new InvalidOperationException(SR.DesignSurfaceNoRootComponent) 449HelpLink = SR.DesignSurfaceNoRootComponent
System\ComponentModel\Design\DesignSurfaceServiceContainer.cs (1)
46throw new InvalidOperationException(string.Format(SR.DesignSurfaceServiceIsFixed, serviceType.Name));
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (9)
136throw new InvalidOperationException(string.Format(SR.EventBindingServiceEventReadOnly, Name)) 138HelpLink = SR.EventBindingServiceEventReadOnly 146throw new ArgumentException(string.Format(SR.EventBindingServiceBadArgType, Name, nameof(String))) 148HelpLink = SR.EventBindingServiceBadArgType 173throw new InvalidOperationException(SR.EventBindingServiceNoSite) 175HelpLink = SR.EventBindingServiceNoSite 182throw new InvalidOperationException(string.Format(SR.EventBindingServiceMissingService, nameof(IDictionaryService))) 184HelpLink = SR.EventBindingServiceMissingService 215transaction = host.CreateTransaction(string.Format(SR.EventBindingServiceSetValue, site.Name, name));
System\ComponentModel\Design\ExceptionCollection.cs (1)
22throw new ArgumentException(string.Format(SR.ExceptionCollectionInvalidArgument, nameof(Exception)), nameof(exceptions));
System\ComponentModel\Design\ExtenderProviderService.cs (1)
36throw new ArgumentException(string.Format(SR.ExtenderProviderServiceDuplicateProvider, provider), nameof(provider));
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (2)
298return SR.GetResourceString(SR.InheritanceServiceReadOnlyCollection);
System\ComponentModel\Design\MenuCommandService.cs (1)
84throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.MenuCommandService_DuplicateCommand, commandId.ToString()));
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (2)
363size = g.MeasureString(SR.MultilineStringEditorWatermark, Font); 414SR.MultilineStringEditorWatermark,
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (9)
87throw new InvalidOperationException(SR.BasicDesignerLoaderNotInitialized); 109throw new InvalidOperationException(SR.BasicDesignerLoaderNotInitialized); 118throw new InvalidOperationException(SR.BasicDesignerLoaderNotInitialized); 144Exception ex = new InvalidOperationException(SR.BasicDesignerLoaderAlreadyLoaded) 146HelpLink = SR.BasicDesignerLoaderAlreadyLoaded 154Exception ex = new InvalidOperationException(SR.BasicDesignerLoaderDifferentHost) 156HelpLink = SR.BasicDesignerLoaderDifferentHost 372throw new InvalidOperationException(string.Format(SR.BasicDesignerLoaderMissingService, typeof(T).Name)) 374HelpLink = SR.BasicDesignerLoaderMissingService
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (3)
299manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerTypeNotFound, typeName), manager)); 309string.Format(SR.SerializerNoSerializerForComponent, type.FullName), manager)); 395manager.ReportError(new CodeDomSerializerException(string.Format(SR.CodeDomComponentSerializationServiceDeserializationError, name), manager));
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
92throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceClosedStore);
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.cs (7)
65throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore); 82throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore); 101throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore); 125throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore); 141throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore); 158throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore); 179throw new InvalidOperationException(SR.CodeDomComponentSerializationServiceUnknownStore);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (20)
200Exception ex = new NotSupportedException(SR.CodeDomDesignerLoaderNoLanguageSupport) 202HelpLink = SR.CodeDomDesignerLoaderNoLanguageSupport 241failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeNotFound, typeDeclaration.Name, typeReference.BaseType)); 282throw new InvalidOperationException(string.Format(SR.CodeDomDesignerLoaderSerializerTypeNotFirstType, typeDeclaration.Name)); 300throw new InvalidOperationException(string.Format(SR.CodeDomDesignerLoaderSerializerTypeNotFirstType, typeDeclaration.Name)); 311failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeDesignerNotInstalled, typeDeclaration.Name, baseType.FullName)); 315failures.Add(string.Format(SR.CodeDomDesignerLoaderDocumentFailureTypeNotDesignable, typeDeclaration.Name, baseType.FullName)); 353ex = new InvalidOperationException(string.Format(SR.CodeDomDesignerLoaderNoRootSerializerWithFailures, builder)) 355HelpLink = SR.CodeDomDesignerLoaderNoRootSerializer 360ex = new InvalidOperationException(SR.CodeDomDesignerLoaderNoRootSerializer) 362HelpLink = SR.CodeDomDesignerLoaderNoRootSerializer 600throw new InvalidOperationException(SR.CodeDomDesignerLoaderNoTypeResolution); 968Exception ex = new ArgumentException(SR.CodeDomDesignerLoaderBadSerializationObject) 970HelpLink = SR.CodeDomDesignerLoaderBadSerializationObject 1182Exception ex = new ArgumentException(SR.CodeDomDesignerLoaderInvalidBlankIdentifier) 1184HelpLink = SR.CodeDomDesignerLoaderInvalidIdentifier 1215Exception ex = new ArgumentException(string.Format(SR.CodeDomDesignerLoaderInvalidIdentifier, name)) 1217HelpLink = SR.CodeDomDesignerLoaderInvalidIdentifier 1258Exception ex = new ArgumentException(string.Format(SR.CodeDomDesignerLoaderDupComponentName, name)) 1260HelpLink = SR.CodeDomDesignerLoaderDupComponentName
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (2)
64[SRDescription(nameof(SR.CodeDomDesignerLoaderPropGenerateMember))] 89[SRDescription(nameof(SR.CodeDomDesignerLoaderPropModifiers))]
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersInheritedExtenderProvider.cs (1)
72[SRDescription(nameof(SR.CodeDomDesignerLoaderPropModifiers))]
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.cs (1)
76?? throw new NotSupportedException(string.Format(SR.LocalizationProviderMissingService, nameof(IExtenderProviderService)));
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (1)
169uis?.ShowMessage(SR.LocalizationProviderManualReload);
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
88throw new ArgumentException(string.Format(SR.SerializerBadElementTypes, codeObject.GetType().Name, supportedTypes)); 254throw new NotSupportedException(string.Format(SR.SerializerMemberTypeNotSerializable, member.GetType().FullName));
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (37)
131Error(manager, string.Format(SR.TypeNotFoundInTargetFramework, instance.GetType().FullName), SR.SerializerUndeclaredName); 156Error(manager, string.Format(SR.TypeNotFoundInTargetFramework, type.FullName), SR.SerializerUndeclaredName); 317Error(manager, string.Format(SR.TypeNotFoundInTargetFramework, type.FullName), SR.SerializerUndeclaredName); 507Error(manager, string.Format(SR.SerializerNoSuchEvent, targetObject.GetType().FullName, statement.Event.EventName), SR.SerializerNoSuchEvent); 600Error(manager, string.Format(SR.SerializerNoSuchField, lhs.GetType().FullName, fieldReferenceEx.FieldName), SR.SerializerNoSuchField); 692Error(manager, SR.SerializerNoRootExpression, SR.SerializerNoRootExpression); 765Error(manager, string.Format(SR.SerializerTypeNotFound, objectCreateEx.CreateType.BaseType), SR.SerializerTypeNotFound); 775Error(manager, string.Format(SR.SerializerUndeclaredName, argumentReferenceEx.ParameterName), SR.SerializerUndeclaredName); 796Error(manager, string.Format(SR.SerializerUndeclaredName, fieldReferenceEx.FieldName), SR.SerializerUndeclaredName); 830Error(manager, string.Format(SR.SerializerUndeclaredName, fieldReferenceEx.FieldName), SR.SerializerUndeclaredName); 837Error(manager, string.Format(SR.SerializerFieldTargetEvalFailed, fieldReferenceEx.FieldName), SR.SerializerFieldTargetEvalFailed); 924Error(manager, string.Format(SR.SerializerUndeclaredName, variableReferenceEx.VariableName), SR.SerializerUndeclaredName); 1009Error(manager, string.Format(SR.SerializerTypeNotFound, arrayCreateEx.CreateType.BaseType), SR.SerializerTypeNotFound); 1150Error(manager, string.Format(SR.SerializerTypeNotFound, type), SR.SerializerTypeNotFound); 1242Error(manager, string.Format(SR.SerializerNoSuchEvent, targetObject.GetType().FullName, eventName), SR.SerializerNoSuchEvent); 1531Error(manager, string.Format(SR.SerializerNoSuchProperty, typeName, propertyReferenceEx.PropertyName), SR.SerializerNoSuchProperty); 1628Error(manager, string.Format(SR.SerializerNoSuchProperty, lhs.GetType().FullName, propertyReferenceEx.PropertyName), SR.SerializerNoSuchProperty); 2414manager.ReportError(string.Format(SR.SerializerLostStatements, valueName)); 2420manager.ReportError(string.Format(SR.SerializerNoSerializerForComponent, value is null ? "(null)" : value.GetType().FullName)); 2761manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerUndeclaredName, variableReferenceEx.VariableName), manager));
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
392manager.ReportError(string.Format(SR.SerializerInvalidArrayRank, array.Rank.ToString(CultureInfo.InvariantCulture)));
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (9)
196throw new InvalidOperationException(SR.SerializationManagerWithinSession); 207throw new InvalidOperationException(SR.SerializationManagerNoSession); 392SerializationException ex = new(string.Format(SR.SerializationManagerNoMatchingCtor, type.FullName, argTypes)) 394HelpLink = SR.SerializationManagerNoMatchingCtor 411throw new InvalidOperationException(SR.SerializationManagerAlreadyInSession); 751Exception ex = new SerializationException(string.Format(SR.SerializationManagerDuplicateComponentDecl, name)) 753HelpLink = SR.SerializationManagerDuplicateComponentDecl 931throw new ArgumentException(string.Format(SR.SerializationManagerNameInUse, name), nameof(name)); 936throw new ArgumentException(string.Format(SR.SerializationManagerObjectHasName, name, instanceName), nameof(instance));
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (1)
69manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerPropertyGenFailed, eventToSerialize.Name, e.Message), manager));
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (4)
57manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerPropertyGenFailed, property.Name, e.Message), manager)); 123manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerPropertyGenFailed, propertyToSerialize.Name, e.Message), manager)); 141manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerNullNestedProperty, name, property.Name), manager)); 217manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerNoSerializerForComponent, property.PropertyType.FullName), manager));
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
112throw new ArgumentException(string.Format(SR.SerializerBadElementTypes, codeObject.GetType().Name, supportedTypes));
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (2)
262? new SerializationException(string.Format(SR.SerializerResourceExceptionInvariant, message), e) 263: (Exception)new SerializationException(string.Format(SR.SerializerResourceException, culture.ToString(), message), e);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (6)
71Error(manager, string.Format(SR.SerializerTypeNotFound, baseTypeName), SR.SerializerTypeNotFound); 76Error(manager, string.Format(SR.SerializerTypeAbstract, baseType.FullName), SR.SerializerTypeAbstract); 280manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerTypeNotFound, typeName), manager)); 296manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerNoSerializerForComponent, type.FullName), manager));
System\ComponentModel\Design\ToolStripContainerActionList.cs (18)
144DesignerTransaction? changeParent = _designerHost.CreateTransaction(string.Format(SR._0_reparent_controls_transaction, nameof(ToolStripContainer))); 300new DesignerActionHeaderItem(SR.ToolStripContainerActionList_Visible, SR.ToolStripContainerActionList_Show), 302SR.ToolStripContainerActionList_Top, 303SR.ToolStripContainerActionList_Show, 304SR.ToolStripContainerActionList_TopDesc), 307SR.ToolStripContainerActionList_Bottom, 308SR.ToolStripContainerActionList_Show, 309SR.ToolStripContainerActionList_BottomDesc), 312SR.ToolStripContainerActionList_Left, 313SR.ToolStripContainerActionList_Show, 314SR.ToolStripContainerActionList_LeftDesc), 317SR.ToolStripContainerActionList_Right, 318SR.ToolStripContainerActionList_Show, 319SR.ToolStripContainerActionList_RightDesc) 325? SR.DesignerShortcutDockInUserControl 326: SR.DesignerShortcutDockInForm; 336items.Add(new DesignerActionMethodItem(this, nameof(ReparentControls), SR.DesignerShortcutReparentControls));
System\ComponentModel\Design\UndoEngine.cs (10)
288Exception ex = new InvalidOperationException(string.Format(SR.UndoEngineMissingService, serviceType.Name)) 290HelpLink = SR.UndoEngineMissingService 338name = string.Format(SR.UndoEngineComponentAdd1, GetName(e.Component, true)); 342name = SR.UndoEngineComponentAdd0; 378name = SR.UndoEngineComponentChange0; 382name = string.Format(SR.UndoEngineComponentChange1, GetName(e.Component, true)); 386name = string.Format(SR.UndoEngineComponentChange2, GetName(e.Component, true), e.Member.Name); 430name = string.Format(SR.UndoEngineComponentRemove1, GetName(e.Component, true)); 434name = SR.UndoEngineComponentRemove0; 502string name = string.Format(SR.UndoEngineComponentRename, e.OldName, e.NewName);
System\Drawing\Design\BitmapEditor.cs (1)
15protected override string GetFileDialogDescription() => SR.bitmapFileDescription;
System\Drawing\Design\ColorEditor.ColorUI.cs (4)
162_paletteTabPage = new TabPage(SR.ColorEditorPaletteTab); 163_commonTabPage = new TabPage(SR.ColorEditorStandardTab); 164_systemTabPage = new TabPage(SR.ColorEditorSystemTab); 166AccessibleName = SR.ColorEditorAccName;
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (10)
112AccessibleName = SR.ContentAlignmentEditorAccName; 118_topLeft.AccessibleName = SR.ContentAlignmentEditorTopLeftAccName; 124_topCenter.AccessibleName = SR.ContentAlignmentEditorTopCenterAccName; 130_topRight.AccessibleName = SR.ContentAlignmentEditorTopRightAccName; 136_middleLeft.AccessibleName = SR.ContentAlignmentEditorMiddleLeftAccName; 142_middleCenter.AccessibleName = SR.ContentAlignmentEditorMiddleCenterAccName; 148_middleRight.AccessibleName = SR.ContentAlignmentEditorMiddleRightAccName; 154_bottomLeft.AccessibleName = SR.ContentAlignmentEditorBottomLeftAccName; 160_bottomCenter.AccessibleName = SR.ContentAlignmentEditorBottomCenterAccName; 166_bottomRight.AccessibleName = SR.ContentAlignmentEditorBottomRightAccName;
System\Drawing\Design\IconEditor.cs (1)
100protected virtual string GetFileDialogDescription() => SR.iconFileDescription;
System\Drawing\Design\ImageEditor.cs (1)
124protected virtual string GetFileDialogDescription() => SR.imageFileDescription;
System\Drawing\Design\MetafileEditor.cs (1)
14protected override string GetFileDialogDescription() => SR.metafileFileDescription;
System\Drawing\Design\ToolboxItem.cs (4)
106public virtual string ComponentType => SR.DotNET_ComponentType; 208throw new InvalidOperationException(SR.ToolboxItemLocked); 752throw new ArgumentException(string.Format(SR.ToolboxItemInvalidPropertyType, propertyName, expectedType.FullName), nameof(value)); 855: throw new ArgumentException(SR.ToolboxItemInvalidKey, nameof(key));
System\Resources\Tools\StronglyTypedResourceBuilder.cs (14)
174throw new ArgumentException(string.Format(SR.MismatchedResourceName, keyname, node.Name)); 339throw new ArgumentException(string.Format(SR.InvalidIdentifier, className)); 376classType.Comments.Add(new(SR.ClassDocComment, docComment: true)); 485classDeclaration.Comments.Add(new(SR.ClassComments1)); 486classDeclaration.Comments.Add(new(SR.ClassComments2)); 487classDeclaration.Comments.Add(new(SR.ClassComments3)); 488classDeclaration.Comments.Add(new(SR.ClassComments4)); 626resourceManagerProperty.Comments.Add(new(SR.ResMgrPropertyComment, docComment: true)); 638culture.Comments.Add(new(SR.CulturePropertyComment1, docComment: true)); 639culture.Comments.Add(new(SR.CulturePropertyComment2, docComment: true)); 654commentString = string.Format(SR.StringPropertyTruncatedComment, commentString[..DocCommentLengthThreshold]); 767text = string.Format(SR.StringPropertyComment, valueAsString); 775text = string.Format(SR.NonStringPropertyComment, typeName); 779text = string.Format(SR.NonStringPropertyDetailedComment, typeName, valueAsString);
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (7)
77AccessibleName = SR.AnchorEditorAccName; 92_right.AccessibleName = SR.AnchorEditorRightAccName; 99_left.AccessibleName = SR.AnchorEditorLeftAccName; 106_top.AccessibleName = SR.AnchorEditorTopAccName; 113_bottom.AccessibleName = SR.AnchorEditorBottomAccName; 336? SR.AccessibleActionUncheck 337: SR.AccessibleActionCheck;
System\Windows\Forms\Design\AxImporter.cs (1)
13throw new NotImplementedException(SR.NotImplementedByDesign);
System\Windows\Forms\Design\BaseContextMenuStrip.cs (13)
33StandardCommandToolStripMenuItem codeMenuItem = new(StandardCommands.ViewCode, SR.ContextMenuViewCode, "viewcode", _serviceProvider); 42StandardCommandToolStripMenuItem ZOrderMenuItem = new(StandardCommands.BringToFront, SR.ContextMenuBringToFront, "bringToFront", _serviceProvider); 44ZOrderMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.SendToBack, SR.ContextMenuSendToBack, "sendToBack", _serviceProvider); 53StandardCommandToolStripMenuItem gridMenuItem = new(StandardCommands.AlignToGrid, SR.ContextMenuAlignToGrid, "alignToGrid", _serviceProvider); 62StandardCommandToolStripMenuItem lockMenuItem = new(StandardCommands.LockControls, SR.ContextMenuLockControls, "lockControls", _serviceProvider); 133_selectionMenuItem.Text = SR.ContextMenuSelect; 172StandardCommandToolStripMenuItem stdMenuItem = new(StandardCommands.Cut, SR.ContextMenuCut, "cut", _serviceProvider); 174stdMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.Copy, SR.ContextMenuCopy, "copy", _serviceProvider); 176stdMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.Paste, SR.ContextMenuPaste, "paste", _serviceProvider); 178stdMenuItem = new StandardCommandToolStripMenuItem(StandardCommands.Delete, SR.ContextMenuDelete, "delete", _serviceProvider); 187StandardCommandToolStripMenuItem stdMenuItem = new(StandardCommands.DocumentOutline, SR.ContextMenuDocumentOutline, "", _serviceProvider); 189stdMenuItem = new StandardCommandToolStripMenuItem(MenuCommands.DesignerProperties, SR.ContextMenuProperties, "properties", _serviceProvider); 283Text = string.Format(SR.ToolStripSelectMenuItem, compName);
System\Windows\Forms\Design\Behavior\DesignerActionBehavior.cs (1)
64dap.UpdateTasks(lists, [], string.Format(SR.DesignerActionPanel_DefaultPanelTitle, relatedComponent.GetType().Name), null);
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (4)
371transDesc = string.Format(performCopy ? SR.BehaviorServiceCopyControl : SR.BehaviorServiceMoveControl, name); 375transDesc = string.Format(performCopy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls, _dragComponents.Length);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
245locString = string.Format(SR.BehaviorServiceResizeControl, name); 249locString = string.Format(SR.BehaviorServiceResizeControls, _resizeComponents.Length);
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
119_resizeTransaction = host.CreateTransaction(string.Format(SR.TableLayoutPanelRowColResize, (isColumn ? "Column" : "Row"), _designer.Control.Site.Name));
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (4)
204copy ? SR.BehaviorServiceCopyControl : SR.BehaviorServiceMoveControl, 209copy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls,
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
143throw new NotSupportedException(SR.ToolStripPanelGlyphUnsupportedDock); 192throw new InvalidOperationException(SR.ToolStripPanelGlyphUnsupportedDock);
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
42text ??= SR.ToolStripItemCollectionEditorVerb;
System\Windows\Forms\Design\CommandSet.CommandSetItem.cs (1)
185_uiService?.ShowError(e, string.Format(SR.CommandSetError, e.Message));
System\Windows\Forms\Design\CommandSet.cs (17)
784? host.CreateTransaction(string.Format(SR.DragDropMoveComponents, SelectionService.SelectionCount)) 785: host.CreateTransaction(string.Format(SR.DragDropMoveComponent, comp.Site?.Name)); 990trans = host?.CreateTransaction(string.Format(SR.CommandSetAlignByPrimary, comps.Count)); 1138trans = host.CreateTransaction(string.Format(SR.CommandSetAlignToGrid, selectedComponents.Count)); 1262? string.Format(SR.WindowsFormsCommandCenterX, selectedComponents.Count) 1263: string.Format(SR.WindowsFormsCommandCenterY, selectedComponents.Count); 1418_uiService?.ShowError(SR.ClipboardError); 1474trans = host.CreateTransaction(string.Format(SR.CommandSetCutMultiple, cutCount)); 1568_uiService?.ShowError(SR.ClipboardError); 1596string desc = string.Format(SR.CommandSetDelete, comps.Count); 1860using DesignerTransaction trans = host.CreateTransaction(SR.CommandSetPaste); 2177_uiService?.ShowError(SR.ClipboardError); 2320trans = host?.CreateTransaction(string.Format(SR.CommandSetSize, selectedObjects.Length)); 2399trans = host.CreateTransaction(string.Format(SR.CommandSetSizeToGrid, selectedObjects.Length)); 2483trans = host.CreateTransaction(string.Format(SR.CommandSetPaste, 0)); 2536trans = host.CreateTransaction(string.Format(SR.CommandSetFormatSpacing, selectedObjects.Length)); 2579: throw new ArgumentException(SR.CommandSetUnknownSpacingCommand);
System\Windows\Forms\Design\ComponentDocumentDesigner.cs (11)
20public Control Control => throw new NotImplementedException(SR.NotImplementedByDesign); 27get => throw new NotImplementedException(SR.NotImplementedByDesign); 28set => throw new NotImplementedException(SR.NotImplementedByDesign); 36get => throw new NotImplementedException(SR.NotImplementedByDesign); 37set => throw new NotImplementedException(SR.NotImplementedByDesign); 42get => throw new NotImplementedException(SR.NotImplementedByDesign); 72throw new NotImplementedException(SR.NotImplementedByDesign); 85throw new NotImplementedException(SR.NotImplementedByDesign); 119throw new NotImplementedException(SR.NotImplementedByDesign); 129throw new NotImplementedException(SR.NotImplementedByDesign); 140throw new NotImplementedException(SR.NotImplementedByDesign);
System\Windows\Forms\Design\ComponentTray.cs (4)
305t = host.CreateTransaction(SR.TrayShowLargeIcons); 321t = host.CreateTransaction(SR.TrayLineUpIcons); 410t = host.CreateTransaction(SR.TrayAutoArrange); 2502trans = host.CreateTransaction(string.Format(SR.WindowsFormsAddEvent, defaultEvent.Name));
System\Windows\Forms\Design\ContextMenuStripActionList.cs (9)
101SR.ToolStripActionList_RenderMode, 102SR.ToolStripActionList_Layout, 103SR.ToolStripActionList_RenderModeDesc) 110SR.ContextMenuStripActionList_ShowImageMargin, 111SR.ToolStripActionList_Layout, 112SR.ContextMenuStripActionList_ShowImageMarginDesc)); 116SR.ContextMenuStripActionList_ShowCheckMargin, 117SR.ToolStripActionList_Layout, 118SR.ContextMenuStripActionList_ShowCheckMarginDesc));
System\Windows\Forms\Design\ControlCommandSet.cs (5)
600trans = host.CreateTransaction(string.Format(SR.DragDropSizeComponents, selSvc.SelectionCount)); 604trans = host.CreateTransaction(string.Format(SR.DragDropSizeComponent, comp.Site.Name)); 862trans = host.CreateTransaction(string.Format(SR.CommandSetLockControls, components.Count)); 998batchString = string.Format(SR.CommandSetBringToFront, selectedComponents.Length); 1002batchString = string.Format(SR.CommandSetSendToBack, selectedComponents.Length);
System\Windows\Forms\Design\ControlDesigner.cs (2)
1679new SRDescriptionAttribute(SR.lockedDescr)); 2505string.Format(SR.ControlDesigner_WndProcException, typeName, exception.Message, stack),
System\Windows\Forms\Design\ControlDesigner.DockingActionList.cs (2)
34return SR.DesignerShortcutUndockInParent; 38return SR.DesignerShortcutDockInParent;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (5)
609_cancelButton.Text = SR.DataGridView_Cancel; 750_cancelButton.Text = (SR.DataGridView_Close); 872errorString = string.Format(SR.DataGridViewDuplicateColumnName, name); 880errorString = string.Format(SR.DesignerHostDuplicateName, name); 889errorString = string.Format(SR.CodeDomDesignerLoaderInvalidIdentifier, name);
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (4)
49_sampleDataGridView.AccessibilityObject.Name = SR.CellStyleBuilderNormalPreviewAccName; 54row.Cells[0].AccessibilityObject.Name = SR.CellStyleBuilderSelectedPreviewAccName; 59_sampleDataGridViewSelected.AccessibilityObject.Name = SR.CellStyleBuilderSelectedPreviewAccName; 64row.Cells[0].AccessibilityObject.Name = SR.CellStyleBuilderNormalPreviewAccName;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (7)
887_propertyGridLabel.Text = string.Format(SR.DataGridViewProperties); 929_propertyGridLabel.Text = (SR.DataGridViewUnboundColumnProperties); 933_propertyGridLabel.Text = (SR.DataGridViewBoundColumnProperties); 1075_propertyGridLabel.Text = (SR.DataGridViewUnboundColumnProperties); 1079_propertyGridLabel.Text = (SR.DataGridViewBoundColumnProperties); 1084_propertyGridLabel.Text = (SR.DataGridViewProperties); 1334DescriptionAttribute descriptionAttr = new(SR.DataGridViewColumnTypePropertyDescription);
System\Windows\Forms\Design\DataGridViewColumnCollectionEditor.cs (1)
31using DesignerTransaction transaction = host.CreateTransaction(SR.DataGridViewColumnCollectionTransaction);
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
253new DescriptionAttribute(SR.DesignerPropName),
System\Windows\Forms\Design\DataGridViewDesigner.cs (20)
174designerVerbs.Add(new DesignerVerb(SR.DataGridViewEditColumnsVerb, OnEditColumns)); 175designerVerbs.Add(new DesignerVerb(SR.DataGridViewAddColumnVerb, OnAddColumn)); 395throw new InvalidOperationException(SR.DataGridViewDataSourceNoLongerValid, ex); 572throw new InvalidOperationException(SR.DataGridViewDataSourceNoLongerValid, ex); 747DesignerTransaction? transaction = host?.CreateTransaction(SR.DataGridViewEditColumnsTransactionString); 770DesignerTransaction? transaction = host?.CreateTransaction(SR.DataGridViewAddColumnTransactionString); 821displayName: SR.DataGridViewEditColumnsVerb, 825displayName: SR.DataGridViewAddColumnVerb, 848new DesignerActionPropertyItem(nameof(AllowUserToAddRows), SR.DataGridViewEnableAdding), 849new DesignerActionPropertyItem(nameof(ReadOnly), SR.DataGridViewEnableEditing), 850new DesignerActionPropertyItem(nameof(AllowUserToDeleteRows), SR.DataGridViewEnableDeleting), 851new DesignerActionPropertyItem(nameof(AllowUserToOrderColumns), SR.DataGridViewEnableColumnReordering) 871transaction = host?.CreateTransaction(SR.DataGridViewEnableAddingTransactionString); 875transaction = host?.CreateTransaction(SR.DataGridViewDisableAddingTransactionString); 914transaction = host?.CreateTransaction(SR.DataGridViewEnableDeletingTransactionString); 918transaction = host?.CreateTransaction(SR.DataGridViewDisableDeletingTransactionString); 957transaction = host?.CreateTransaction(SR.DataGridViewEnableColumnReorderingTransactionString); 961transaction = host?.CreateTransaction(SR.DataGridViewDisableColumnReorderingTransactionString); 1000transaction = host?.CreateTransaction(SR.DataGridViewEnableEditingTransactionString); 1004transaction = host?.CreateTransaction(SR.DataGridViewDisableEditingTransactionString);
System\Windows\Forms\Design\DataGridViewDesigner.DataGridViewChooseDataSourceActionList.cs (2)
28SR.DataGridViewChooseDataSource) 50DesignerTransaction? transaction = host?.CreateTransaction(string.Format(SR.DataGridViewChooseDataSourceTransactionString, dataGridView.Name));
System\Windows\Forms\Design\DataMemberFieldConverter.cs (2)
16return value is not null && value.Equals(SR.None) ? string.Empty : value; 22? SR.None_lc
System\Windows\Forms\Design\DesignBindingPicker.cs (19)
149Text = SR.DesignBindingPickerAddProjDataSourceLabel, 246_treeViewCtrl.AccessibleName = (SR.DesignBindingPickerTreeViewAccessibleName); 276Text = (SR.DesignBindingPickerAddProjDataSourceLabel), 346AccessibleName = SR.DesignBindingPickerAccessibleName; 1277DesignerTransaction? trans = _designerHost.CreateTransaction(string.Format(SR.DesignerBatchCreateTool, uniqueSiteName)); 1606_helpTextCtrl.Text = string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerHelpGenCurrentBinding), _selectedNode.Text); 1611_helpTextCtrl.Text = (_treeViewCtrl?.Nodes.Count > 1) ? (SR.DesignBindingPickerHelpGenPickMember) : ""; 1616_helpTextCtrl.Text = (SR.DesignBindingPickerHelpGenPickBindSrc); 1621_helpTextCtrl.Text = (SR.DesignBindingPickerHelpGenPickDataSrc); 1626_helpTextCtrl.Text = (SR.DesignBindingPickerHelpGenAddDataSrc); 2438public NoneNode() : base(null, (SR.DesignBindingPickerNodeNone), BindingImage.None) 2459return (SR.DesignBindingPickerHelpNodeNone); 2469public OtherNode() : base(null, (SR.DesignBindingPickerNodeOther), BindingImage.Other) 2477return (SR.DesignBindingPickerHelpNodeOther); 2487public InstancesNode(string? rootComponentName) : base(null, string.Format(CultureInfo.CurrentCulture, (SR.DesignBindingPickerNodeInstances), rootComponentName), BindingImage.Instances) 2495return (SR.DesignBindingPickerHelpNodeInstances); 2505public ProjectNode(DesignBindingPicker picker) : base(picker, (SR.DesignBindingPickerNodeProject), BindingImage.Project) 2513return (SR.DesignBindingPickerHelpNodeProject); 2535return SR.DesignBindingPickerHelpNodeProjectGroup;
System\Windows\Forms\Design\DesignerExtenders.NameExtenderProvider.cs (1)
74[SRDescription(nameof(SR.DesignerPropName))]
System\Windows\Forms\Design\DesignerOptions.cs (22)
21[SRCategory(nameof(SR.DesignerOptions_LayoutSettings))] 22[SRDisplayName(nameof(SR.DesignerOptions_GridSizeDisplayName))] 23[SRDescription(nameof(SR.DesignerOptions_GridSizeDesc))] 57[SRCategory(nameof(SR.DesignerOptions_LayoutSettings))] 58[SRDisplayName(nameof(SR.DesignerOptions_ShowGridDisplayName))] 59[SRDescription(nameof(SR.DesignerOptions_ShowGridDesc))] 65[SRCategory(nameof(SR.DesignerOptions_LayoutSettings))] 66[SRDisplayName(nameof(SR.DesignerOptions_SnapToGridDisplayName))] 67[SRDescription(nameof(SR.DesignerOptions_SnapToGridDesc))] 73[SRCategory(nameof(SR.DesignerOptions_LayoutSettings))] 74[SRDescription(nameof(SR.DesignerOptions_UseSnapLines))] 80[SRCategory(nameof(SR.DesignerOptions_LayoutSettings))] 81[SRDescription(nameof(SR.DesignerOptions_UseSmartTags))] 87[SRDisplayName(nameof(SR.DesignerOptions_ObjectBoundSmartTagAutoShowDisplayName))] 88[SRCategory(nameof(SR.DesignerOptions_ObjectBoundSmartTagSettings))] 89[SRDescription(nameof(SR.DesignerOptions_ObjectBoundSmartTagAutoShow))] 95[SRDisplayName(nameof(SR.DesignerOptions_CodeGenDisplay))] 96[SRCategory(nameof(SR.DesignerOptions_CodeGenSettings))] 97[SRDescription(nameof(SR.DesignerOptions_OptimizedCodeGen))] 103[SRDisplayName(nameof(SR.DesignerOptions_EnableInSituEditingDisplay))] 104[SRCategory(nameof(SR.DesignerOptions_EnableInSituEditingCat))] 105[SRDescription(nameof(SR.DesignerOptions_EnableInSituEditingDesc))]
System\Windows\Forms\Design\DockEditor.DockUI.cs (7)
50AccessibleName = SR.DockEditorNoneAccName 62AccessibleName = SR.DockEditorRightAccName 73AccessibleName = SR.DockEditorLeftAccName 84AccessibleName = SR.DockEditorTopAccName 95AccessibleName = SR.DockEditorBottomAccName 106AccessibleName = SR.DockEditorFillAccName 189AccessibleName = SR.DockEditorAccName;
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (6)
40public override string ComponentType => SR.Ax_Control; 115SR.AxImportFailed, 124uiSvc.ShowError(SR.AxImportFailed); 249?? throw new ArgumentException(string.Format(SR.AXNotRegistered, controlKey)); 317throw new ArgumentException(string.Format(SR.AXNotRegistered, controlKey)); 335throw new ArgumentException(string.Format(SR.AXNotRegistered, controlKey));
System\Windows\Forms\Design\FileNameEditor.cs (2)
55openFileDialog.Filter = SR.GenericFileFilter; 56openFileDialog.Title = SR.GenericOpenFile;
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (4)
346return string.Format(performCopy ? SR.BehaviorServiceCopyControl : SR.BehaviorServiceMoveControl, name); 349return string.Format(performCopy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls, _dragControls.Count);
System\Windows\Forms\Design\FormatControl.cs (13)
136return SR.BindingFormattingDialogFormatTypeNoFormatting; 141return SR.BindingFormattingDialogFormatTypeNumeric; 145return SR.BindingFormattingDialogFormatTypeCurrency; 149return SR.BindingFormattingDialogFormatTypeDateTime; 153return SR.BindingFormattingDialogFormatTypeScientific; 157return SR.BindingFormattingDialogFormatTypeCustom; 252secondRowLabel.Text = SR.BindingFormattingDialogDecimalPlaces; 263secondRowLabel.Text = SR.BindingFormattingDialogCustomFormat; 284secondRowLabel.Text = SR.BindingFormattingDialogType; 310AccessibleDescription = SR.BindingFormattingDialogCustomFormatAccessibleDescription, 372nullValueLabel.Text = SR.BindingFormattingDialogNullValue; 376secondRowLabel.Text = SR.BindingFormattingDialogDecimalPlaces; 380secondRowLabel.Text = SR.BindingFormattingDialogCustomFormat;
System\Windows\Forms\Design\FormatControl.CurrencyFormatType.cs (2)
20SR.BindingFormattingDialogFormatTypeCurrencyExplanation; 107SR.BindingFormattingDialogFormatTypeCurrency;
System\Windows\Forms\Design\FormatControl.CustomFormatType.cs (3)
20SR.BindingFormattingDialogFormatTypeCustomExplanation; 85label = SR.BindingFormattingDialogFormatTypeCustomInvalidFormat; 108SR.BindingFormattingDialogFormatTypeCustom;
System\Windows\Forms\Design\FormatControl.DateTimeFormatType.cs (2)
20SR.BindingFormattingDialogFormatTypeDateTimeExplanation; 111public override string ToString() => SR.BindingFormattingDialogFormatTypeDateTime;
System\Windows\Forms\Design\FormatControl.NoFormattingFormatType.cs (2)
11SR.BindingFormattingDialogFormatTypeNoFormattingExplanation; 32public override string ToString() => SR.BindingFormattingDialogFormatTypeNoFormatting;
System\Windows\Forms\Design\FormatControl.NumericFormatType.cs (2)
20SR.BindingFormattingDialogFormatTypeNumericExplanation; 105public override string ToString() => SR.BindingFormattingDialogFormatTypeNumeric;
System\Windows\Forms\Design\FormatControl.ScientificFormatType.cs (2)
20SR.BindingFormattingDialogFormatTypeScientificExplanation; 107SR.BindingFormattingDialogFormatTypeScientific;
System\Windows\Forms\Design\FormatStringDialog.cs (5)
26string rtlString = SR.RTL; 147_formatControl1.FormatType = SR.BindingFormattingDialogFormatTypeNoFormatting; 186_cancelButton.Text = SR.DataGridView_Cancel; 196_okButton.Text = SR.DataGridView_OK; 218Text = SR.FormatStringDialogTitle;
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
168SR.InvalidBoundArgument,
System\Windows\Forms\Design\HelpNamespaceEditor.cs (2)
15openFileDialog.Filter = SR.HelpProviderEditorFilter; 16openFileDialog.Title = SR.HelpProviderEditorTitle;
System\Windows\Forms\Design\ImageCollectionEditor.cs (1)
77form.Text = SR.ImageCollectionEditorFormText;
System\Windows\Forms\Design\ImageListActionList.cs (9)
50new DesignerActionPropertyItem(nameof(ImageSize), SR.ImageListActionList_ImageSizeDisplayName, SR.PropertiesCategoryName, SR.ImageListActionList_ImageSizeDescription), 51new DesignerActionPropertyItem(nameof(ColorDepth), SR.ImageListActionList_ColorDepthDisplayName, SR.PropertiesCategoryName, SR.ImageListActionList_ColorDepthDescription), 52new DesignerActionMethodItem(this, nameof(ChooseImages), SR.ImageListActionList_ChooseImagesDisplayName, SR.LinksCategoryName, SR.ImageListActionList_ChooseImagesDescription, true)
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
92protected override string GetFileDialogDescription() => SR.imageFileDescription;
System\Windows\Forms\Design\InheritanceUI.cs (2)
58text = SR.DesignerInheritedReadOnly; 62text = SR.DesignerInherited;
System\Windows\Forms\Design\InitialDirectoryEditor.cs (1)
13folderBrowser.Description = SR.InitialDirectoryEditorLabel;
System\Windows\Forms\Design\ListControlStringCollectionEditor.cs (1)
25throw new ArgumentException(SR.DataSourceLocksItems);
System\Windows\Forms\Design\ListControlUnboundActionList.cs (3)
28SR.ListControlUnboundActionListEditItemsDisplayName, 29SR.ItemsCategoryName, 30SR.ListControlUnboundActionListEditItemsDescription, true),
System\Windows\Forms\Design\ListViewActionList.cs (18)
51SR.ListViewActionListEditItemsDisplayName, 52SR.PropertiesCategoryName, 53SR.ListViewActionListEditItemsDescription, true), 55SR.ListViewActionListEditColumnsDisplayName, 56SR.PropertiesCategoryName, 57SR.ListViewActionListEditColumnsDescription, true), 59SR.ListViewActionListEditGroupsDisplayName, 60SR.PropertiesCategoryName, 61SR.ListViewActionListEditGroupsDescription, true), 63SR.ListViewActionListViewDisplayName, 64SR.PropertiesCategoryName, 65SR.ListViewActionListViewDescription), 67SR.ListViewActionListSmallImagesDisplayName, 68SR.PropertiesCategoryName, 69SR.ListViewActionListSmallImagesDescription), 71SR.ListViewActionListLargeImagesDisplayName, 72SR.PropertiesCategoryName, 73SR.ListViewActionListLargeImagesDescription),
System\Windows\Forms\Design\ListViewSubItemCollectionEditor.cs (1)
34item.Name = SR.ListViewSubItemBaseName + s_count++;
System\Windows\Forms\Design\MaskDescriptor.cs (2)
65validationErrorDescription = SR.MaskDescriptorNull; 71validationErrorDescription = SR.MaskDescriptorNullOrEmptyRequiredProperty;
System\Windows\Forms\Design\MaskDescriptorComparer.cs (2)
57textA = maskDescriptorA.ValidatingType is null ? SR.MaskDescriptorValidatingTypeNone : maskDescriptorA.ValidatingType.Name; 58textB = maskDescriptorB.ValidatingType is null ? SR.MaskDescriptorValidatingTypeNone : maskDescriptorB.ValidatingType.Name;
System\Windows\Forms\Design\MaskDesignerDialog.cs (5)
72_maskDescriptionHeader.Text = SR.MaskDesignerDialogMaskDescription; 77_dataFormatHeader.Text = SR.MaskDesignerDialogDataFormat; 82_validatingTypeHeader.Text = SR.MaskDesignerDialogValidatingType; 324_customMaskDescriptor = new MaskDescriptorTemplate(null, SR.MaskDesignerDialogCustomEntry, null, null, null, true); 507string nullEntry = SR.MaskDescriptorValidatingTypeNone;
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (12)
95rejectionHint = SR.MaskedTextBoxHintAsciiCharacterExpected; 98rejectionHint = SR.MaskedTextBoxHintAlphanumericCharacterExpected; 101rejectionHint = SR.MaskedTextBoxHintDigitExpected; 104rejectionHint = SR.MaskedTextBoxHintLetterExpected; 107rejectionHint = SR.MaskedTextBoxHintSignedDigitExpected; 110rejectionHint = SR.MaskedTextBoxHintPromptCharNotAllowed; 113rejectionHint = SR.MaskedTextBoxHintUnavailableEditPosition; 116rejectionHint = SR.MaskedTextBoxHintNonEditPosition; 119rejectionHint = SR.MaskedTextBoxHintPositionOutOfRange; 122rejectionHint = SR.MaskedTextBoxHintInvalidInput; 130return string.Format(CultureInfo.CurrentCulture, SR.MaskedTextBoxTextEditorErrorFormatString, e.Position, rejectionHint); 296_verbs.Add(new DesignerVerb(SR.MaskedTextBoxDesignerVerbsSetMaskDesc, new EventHandler(OnVerbSetMask)));
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (1)
60DesignerActionItemCollection items = [new DesignerActionMethodItem(this, "SetMask", SR.MaskedTextBoxDesignerVerbsSetMaskDesc)];
System\Windows\Forms\Design\NotifyIconDesignerActionList.cs (1)
27displayName: SR.ChooseIconDisplayName,
System\Windows\Forms\Design\OleDragDropHandler.ComponentDataObject.cs (2)
231trans = host.CreateTransaction(string.Format(SR.DragDropMoveComponents, _components.Length)); 288throw new InvalidOperationException(SR.DragDropSetDataError);
System\Windows\Forms\Design\OleDragDropHandler.cs (5)
155trans = host?.CreateTransaction(string.Format(SR.DesignerBatchCreateTool, tool)); 172uiService?.ShowMessage(SR.LocalizingCannotAdd); 229uiService.ShowError(ex, string.Format(SR.FailedToCreateComponent, tool.DisplayName, exceptionMessage)); 524trans = host.CreateTransaction(string.Format(SR.DragDropDragComponents, components.Length)); 732trans = host.CreateTransaction(SR.DragDropDropComponents);
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
255throw new ArgumentException(string.Format(SR.InvalidArgument, 1276ReParentControls(Control, selectedControls, string.Format(SR.ParentControlDesignerLassoShortcutRedo, Control.Site.Name), host); 2115new SRDescriptionAttribute(SR.ParentControlDesignerGridSizeDescr), 2356string error = string.Format(SR.DesignerCantParentType, component.GetType().Name, Component.GetType().Name);
System\Windows\Forms\Design\PictureBoxActionList.cs (6)
34SR.ChooseImageDisplayName, 35SR.PropertiesCategoryName, 36SR.ChooseImageDescription, 40SR.SizeModeDisplayName, 41SR.PropertiesCategoryName, 42SR.SizeModeDescription),
System\Windows\Forms\Design\RichTextBoxActionList.cs (3)
27new DesignerActionMethodItem(this, "EditLines", SR.EditLinesDisplayName, SR.LinksCategoryName, SR.EditLinesDescription, true),
System\Windows\Forms\Design\SelectedPathEditor.cs (1)
13folderBrowser.Description = SR.SelectedPathEditorLabel;
System\Windows\Forms\Design\SelectionUIService.cs (8)
260transactionName = string.Format(SR.DragDropMoveComponents, objects.Length); 277transactionName = string.Format(SR.DragDropMoveComponent, name); 284transactionName = string.Format(SR.DragDropSizeComponents, objects.Length); 301transactionName = string.Format(SR.DragDropSizeComponent, name); 306transactionName = string.Format(SR.DragDropDragComponents, objects.Length); 1069throw new InvalidOperationException(SR.DesignerBeginDragNotCalled); 1126trans = _host.CreateTransaction(string.Format(SR.DragDropMoveComponents, components.Length)); 1132trans = _host.CreateTransaction(string.Format(SR.DragDropMoveComponent, comp.Site!.Name));
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (1)
342_keyComboBox.Items.Insert(0, SR.ShortcutKeys_InvalidKey);
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (5)
32_actionName = needsVertical ? SR.DesignerShortcutVerticalOrientation : SR.DesignerShortcutHorizontalOrientation; 44Orientation orientation = verb.Text.Equals(SR.DesignerShortcutHorizontalOrientation) ? Orientation.Horizontal : Orientation.Vertical; 47_actionName = (orientation == Orientation.Horizontal) ? SR.DesignerShortcutVerticalOrientation : SR.DesignerShortcutHorizontalOrientation;
System\Windows\Forms\Design\StandardMenuStripVerb.cs (33)
72[SR.StandardMenuFile, SR.StandardMenuNew, SR.StandardMenuOpen, "-", SR.StandardMenuSave, SR.StandardMenuSaveAs, "-", SR.StandardMenuPrint, SR.StandardMenuPrintPreview, "-", SR.StandardMenuExit], 73[SR.StandardMenuEdit, SR.StandardMenuUndo, SR.StandardMenuRedo, "-", SR.StandardMenuCut, SR.StandardMenuCopy, SR.StandardMenuPaste, "-", SR.StandardMenuSelectAll], 74[SR.StandardMenuTools, SR.StandardMenuCustomize, SR.StandardMenuOptions], 75[SR.StandardMenuHelp, SR.StandardMenuContents, SR.StandardMenuIndex, SR.StandardMenuSearch, "-", SR.StandardMenuAbout] 105DesignerTransaction createMenu = _host.CreateTransaction(SR.StandardMenuCreateDesc); 265string[] menuItemNames = [SR.StandardMenuNew, SR.StandardMenuOpen, SR.StandardMenuSave, SR.StandardMenuPrint, "-", SR.StandardToolCut, SR.StandardMenuCopy, SR.StandardMenuPaste, "-", SR.StandardToolHelp]; 280DesignerTransaction createMenu = _host.CreateTransaction(SR.StandardMenuCreateDesc);
System\Windows\Forms\Design\TabControlDesigner.cs (5)
66_removeVerb = new DesignerVerb(SR.TabControlRemove, new EventHandler(OnRemove)); 69_verbs.Add(new DesignerVerb(SR.TabControlAdd, new EventHandler(OnAdd))); 123throw new ArgumentException(string.Format(SR.TabControlInvalidTabPageType, tool.DisplayName)); 245t = host.CreateTransaction(string.Format(SR.TabControlAddTab, Component.Site.Name)); 340t = host.CreateTransaction(string.Format(SR.TabControlRemoveTab, ((IComponent)tp).Site.Name, Component.Site.Name));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (43)
66throw new ArgumentException(string.Format(SR.TableLayoutPanelDesignerInvalidColumnRowCount, "RowCount")); 82throw new ArgumentException(string.Format(SR.TableLayoutPanelDesignerInvalidColumnRowCount, "ColumnCount")); 132if (verb.Text.Equals(string.Format(SR.TableLayoutPanelDesignerEditRowAndCol))) 154Text = SR.TableLayoutPanelDesignerRowMenu 160Text = SR.TableLayoutPanelDesignerColMenu 169if (item.Text.Equals(SR.ContextMenuCut)) 171item.Text = SR.TableLayoutPanelDesignerContextMenuCut; 173else if (item.Text.Equals(SR.ContextMenuCopy)) 175item.Text = SR.TableLayoutPanelDesignerContextMenuCopy; 177else if (item.Text.Equals(SR.ContextMenuDelete)) 179item.Text = SR.TableLayoutPanelDesignerContextMenuDelete; 242_removeColVerb = new DesignerVerb(SR.TableLayoutPanelDesignerRemoveColumn, OnVerbRemove); 243_removeRowVerb = new DesignerVerb(SR.TableLayoutPanelDesignerRemoveRow, OnVerbRemove); 247_verbs.Add(new DesignerVerb(SR.TableLayoutPanelDesignerAddColumn, OnVerbAdd)); 248_verbs.Add(new DesignerVerb(SR.TableLayoutPanelDesignerAddRow, OnVerbAdd)); 251_verbs.Add(new DesignerVerb(SR.TableLayoutPanelDesignerEditRowAndCol, OnVerbEdit)); 316add.Text = SR.TableLayoutPanelDesignerAddMenu; 321insert.Text = SR.TableLayoutPanelDesignerInsertMenu; 326delete.Text = SR.TableLayoutPanelDesignerDeleteMenu; 331label.Text = SR.TableLayoutPanelDesignerLabelMenu; 332if (SR.TableLayoutPanelDesignerDontBoldLabel == "0") 339absolute.Text = SR.TableLayoutPanelDesignerAbsoluteMenu; 344percent.Text = SR.TableLayoutPanelDesignerPercentageMenu; 349autosize.Text = SR.TableLayoutPanelDesignerAutoSizeMenu; 403displayName: SR.TableLayoutPanelDesignerAddColumn, 407displayName: SR.TableLayoutPanelDesignerAddRow, 415displayName: SR.TableLayoutPanelDesignerRemoveColumn, 423displayName: SR.TableLayoutPanelDesignerRemoveRow, 429displayName: SR.TableLayoutPanelDesignerEditRowAndCol, 505trans = host.CreateTransaction(string.Format(SR.BehaviorServiceCopyControl, control.Site.Name)); 524trans = host.CreateTransaction(string.Format(SR.TableLayoutPanelDesignerControlsSwapped, control.Site.Name, existingControl.Site.Name)); 552trans = host.CreateTransaction(string.Format(SR.BehaviorServiceMoveControl, control.Site.Name)); 774uiService.ShowError(SR.TableLayoutPanelFullDesc); 786uiService.ShowError(SR.TableLayoutPanelSpanDesc); 1641? SR.TableLayoutPanelDesignerAddRowUndoUnit 1642: SR.TableLayoutPanelDesignerAddColumnUndoUnit, Table.Site.Name)); 1756isRow ? SR.TableLayoutPanelDesignerAddRowUndoUnit : SR.TableLayoutPanelDesignerAddColumnUndoUnit, 1879isRow ? SR.TableLayoutPanelDesignerRemoveRowUndoUnit : SR.TableLayoutPanelDesignerRemoveColumnUndoUnit, 1975using DesignerTransaction t = host.CreateTransaction(string.Format(SR.TableLayoutPanelDesignerChangeSizeTypeUndoUnit, Table.Site.Name)); 2066bool isRow = ((DesignerVerb)sender).Text.Equals(ReplaceText(SR.TableLayoutPanelDesignerRemoveRow)); 2073bool isRow = ((DesignerVerb)sender).Text.Equals(ReplaceText(SR.TableLayoutPanelDesignerAddRow));
System\Windows\Forms\Design\TabOrder.cs (1)
251_drawString.Append(SR.WindowsFormsTabOrderReadOnly);
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
40Text = SR.ToolStripItemContextMenuInsert, 69DesignerTransaction newItemTransaction = designerHost.CreateTransaction(SR.ToolStripAddingItem);
System\Windows\Forms\Design\TextBoxActionList.cs (3)
29string.Format(SR.MultiLineDisplayName, SR.PropertiesCategoryName, SR.MultiLineDescription)),
System\Windows\Forms\Design\ToolStripActionList.cs (13)
142SR.ToolStripDesignerEmbedVerb, 144SR.ToolStripDesignerEmbedVerbDesc, 155SR.ToolStripDesignerStandardItemsVerb, 157SR.ToolStripDesignerStandardItemsVerbDesc, 163SR.ToolStripActionList_RenderMode, 164SR.ToolStripActionList_Layout, 165SR.ToolStripActionList_RenderModeDesc)); 172SR.ToolStripActionList_Dock, 173SR.ToolStripActionList_Layout, 174SR.ToolStripActionList_DockDesc)); 181SR.ToolStripActionList_GripStyle, 182SR.ToolStripActionList_Layout, 183SR.ToolStripActionList_GripStyleDesc));
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (4)
913label?.Text = SR.ToolStripItemCollectionEditorLabelNone; 915e.Graphics.DrawString(SR.ToolStripItemCollectionEditorLabelNone, boldFont, SystemBrushes.WindowText, bounds, stringFormat); 920label?.Text = SR.ToolStripItemCollectionEditorLabelMultipleItems; 922e.Graphics.DrawString(SR.ToolStripItemCollectionEditorLabelMultipleItems, boldFont, SystemBrushes.WindowText, bounds, stringFormat);
System\Windows\Forms\Design\ToolStripDesigner.cs (12)
116throw new ArgumentException(SR.ToolStripAllowItemReorderAndAllowDropCannotBeSetToTrue); 133throw new ArgumentException(SR.ToolStripAllowItemReorderAndAllowDropCannotBeSetToTrue); 477NewItemTransaction = _host.CreateTransaction(SR.ToolStripCreatingNewItemTransaction); 530DesignerTransaction outerTransaction = _host.CreateTransaction(string.Format(SR.ToolStripAddingItem, t.Name)); 692_tn = new ToolStripTemplateNode(Component, SR.ToolStripDesignerTemplateNodeEnterText); 979_insertMenuItemTransaction = _pendingTransaction = _host.CreateTransaction(SR.ToolStripDesignerTransactionAddingItem); 1093_pendingTransaction = _host.CreateTransaction(SR.ToolStripDesignerTransactionRemovingItem); 1471new EditorServiceContext(this, TypeDescriptor.GetProperties(Component)[nameof(Items)], SR.ToolStripItemCollectionEditorVerb); 1891transDesc = string.Format(copy ? SR.BehaviorServiceCopyControl : SR.BehaviorServiceMoveControl, name); 1895transDesc = string.Format(copy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls, dragComponents.Count);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
408new EditorServiceContext(this, TypeDescriptor.GetProperties(Component)["Items"], SR.ToolStripItemCollectionEditorVerb);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (4)
666transDesc = string.Format(copy ? SR.BehaviorServiceCopyControl : SR.BehaviorServiceMoveControl, name); 670transDesc = string.Format(copy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls, dragComponents.Count);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (9)
122Text = SR.ToolStripItemContextMenuSetImage, 194Text = SR.ToolStripItemContextMenuConvertTo, 199Text = SR.ToolStripItemContextMenuInsert, 212_verbManager = new CollectionEditVerbManager(SR.ToolStripDropDownItemCollectionEditorVerb, itemDesigner, TypeDescriptor.GetProperties(_currentItem)["DropDownItems"], false); 215Text = SR.ToolStripDropDownItemCollectionEditorVerb 386DesignerTransaction newItemTransaction = designerHost.CreateTransaction(SR.ToolStripAddingItem); 437DesignerTransaction newItemTransaction = designerHost.CreateTransaction(SR.ToolStripAddingItem); 476DesignerTransaction newItemTransaction = designerHost.CreateTransaction(SR.ToolStripAddingItem); 516DesignerTransaction newItemTransaction = designerHost.CreateTransaction(SR.ToolStripAddingItem);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
342uiService.ShowError(SR.ToolStripSeparatorError); 370DesignerTransaction designerTransaction = designerHost.CreateTransaction(SR.ToolStripItemPropertyChangeTransaction); 723DesignerTransaction designerTransaction = host.CreateTransaction(SR.ToolStripMorphingItemTransaction);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (12)
126throw new ArgumentException(string.Format(SR.InvalidArgument, "DropDown", value.ToString())); 375_typeHereTemplateNode = new ToolStripTemplateNode(Component, SR.ToolStripDesignerTemplateNodeEnterText); 538DesignerTransaction designerTransaction = _designerHost.CreateTransaction(SR.ToolStripItemPropertyChangeTransaction); 791_newMenuItemTransaction ??= _designerHost.CreateTransaction(SR.ToolStripCreatingNewItemTransaction); 856DesignerTransaction outerTransaction = _designerHost.CreateTransaction(SR.ToolStripCreatingNewItemTransaction); 1857mainStripDesigner.InsertTransaction = _designerHost.CreateTransaction(SR.ToolStripInsertingIntoDropDownTransaction); 1866_insertMenuItemTransaction = _designerHost.CreateTransaction(SR.ToolStripInsertingIntoDropDownTransaction); 1981_pendingTransaction = _designerHost.CreateTransaction(SR.ToolStripDesignerTransactionRemovingItem); 2702transDesc = string.Format(copy ? SR.BehaviorServiceCopyControl : SR.BehaviorServiceMoveControl, name); 2706transDesc = string.Format(copy ? SR.BehaviorServiceCopyControls : SR.BehaviorServiceMoveControls, dragComponents.Count);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (7)
915_centerLabel.Text = SR.ToolStripDesignerTemplateNodeEnterText; 1332AccessibleDescription = SR.ToolStripDesignerTemplateNodeLabelToolTip, 1346_centerLabel.ToolTipText = SR.ToolStripDesignerTemplateNodeLabelToolTip; 1370_addItemButton.ToolTipText = SR.ToolStripDesignerTemplateNodeSplitButtonStatusStripToolTip; 1374_addItemButton.ToolTipText = SR.ToolStripDesignerTemplateNodeSplitButtonToolTip; 1394_addItemButton.AccessibleName = SR.ToolStripDesignerTemplateNodeSplitButtonStatusStripAccessibleName; 1601AccessibleName = SR.ToolStripDesignerToolStripAccessibleName;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (4)
155string baseNodeName = SR.BaseNodeName; 451_label2.Text = string.Format(SR.CollectionEditorProperties, _treeView1.SelectedNode.Text); 488_label2.Text = string.Format(SR.CollectionEditorProperties, node.Name.ToString()); 494_label2.Text = string.Format(SR.CollectionEditorPropertiesNone);
System\Windows\Forms\Design\TreeViewActionList.cs (6)
34SR.InvokeNodesDialogDisplayName, 35SR.PropertiesCategoryName, 36SR.InvokeNodesDialogDescription, 40SR.ImageListDisplayName, 41SR.PropertiesCategoryName, 42SR.ImageListDescription),