544 references to DR
System.Workflow.ComponentModel (544)
AuthoringOM\Behaviors\ExceptionHandlersDesigner.cs (2)
23
HelpText =
DR
.GetString(
DR
.DropExceptionsHere);
AuthoringOM\Design\ActivityDesigner.cs (28)
354
this.designerVerbs.Add(new ActivityDesignerVerb(this, DesignerVerbGroup.General,
DR
.GetString(
DR
.GenerateEventHandlers), new EventHandler(OnGenerateEventHandler), new EventHandler(OnGenerateEventHandlerStatusUpdate)));
359
this.designerVerbs.Add(new ActivityDesignerVerb(this, DesignerVerbGroup.General,
DR
.GetString(
DR
.PromoteBindings), new EventHandler(OnPromoteBindings), new EventHandler(OnPromoteBindingsStatusUpdate)));
361
this.designerVerbs.Add(new ActivityDesignerVerb(this, DesignerVerbGroup.General,
DR
.GetString(
DR
.BindSelectedProperty), new EventHandler(OnBindProperty), new EventHandler(OnBindPropertyStatusUpdate)));
363
ActivityDesignerVerb designerVerb = new ActivityDesignerVerb(this, DesignerVerbGroup.General,
DR
.GetString(
DR
.MoveLeftDesc), new EventHandler(OnMoveBranch), new EventHandler(OnStatusMoveBranch));
367
designerVerb = new ActivityDesignerVerb(this, DesignerVerbGroup.General,
DR
.GetString(
DR
.MoveRightDesc), new EventHandler(OnMoveBranch), new EventHandler(OnStatusMoveBranch));
769
title =
DR
.GetString(
DR
.InfoTipTitle, Activity.GetType().Name, activityName);
799
this.rulesText =
DR
.GetString(
DR
.Rules);
812
ruleDescription =
DR
.GetString(
DR
.Empty);
820
this.rulesText += "\n\n" +
DR
.GetString(
DR
.More);
2223
verb.Properties["Text"] = (propertyName != null && verb.Enabled) ? string.Format(CultureInfo.CurrentCulture,
DR
.GetString(
DR
.BindSelectedPropertyFormat), propertyName) :
DR
.GetString(
DR
.BindSelectedProperty);
2317
throw new ArgumentException(
DR
.GetString(
DR
.Error_InvalidActivity), "component");
2565
throw new Exception(
DR
.GetString(
DR
.ActivityInsertError) + "\n" + ex.Message, ex);
3028
private static Image defaultImage =
DR
.GetImage(
DR
.SmartTag);
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (8)
48
throw new ArgumentException(
DR
.GetString(
DR
.DesignerNotInitialized), "activityDesigner");
65
return
DR
.GetString(
DR
.AccessibleAction);
73
return
DR
.GetString(
DR
.ActivityDesignerAccessibleDescription, this.activityDesigner.Activity.GetType().Name);
81
return
DR
.GetString(
DR
.ActivityDesignerAccessibleHelp, this.activityDesigner.Activity.GetType().Name);
AuthoringOM\Design\ActivityPreviewDesigner.cs (10)
59
this.previewStrip.HelpText =
DR
.GetString(
DR
.DropActivitiesHere);
270
DesignerVerb verb = new ActivityDesignerVerb(this, DesignerVerbGroup.View,
DR
.GetString(
DR
.ViewPreviousActivity), new EventHandler(OnViewActivity), new EventHandler(OnViewActivityStatusUpdate));
273
verb = new ActivityDesignerVerb(this, DesignerVerbGroup.View,
DR
.GetString(
DR
.ViewNextActivity), new EventHandler(OnViewActivity), new EventHandler(OnViewActivityStatusUpdate));
279
verb = new ActivityDesignerVerb(this, DesignerVerbGroup.Edit,
DR
.GetString(
DR
.PreviewActivity), new EventHandler(OnChangePreviewMode), new EventHandler(OnPreviewModeStatusUpdate));
282
verb = new ActivityDesignerVerb(this, DesignerVerbGroup.Edit,
DR
.GetString(
DR
.EditActivity), new EventHandler(OnChangePreviewMode), new EventHandler(OnPreviewModeStatusUpdate));
AuthoringOM\Design\CommandSet.cs (42)
112
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom400Mode,
DR
.GetString(
DR
.Zoom400Mode)),
113
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom300Mode,
DR
.GetString(
DR
.Zoom300Mode)),
114
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom200Mode,
DR
.GetString(
DR
.Zoom200Mode)),
115
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom150Mode,
DR
.GetString(
DR
.Zoom150Mode)),
116
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom100Mode,
DR
.GetString(
DR
.Zoom100Mode)),
117
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom75Mode,
DR
.GetString(
DR
.Zoom75Mode)),
118
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.Zoom50Mode,
DR
.GetString(
DR
.Zoom50Mode)),
119
new CommandSetItem(new EventHandler(OnStatusZoom), new EventHandler(OnZoom), WorkflowMenuCommands.ShowAll,
DR
.GetString(
DR
.ZoomShowAll)),
728
DesignerHelpers.ShowError(this.serviceProvider,
DR
.GetString(
DR
.ThereIsNoPrinterInstalledErrorMessage));
740
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.BMPImageFormat), ImageFormat.Bmp));
741
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.JPEGImageFormat), ImageFormat.Jpeg));
742
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.PNGImageFormat), ImageFormat.Png));
743
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.TIFFImageFormat), ImageFormat.Tiff));
744
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.WMFImageFormat), ImageFormat.Wmf));
745
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.EXIFImageFormat), ImageFormat.Exif));
746
supportedFormats.Add(new SupportedImageFormats(
DR
.GetString(
DR
.EMFImageFormat), ImageFormat.Emf));
749
saveFileDialog.Title =
DR
.GetString(
DR
.SaveWorkflowImageDialogTitle);
773
DesignerHelpers.ShowError(this.serviceProvider,
DR
.GetString(
DR
.ThereIsNoPrinterInstalledErrorMessage));
812
string errorString =
DR
.GetString(
DR
.SelectedPrinterIsInvalidErrorMessage);
902
throw new Exception(
DR
.GetString(
DR
.ActivityInsertError) + "\n" + ex.Message, ex);
906
throw new InvalidOperationException(
DR
.GetString(
DR
.InvalidOperationBadClipboardFormat));
AuthoringOM\Design\ComponentSerializationService.cs (6)
166
throw new InvalidOperationException(
DR
.GetString(
DR
.InvalidOperationStoreAlreadyClosed));
182
throw new InvalidOperationException(
DR
.GetString(
DR
.InvalidOperationStoreAlreadyClosed));
214
throw new InvalidOperationException(
DR
.GetString(
DR
.InvalidOperationDeserializationReturnedNonActivity));
AuthoringOM\Design\Connector.cs (6)
77
throw new ArgumentException(
DR
.GetString(
DR
.Error_ConnectionPoint), "connectionIndex");
218
throw new ArgumentException(
DR
.GetString(
DR
.Error_Connector1));
1848
throw new ArgumentException(
DR
.GetString(
DR
.Error_Connector2));
AuthoringOM\Design\DesignerHelpers.cs (6)
1429
DesignerHelpers.ShowError(serviceProvider,
DR
.GetString(
DR
.NoHelpAvailable));
1434
ShowMessage(serviceProvider, message,
DR
.GetString(
DR
.WorkflowDesignerTitle), MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
1449
ShowMessage(serviceProvider, message,
DR
.GetString(
DR
.WorkflowDesignerTitle), MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
AuthoringOM\Design\DesignerResources.cs (2)
236
string str =
DR
.resourceManager.GetString(resID, culture);
245
Image image =
DR
.resourceManager.GetObject(resID) as Image;
AuthoringOM\Design\DesignerWidgets.cs (42)
1451
throw new ArgumentException(
DR
.GetString(
DR
.InvalidDockingStyle, "dockStyle"));
2050
throw new ArgumentException(
DR
.GetString(
DR
.Error_TabExistsWithSameId));
2070
throw new ArgumentException(
DR
.GetString(
DR
.ButtonInformationMissing));
2082
throw new ArgumentException(
DR
.GetString(
DR
.ButtonInformationMissing));
2099
throw new ArgumentException(
DR
.GetString(
DR
.ButtonInformationMissing));
2964
return
DR
.GetString(
DR
.AccessibleAction);
2975
description =
DR
.GetString(
DR
.LeftScrollButtonAccessibleDescription);
2979
description =
DR
.GetString(
DR
.RightScrollButtonAccessibleDescription);
2985
description =
DR
.GetString(
DR
.ActivityDesignerAccessibleDescription, activityDesigner.Activity.GetType().Name);
2999
help =
DR
.GetString(
DR
.LeftScrollButtonAccessibleHelp);
3003
help =
DR
.GetString(
DR
.RightScrollButtonAccessibleHelp);
3009
help =
DR
.GetString(
DR
.ActivityDesignerAccessibleHelp, activityDesigner.Activity.GetType().Name);
3023
name =
DR
.GetString(
DR
.LeftScrollButtonName);
3027
name =
DR
.GetString(
DR
.RightScrollButtonName);
3445
string previewDescription =
DR
.GetString(
DR
.SelectActivityDesc);
3514
string previewModeDescription = (PreviewMode) ?
DR
.GetString(
DR
.PreviewMode) :
DR
.GetString(
DR
.EditMode);
3607
return
DR
.GetString(
DR
.AccessibleAction);
3615
return
DR
.GetString(
DR
.PreviewButtonAccessibleDescription);
3623
return
DR
.GetString(
DR
.PreviewButtonAccessibleHelp);
3631
return
DR
.GetString(
DR
.PreviewButtonName);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (28)
424
error =
DR
.GetString(
DR
.ThemeNameNotValid);
431
error =
DR
.GetString(
DR
.ThemePathNotValid);
441
error =
DR
.GetString(
DR
.ThemePathNotValid);
451
error =
DR
.GetString(
DR
.ThemePathNotValid);
458
error =
DR
.GetString(
DR
.ThemeFileNotXml);
490
if (DialogResult.No == DesignerHelpers.ShowMessage(this.serviceProvider,
DR
.GetString(
DR
.UpdateRelativePaths),
DR
.GetString(
DR
.WorkflowDesignerTitle), MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1))
506
this.bufferedTheme.Description =
DR
.GetString(
DR
.ThemeDescription);
513
DesignerHelpers.ShowError(this.serviceProvider,
DR
.GetString(
DR
.ThemeFileCreationError));
595
fileDialog.Filter =
DR
.GetString(
DR
.ThemeFileFilter);
619
this.previewButton.Text =
DR
.GetString(
DR
.Preview) + " <<";
624
this.previewButton.Text =
DR
.GetString(
DR
.Preview) + " >>";
678
TreeNode workflowNode = new TreeNode(
DR
.GetString(
DR
.WorkflowDesc));
737
Image standardImage =
DR
.GetImage(
DR
.Activity) as Image;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (10)
111
throw new Exception(
DR
.GetString(
DR
.Error_WorkflowNotLoaded));
706
fileDialog.Title =
DR
.GetString(
DR
.OpenfileDialogTitle);
713
fileDialog.Filter =
DR
.GetString(
DR
.PackageAssemblyReferenceFilter);
726
string errorMessage = (exception is ReflectionTypeLoadException || (exception.InnerException != null && exception.InnerException is ReflectionTypeLoadException)) ?
DR
.GetString(
DR
.TypeBrowser_UnableToLoadOneOrMoreTypes) :
DR
.GetString(
DR
.TypeBrowser_ProblemsLoadingAssembly);
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (28)
107
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowPrintDocumentNotFound, typeof(WorkflowPrintDocument).Name));
146
this.headerFooterNone =
DR
.GetString(
DR
.HeaderFooterStringNone); //"(none)"
147
this.headerFooterCustom =
DR
.GetString(
DR
.HeaderFooterStringCustom); //"(none)"
149
DR
.GetString(
DR
.HeaderFooterFormat1), //"Page %Page%",//
150
DR
.GetString(
DR
.HeaderFooterFormat2), //"Page %Page% of %Pages%",//
151
DR
.GetString(
DR
.HeaderFooterFormat3), //"%Path%%File, Page %Page% of %Pages%", //
152
DR
.GetString(
DR
.HeaderFooterFormat4), //"%Path%%File, Page %Page%",//
153
DR
.GetString(
DR
.HeaderFooterFormat5), //"%File, %Date% %Time%, Page %Page%",//
154
DR
.GetString(
DR
.HeaderFooterFormat6), //"%File, Page %Page% of %Pages%",//
155
DR
.GetString(
DR
.HeaderFooterFormat7), //"%File, Page %Page%",//
156
DR
.GetString(
DR
.HeaderFooterFormat8), //"Prepated by %User% %Date%",//
157
DR
.GetString(
DR
.HeaderFooterFormat9), //"%User%, Page %Page%, %Date%"//
1057
string errorString =
DR
.GetString(
DR
.SelectedPrinterIsInvalidErrorMessage);
1083
string errorString =
DR
.GetString(
DR
.EnteredMarginsAreNotValidErrorMessage);
AuthoringOM\Design\FreeFormDesigner.cs (20)
435
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_AddConnector1));
439
throw new ArgumentException(
DR
.GetString(
DR
.Error_AddConnector2));
445
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_AddConnector3));
484
throw new ArgumentException(
DR
.GetString(
DR
.InvalidDesignerSpecified, "containedDesigner"));
500
throw new ArgumentException(
DR
.GetString(
DR
.InvalidDesignerSpecified, "containedDesigner"));
516
throw new ArgumentException(
DR
.GetString(
DR
.InvalidDesignerSpecified, "containedDesigner"));
535
throw new ArgumentException(
DR
.GetString(
DR
.InvalidDesignerSpecified, "containedDesigner"));
1183
transaction = designerHost.CreateTransaction(
DR
.GetString(
DR
.ZOrderUndoDescription, activityDesigner.Text));
1397
ActivityDesignerVerb verb = new ActivityDesignerVerb(activityDesigner, DesignerVerbGroup.Actions,
DR
.GetString(
DR
.BringToFront), new EventHandler(OnZOrderChanged), new EventHandler(OnZOrderStatusUpdate));
1400
verb = new ActivityDesignerVerb(activityDesigner, DesignerVerbGroup.Actions,
DR
.GetString(
DR
.SendToBack), new EventHandler(OnZOrderChanged), new EventHandler(OnZOrderStatusUpdate));
AuthoringOM\Design\MessageFilters\DragDropManager.cs (8)
546
string errorMessage =
DR
.GetString(
DR
.Error_FailedToDeserializeComponents);
547
errorMessage += "\r\n" +
DR
.GetString(
DR
.Error_Reason, dragDropException);
659
image =
DR
.GetImage(
DR
.Activities) as Bitmap;
660
description =
DR
.GetString(
DR
.ActivitiesDesc);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (14)
30
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowViewNull));
48
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowViewNull));
78
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowViewNull));
119
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowViewNull));
237
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowViewNull));
246
this.designerTransaction = designerHost.CreateTransaction(
DR
.GetString(
DR
.ResizeUndoDescription, designer.Text));
272
throw new InvalidOperationException(
DR
.GetString(
DR
.WorkflowViewNull));
AuthoringOM\Design\ParallelActivityDesigner.cs (4)
108
this.designerVerbs.Add(new ActivityDesignerVerb(this, DesignerVerbGroup.General,
DR
.GetString(
DR
.AddBranch), new EventHandler(OnAddBranch), new EventHandler(OnStatusAddBranch)));
472
CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, compositeActivity.Activities.Count), new List<Activity>(new Activity[] { branchActivity }).AsReadOnly(),
DR
.GetString(
DR
.AddingBranch, branchActivity.GetType().Name));
AuthoringOM\Design\SecondaryViewProvider.cs (10)
48
viewTypes.Add(new object[] { designer.Activity.GetType(),
DR
.GetString(
DR
.ViewActivity, displayName) });
59
viewTypes.Add(new object[] { typeof(CancellationHandlerActivity),
DR
.GetString(
DR
.ViewCancelHandler) });
64
viewTypes.Add(new object[] { typeof(FaultHandlersActivity),
DR
.GetString(
DR
.ViewExceptions) });
69
viewTypes.Add(new object[] { typeof(CompensationHandlerActivity),
DR
.GetString(
DR
.ViewCompensation) });
74
viewTypes.Add(new object[] { Type.GetType(EventHandlersRef),
DR
.GetString(
DR
.ViewEvents) });
AuthoringOM\Design\SequenceDesignerAccessibleObject.cs (8)
115
return
DR
.GetString(
DR
.AccessibleAction);
123
return
DR
.GetString(
DR
.ConnectorAccessibleDescription, this.connectorHitInfo.GetType().Name);
131
return
DR
.GetString(
DR
.ConnectorAccessibleHelp, this.connectorHitInfo.GetType().Name);
139
return
DR
.GetString(
DR
.ConnectorDesc, this.connectorHitInfo.MapToIndex().ToString(CultureInfo.InvariantCulture), Parent.Name);
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
386
HelpText =
DR
.GetString(
DR
.DropActivitiesHere);
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (4)
40
private static readonly Image HeaderImage =
DR
.GetImage(
DR
.StartWorkflow);
41
private static readonly Image FooterImage =
DR
.GetImage(
DR
.EndWorkflow);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (2)
279
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_MultiviewSequentialActivityDesigner));
AuthoringOM\Design\Themes.cs (212)
168
private string description =
DR
.GetString(
DR
.DefaultThemeDescription);
328
string tempThemePath = Path.Combine(path,
DR
.GetString(
DR
.MyFavoriteTheme) + ".wtm");
331
tempThemePath = Path.Combine(path,
DR
.GetString(
DR
.MyFavoriteTheme) + i.ToString(CultureInfo.InvariantCulture) + ".wtm");
442
standardThemes.Add(ThemeType.Default, new string[] {
DR
.GetString(
DR
.DefaultTheme),
DR
.GetString(
DR
.DefaultThemeDescription) });
443
standardThemes.Add(ThemeType.System, new string[] {
DR
.GetString(
DR
.OSTheme),
DR
.GetString(
DR
.SystemThemeDescription) });
496
throw new ArgumentException(
DR
.GetString(
DR
.ThemePathNotValid), "themeFilePath");
583
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
599
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
615
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
633
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
704
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_ThemeAttributeMissing, designerType.FullName));
707
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_ThemeTypeMissing, designerType.FullName));
737
((IDesignerSerializationManager)serializationManager).ReportError(new WorkflowMarkupSerializationException(
DR
.GetString(
DR
.ThemeTypesMismatch, new object[] { themeAttrib.DesignerThemeType.FullName, designerTheme.GetType().FullName })));
900
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
917
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1059
[SRDescription("ImageDesc",
DR
.ResourceSet)]
1060
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1072
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1079
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_InvalidImageResource));
1092
[SRDescription("ForeColorDesc",
DR
.ResourceSet)]
1093
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1106
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1125
[SRDescription("BorderColorDesc",
DR
.ResourceSet)]
1126
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1139
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1151
[SRDescription("BorderStyleDesc",
DR
.ResourceSet)]
1152
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1164
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1167
throw new Exception(
DR
.GetString(
DR
.CustomStyleNotSupported));
1179
[SRDescription("BackColorStartDesc",
DR
.ResourceSet)]
1180
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1193
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1205
[SRDescription("BackColorEndDesc",
DR
.ResourceSet)]
1206
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1219
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1231
[SRDescription("BackgroundStyleDesc",
DR
.ResourceSet)]
1232
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1243
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1487
[SRDescription("WatermarkDesc",
DR
.ResourceSet)]
1488
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1500
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1507
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_InvalidImageResource));
1521
[SRDescription("WatermarkAlignmentDesc",
DR
.ResourceSet)]
1522
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1533
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1541
[SRDescription("DropShadowDesc",
DR
.ResourceSet)]
1542
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1553
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1561
[SRDescription("ConnectorStartCapDesc",
DR
.ResourceSet)]
1562
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1573
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1581
[SRDescription("ConnectorEndCapDesc",
DR
.ResourceSet)]
1582
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1593
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1676
internal static readonly Bitmap LeftScrollImage =
DR
.GetImage(
DR
.MoveLeft) as Bitmap;
1677
internal static readonly Bitmap LeftScrollImageUp =
DR
.GetImage(
DR
.MoveLeftUp) as Bitmap;
1678
internal static readonly Bitmap RightScrollImage =
DR
.GetImage(
DR
.MoveRight) as Bitmap;
1679
internal static readonly Bitmap RightScrollImageUp =
DR
.GetImage(
DR
.MoveRightUp) as Bitmap;
1680
internal static readonly Bitmap PreviewButtonImage =
DR
.GetImage(
DR
.PreviewModeIcon) as Bitmap;
1681
internal static readonly Bitmap EditButtonImage =
DR
.GetImage(
DR
.EditModeIcon) as Bitmap;
1682
internal static readonly Bitmap PreviewImage =
DR
.GetImage(
DR
.PreviewIndicator) as Bitmap;
1744
[SRDescription("PreviewForeColorDesc",
DR
.ResourceSet)]
1745
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1758
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1770
[SRDescription("PreviewBackColorDesc",
DR
.ResourceSet)]
1771
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
1784
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1796
[SRDescription("PreviewBorderColorDesc",
DR
.ResourceSet)]
1797
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
1810
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
1930
internal static readonly Image ConfigErrorImage =
DR
.GetImage(
DR
.ConfigError);
1931
internal static readonly Image ScrollIndicatorImage =
DR
.GetImage(
DR
.ArrowLeft);
1932
internal static readonly Image DropIndicatorImage =
DR
.GetImage(
DR
.DropShapeShort);
1933
internal static readonly Image LockImage =
DR
.GetImage(
DR
.PreviewIndicator);
1934
internal static readonly Image ReadOnlyImage =
DR
.GetImage(
DR
.ReadOnly);
2195
[SRDescription("FontDesc",
DR
.ResourceSet)]
2196
[SRCategory("WorkflowAppearanceCategory",
DR
.ResourceSet)]
2208
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2211
throw new Exception(
DR
.GetString(
DR
.EmptyFontFamilyNotSupported));
2221
throw new Exception(
DR
.GetString(
DR
.FontFamilyNotSupported, value), e);
2241
[SRDescription("TextQualityDesc",
DR
.ResourceSet)]
2242
[SRCategory("WorkflowAppearanceCategory",
DR
.ResourceSet)]
2253
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2261
[SRDescription("ShowConfigErrorDesc",
DR
.ResourceSet)]
2262
[SRCategory("WorkflowAppearanceCategory",
DR
.ResourceSet)]
2273
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2281
[SRDescription("GrayscaleWorkflowDesc",
DR
.ResourceSet)]
2282
[SRCategory("WorkflowAppearanceCategory",
DR
.ResourceSet)]
2293
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2302
[SRDescription("DropHiliteDesc",
DR
.ResourceSet)]
2303
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
2316
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2335
[SRDescription("SelectionForegroundDesc",
DR
.ResourceSet)]
2336
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
2349
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2368
[SRDescription("SelectionPatternDesc",
DR
.ResourceSet)]
2369
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
2382
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2395
[SRDescription("WorkflowForegroundDesc",
DR
.ResourceSet)]
2396
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
2409
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2428
[SRDescription("CommentColorDesc",
DR
.ResourceSet)]
2429
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
2442
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2461
[SRDescription("LockColorDesc",
DR
.ResourceSet)]
2462
[SRCategory("ForegroundCategory",
DR
.ResourceSet)]
2475
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2490
[SRDescription("WorkflowBackgroundDesc",
DR
.ResourceSet)]
2491
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
2504
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2518
[SRDescription("WorkflowShadowDesc",
DR
.ResourceSet)]
2519
[SRCategory("WorkflowAppearanceCategory",
DR
.ResourceSet)]
2530
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2538
[SRDescription("WorkflowWatermarkDesc",
DR
.ResourceSet)]
2539
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
2551
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2558
throw new InvalidOperationException(
DR
.GetString(
DR
.Error_InvalidImageResource));
2572
[SRDescription("WatermarkAlignmentDesc",
DR
.ResourceSet)]
2573
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
2584
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2592
[SRDescription("ShowGridDesc",
DR
.ResourceSet)]
2593
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
2604
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2612
[SRDescription("GridStyleDesc",
DR
.ResourceSet)]
2613
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
2624
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2643
[SRDescription("GridColorDesc",
DR
.ResourceSet)]
2644
[SRCategory("BackgroundCategory",
DR
.ResourceSet)]
2657
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2697
[SRDescription("DesignerSizeDesc",
DR
.ResourceSet)]
2698
[SRCategory("ActivityAppearanceCategory",
DR
.ResourceSet)]
2709
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2718
[SRDescription("DrawRoundedDesignersDesc",
DR
.ResourceSet)]
2719
[SRCategory("ActivityAppearanceCategory",
DR
.ResourceSet)]
2730
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
2738
[SRDescription("DesignerBorderDesc",
DR
.ResourceSet)]
2739
[SRCategory("ActivityAppearanceCategory",
DR
.ResourceSet)]
2750
throw new InvalidOperationException(
DR
.GetString(
DR
.ThemePropertyReadOnly));
3299
fileDialog.Filter =
DR
.GetString(
DR
.ImageFileFilter);
AuthoringOM\Design\WorkflowInlining.cs (6)
347
HelpText =
DR
.GetString(
DR
.SpecifyTargetWorkflow);
475
HelpText =
DR
.GetString(
DR
.BuildTargetWorkflow);
477
HelpText =
DR
.GetString(
DR
.SpecifyTargetWorkflow);
AuthoringOM\Design\WorkflowPrinting.cs (4)
101
DesignerHelpers.ShowError(this.workflowView,
DR
.GetString(
DR
.SelectedPrinterIsInvalidErrorMessage));
197
DesignerHelpers.ShowError(this.workflowView,
DR
.GetString(
DR
.SelectedPrinterIsInvalidErrorMessage) + "\n" + exception.Message);
AuthoringOM\Design\WorkflowView.cs (28)
342
throw new NotSupportedException(
DR
.GetString(
DR
.ZoomLevelException2, AmbientTheme.MinZoom, AmbientTheme.MaxZoom));
423
throw new NotSupportedException(
DR
.GetString(
DR
.ShadowDepthException, AmbientTheme.MinShadowDepth, AmbientTheme.MaxShadowDepth));
495
DesignerHelpers.ShowError(this,
DR
.GetString(
DR
.ThereIsNoPrinterInstalledErrorMessage));
649
Bitmap tabImage =
DR
.GetImage(tabButtonInfo[i, 1]) as Bitmap;
650
string buttonCaption =
DR
.GetString(tabButtonInfo[i, 0]);
734
throw new ArgumentNullException(
DR
.GetString(
DR
.Error_WorkflowLayoutNull));
1850
ActionButton fitallButton = new ActionButton(new Image[] {
DR
.GetImage(
DR
.FitToScreen) as Bitmap });
1866
this.fitAllAction.Buttons[0].Description =
DR
.GetString(
DR
.FitToScreenDescription);
1867
this.fitAllAction.Buttons[0].StateImages = new Bitmap[] {
DR
.GetImage(
DR
.FitToScreen) as Bitmap };
1873
this.fitAllAction.Buttons[0].Description =
DR
.GetString(
DR
.FitToWorkflowDescription);
1874
this.fitAllAction.Buttons[0].StateImages = new Bitmap[] {
DR
.GetImage(
DR
.FitToWorkflow) as Bitmap };
2271
return
DR
.GetString(
DR
.AccessibleAction);
2279
return
DR
.GetString(
DR
.WorkflowViewAccessibleDescription);
2287
return
DR
.GetString(
DR
.WorkflowViewAccessibleHelp);
2295
return
DR
.GetString(
DR
.WorkflowViewAccessibleName);
AuthoringOM\Design\XomlDesignerLoader.cs (4)
892
valueUIItemList.Add(new PropertyValueUIItem(
DR
.GetImage(
DR
.Bind), OnBindProperty,
DR
.GetString(
DR
.BindProperty)));