112 references to SR
System.Activities.Core.Presentation (112)
SR.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("System.Activities.Core.Presentation.SR", typeof(SR).Assembly);
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
278throw FxTrace.Exception.AsError(new NotSupportedException(SR.NotSupportedCaseKeyStringConversion));
System\Activities\Core\Presentation\DisplayNameConverter.cs (2)
22return SR.NullName; 26return SR.EmptyName;
System\Activities\Core\Presentation\DynamicActivityPropertyToTooltipConverter.cs (1)
27return string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, property.Name);
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
128errorMessage = SR.FCInvalidLink;
System\Activities\Core\Presentation\FlowchartDesigner.ModelChanges.cs (12)
36((IModelTreeItem)this.ModelItem).ModelTreeManager.CreateEditingScope(SR.FCDeleteLink)) 149errorMessage = SR.FCNextLinkDefined; 166errorMessage = SR.FCNextLinkDefined; 180errorMessage = SR.FCTrueBranchExists; 192errorMessage = SR.FCFalseBranchExists; 197errorMessage = SR.FCFlowConditionLinkError; 241FlowSwitchCaseEditorDialog editor = new FlowSwitchCaseEditorDialog(srcFlowElementMI, this.Context, this, SR.AddNewCase, typeArgument); 285using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.FCCreateLink)) 294errorMessage = SR.InvalidFlowSwitchCaseMessage; 302errorMessage = SR.FCInvalidLink; 325errorMessage = SR.FCInvalidLink; 358errorMessage = SR.FCInvalidLink;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (11)
799using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.FCLinkMove)) 1303errorMessage = SR.FCInvalidLink; 1328errorMessage = SR.FCInvalidLink; 1350errorMessage = SR.FCFlowConditionLinksExist; 1472using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.FCLinkMove)) 2003using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.ItemMove)) 2087using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.FCCreateLink)) 2280using (EditingScope scope = (EditingScope)this.ModelItem.BeginEdit(SR.AutoConnect, immediatelyCommit)) 2432using (EditingScope scope = (EditingScope)this.ModelItem.BeginEdit(SR.AutoSplit, immediatelyCommit)) 2671using (EditingScope es = (EditingScope)fcModelItem.BeginEdit(SR.AutoSplit, false)) 2736get { return SR.AutoSplit; }
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (1)
102using (ModelEditingScope scope = flowchartModelItem.BeginEdit(SR.FCResizeUndoUnitName))
System\Activities\Core\Presentation\FlowDecisionLabelFeature.cs (2)
17yield return new AttachedPropertyInfo<string> { PropertyName = "TrueLabel", DefaultValue = SR.FCFlowDecisionTrueMarker }; 18yield return new AttachedPropertyInfo<string> { PropertyName = "FalseLabel", DefaultValue = SR.FCFlowDecisionFalseMarker };
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (1)
190using (ModelEditingScope scope = this.ModelItem.BeginEdit(SR.FlowSwitchDefaultCaseDisplayNameEditingScopeDesc))
System\Activities\Core\Presentation\FlowSwitchLink.cs (8)
166using (EditingScope es = (EditingScope)this.flowSwitchModelItem.BeginEdit(SR.FlowSwitchCaseRenameEditingScopeDesc)) 180throw FxTrace.Exception.AsError(new InvalidOperationException(SR.DefaultCaseExists)); 187using (EditingScope es = (EditingScope)this.flowSwitchModelItem.BeginEdit(SR.FlowSwitchCaseRenameEditingScopeDesc)) 207FlowSwitchCaseEditorDialog editor = new FlowSwitchCaseEditorDialog(this.flowSwitchModelItem, ((WorkflowViewElement)this.flowSwitchModelItem.View).Context, this.flowSwitchModelItem.View, SR.ChangeCaseValue, this.flowSwitchModelItem.ItemType.GetGenericArguments()[0]); 221throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidFlowSwitchCaseMessage)); 282using (EditingScope es = (EditingScope)this.flowSwitchModelItem.BeginEdit(SR.FlowSwitchCaseRenameEditingScopeDesc)) 303throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidFlowSwitchCaseMessage)); 390using (ModelEditingScope scope = this.flowSwitchModelItem.BeginEdit(SR.FlowSwitchDefaultCaseDisplayNameEditingScopeDesc))
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (6)
202caseName = string.Format(CultureInfo.InvariantCulture, SR.CaseFormat, i); 307errorMessage = SR.InvalidFlowSwitchCaseMessage; 320errorMessage = SR.InvalidFlowSwitchCaseMessage; 333errorMessage = SR.InvalidFlowSwitchCaseMessage; 545reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key); 552reason = string.Format(CultureInfo.CurrentUICulture, SR.EqualityError, genericType.Name);
System\Activities\Core\Presentation\HintTextConverter.cs (1)
23return SR.AddActivityHintText;
System\Activities\Core\Presentation\InvokeDelegateDesigner.xaml.cs (1)
154using (ModelEditingScope change = collection.BeginEdit(SR.FillDelegateArguments))
System\Activities\Core\Presentation\InvokeDelegateValidationFeature.cs (9)
135this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyReferenceNotResolved, reference)); 141this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 147this.EmitValidationError(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAnActivityDelegate, reference)); 153this.EmitValidationWarning(context, string.Format(CultureInfo.CurrentUICulture, SR.PropertyIsNotAConcreteActivityDelegate, reference)); 161this.EmitValidationWarning(context, SR.WrongNumberOfArgumentsForActivityDelegate); 174errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentsDirectionalityMismatch, expectedArgument.Name, delegateArgument.Direction, expectedArgument.Direction); 183errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateInArgumentTypeMismatch, expectedArgument.Name, expectedArgument.Type, delegateArgument.ArgumentType); 190errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateOutArgumentTypeMismatch, expectedArgument.Name, expectedArgument.Type, delegateArgument.ArgumentType); 197errorBuilder.AppendFormat(CultureInfo.CurrentUICulture, SR.DelegateArgumentMissing, expectedArgument.Name);
System\Activities\Core\Presentation\ParallelSeparator.xaml.cs (1)
28SetValue(AutomationProperties.NameProperty, SR.ParallelSeparatorAutomationName);
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (7)
195errorMessage = SR.PasteTransitionOnNonStateItem; 201errorMessage = SR.PasteTransitionWithoutDestinationState; 209errorMessage = SR.PasteTransitionOnFinalState; 215errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, sourceState.DisplayName); 243errorMessage = string.Format(CultureInfo.CurrentUICulture, SR.PasteTransitionWithoutAvailableConnectionPoints, destinationStateItem.Properties["DisplayName"].Value); 283ShowMessageBox(SR.PasteTransitionWithoutDestinationState); 291ShowMessageBox(SR.PasteTransitionWithoutDestinationState);
System\Activities\Core\Presentation\StateContainerEditor.ModelChanges.cs (3)
54using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.ClearInitialState)) 164using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.CreateTransition)) 188using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.SetInitialState))
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (9)
75StringFormat = TransitionNameToolTip + Environment.NewLine + SR.EditTransitionTooltip + Environment.NewLine + SR.CopyTransitionToolTip 97startDot.ToolTip = string.Format(CultureInfo.InvariantCulture, TriggerNameToolTip, triggerName) + Environment.NewLine + SR.SharedTriggerToolTip; 490MessageBox.Show(message, SR.ErrorMessageBoxTitle, MessageBoxButton.OK, MessageBoxImage.Error); 498ShowMessageBox(SR.CannotCreateTransitionToCompositeState); 501ShowMessageBox(SR.CannotCreateTransitionFromAncestorToDescendant); 504ShowMessageBox(SR.CannotSetCompositeStateAsInitialState); 507ShowMessageBox(SR.CannotSetFinalStateAsInitialState); 510ShowMessageBox(SR.CannotCreateLink);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (10)
761AutomationProperties.SetName(connector, SR.ConnectionAutomationPropertiesName); 1266connectionPointsAdorner.ToolTip = SR.TransitionConnectionPointTooltip; 1270connectionPointsAdorner.ToolTip = SR.InitialStateConnectionPointTooltip; 1576using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.MoveLink)) 2099using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.ItemMove)) 2249using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.ItemMove)) 2330using (EditingScope scope = (EditingScope)this.ModelItem.BeginEdit(SR.AutoConnect, immediatelyCommit)) 2348using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.AutoConnect, false)) 2507public override string Description { get { return SR.AutoConnect; } } 2616using (EditingScope scope = (EditingScope)this.ModelItem.BeginEdit(SR.AutoSplit, immediatelyCommit))
System\Activities\Core\Presentation\StateContainerResizeGrip.cs (2)
68undoItemName = SR.StateMachineResize; 72undoItemName = SR.StateResize;
System\Activities\Core\Presentation\StateDesigner.xaml.cs (4)
145using (EditingScope es = (EditingScope)this.ModelItem.BeginEdit(SR.SetInitialState)) 236stateContainerEditor.ToolTip = SR.EditStateToolTip + Environment.NewLine + SR.PasteTransitionToolTip; 242stateContainerEditor.ToolTip = SR.EditStateToolTip;
System\Activities\Core\Presentation\StateLinkButtonToolTipConverter.cs (1)
23return string.Format(CultureInfo.CurrentUICulture, SR.StateLinkButtonToolTip, stateOrTransitionName);
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
112reason = string.Format(CultureInfo.CurrentCulture, SR.DuplicateCaseKey, key);
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (3)
255using (EditingScope scope = (EditingScope)this.ModelItem.BeginEdit(SR.ReorderItems)) 448using (EditingScope editingScope = (EditingScope)this.ModelItem.BeginEdit(SR.CreateTransition)) 532SR.EmptyName :
System\Activities\Presentation\TypeCollectionPropertyEditor.cs (1)
69using (var commitEditingScope = inputData.BeginEdit(System.Activities.Core.Presentation.SR.ChangeTypeCollectionEditingScopeDesc))
System\ServiceModel\Activities\Presentation\ContentButtonTitleConverter.cs (3)
24return SR.DefineContent; 31return SR.ViewMessageContent; 35return SR.ViewParameterContent;
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (2)
151ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.NullOrEmptyKeyName)); 162ErrorReporting.ShowErrorMessage(string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, newKey));
System\ServiceModel\Activities\Presentation\CorrelationInitializerDesigner.xaml.cs (1)
244errors.Add(System.Activities.Core.Presentation.SR.CorrelationInitializerNotSupported);
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (2)
322errors.Add(System.Activities.Core.Presentation.SR.NullOrEmptyKeyName); 329errors.Add(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.DuplicateKeyName, name));
System\ServiceModel\Activities\Presentation\ReceiveDesigner.xaml.cs (1)
165ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(SendReply).Name));
System\ServiceModel\Activities\Presentation\ReceiveReplyValidationFeature.cs (1)
86Message = new InArgument<string>(ctx => string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.UnrootedRequestInReceiveReply, receiveReply.Get(ctx).DisplayName))
System\ServiceModel\Activities\Presentation\SendDesigner.xaml.cs (1)
168ErrorReporting.ShowAlertMessage(string.Format(CultureInfo.CurrentUICulture, System.Activities.Core.Presentation.SR.CannotPasteSendReplyOrReceiveReply, typeof(ReceiveReply).Name));
System\ServiceModel\Activities\Presentation\SendReplyValidationFeature.cs (1)
86Message = new InArgument<string>(ctx => string.Format(CultureInfo.CurrentCulture, System.Activities.Core.Presentation.SR.UnrootedRequestInSendReply, sendReply.Get(ctx).DisplayName))