DesignerResources.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Design / DesignerResources.cs / 1305376 / DesignerResources.cs

                            #region Using Directives 
using System;
using System.Resources;
using System.Drawing;
using System.Globalization; 
#endregion
 
namespace System.Workflow.ComponentModel.Design 
{
 	#region Class DesignerResources (DR) 
	internal static class DR
	{
		internal const string ResourceSet = "System.Workflow.ComponentModel.Design.DesignerResources";
 		private static ResourceManager resourceManager = new ResourceManager(ResourceSet, System.Reflection.Assembly.GetExecutingAssembly()); 

		internal const string ViewPreviousActivity = "ViewPreviousActivity"; 
 		internal const string ViewNextActivity = "ViewNextActivity"; 
 		internal const string PreviewActivity = "PreviewActivity";
		internal const string EditActivity = "EditActivity"; 
 		internal const string GenerateEventHandlers = "GenerateEventHandlers";
		internal const string PromoteBindings = "PromoteBindings";
        internal const string BindSelectedProperty = "BindSelectedProperty";
		internal const string BindSelectedPropertyFormat = "BindSelectedPropertyFormat"; 
        internal const string BindProperty = "BindProperty";
        internal const string PackageFileInvalid = "PackageFileInvalid"; 
        internal const string PackageFileInvalidChars = "PackageFileInvalidChars"; 
        internal const string PackageFileDefault = "PackageFileDefault";
		internal const string PackageInvalidValidatorType = "PackageInvalidValidatorType"; 
 		internal const string PackageFileExist = "PackageFileExist";
		internal const string OpenfileDialogTitle = "OpenfileDialogTitle";
 		internal const string PackageAssemblyReferenceFilter = "PackageAssemblyReferenceFilter";
 		internal const string CreatePackageTitle = "CreatePackageTitle"; 
		internal const string ActivitySetDefaultName = "ActivitySetDefaultName";
        internal const string ActivitySetNoName = "ActivitySetNoName"; 
        internal const string ActivitySetNoActivity = "ActivitySetNoActivity"; 
        internal const string ModifyPackageTitle = "ModifyPackageTitle";
        internal const string ViewPackageTitle = "ViewPackageTitle"; 
 		internal const string ErrorInitPackage = "ErrorInitPackage";
		internal const string CheckAll = "CheckAll";
        internal const string NoHelpAvailable = "NoHelpAvailable";
        internal const string ActivitySetDefaultFileName = "ActivitySetDefaultFileName"; 
		internal const string TypeInvalid = "TypeInvalid";
		internal const string FilterDescription = "FilterDescription"; 
 		internal const string Zoom400Mode = "Zoom400Mode"; 
		internal const string Zoom300Mode = "Zoom300Mode";
 		internal const string Zoom200Mode = "Zoom200Mode"; 
 		internal const string Zoom150Mode = "Zoom150Mode";
		internal const string Zoom100Mode = "Zoom100Mode";
 		internal const string Zoom75Mode = "Zoom75Mode";
		internal const string Zoom50Mode = "Zoom50Mode"; 
		internal const string ZoomShowAll = "ZoomShowAll";
		internal const string ActivityInsertError = "ActivityInsertError"; 
 		internal const string InvalidOperationBadClipboardFormat = "InvalidOperationBadClipboardFormat"; 
		internal const string ArgumentExceptionDesignerVerbIdsRange = "ArgumentExceptionDesignerVerbIdsRange";
 		internal const string InvalidOperationStoreAlreadyClosed = "InvalidOperationStoreAlreadyClosed"; 
 		internal const string InvalidOperationDeserializationReturnedNonActivity = "InvalidOperationDeserializationReturnedNonActivity";
		internal const string AccessibleAction = "AccessibleAction";
 		internal const string LeftScrollButtonAccessibleDescription = "LeftScrollButtonAccessibleDescription";
		internal const string RightScrollButtonAccessibleDescription = "RightScrollButtonAccessibleDescription"; 
		internal const string ActivityDesignerAccessibleDescription = "ActivityDesignerAccessibleDescription";
		internal const string LeftScrollButtonAccessibleHelp = "LeftScrollButtonAccessibleHelp"; 
 		internal const string RightScrollButtonAccessibleHelp = "RightScrollButtonAccessibleHelp"; 
		internal const string ActivityDesignerAccessibleHelp = "ActivityDesignerAccessibleHelp";
 		internal const string LeftScrollButtonName = "LeftScrollButtonName"; 
 		internal const string RightScrollButtonName = "RightScrollButtonName";
		internal const string SelectActivityDesc = "SelectActivityDesc";
 		internal const string PreviewMode = "PreviewMode";
		internal const string EditMode = "EditMode"; 
		internal const string PreviewButtonAccessibleDescription = "PreviewButtonAccessibleDescription";
		internal const string PreviewButtonAccessibleHelp = "PreviewButtonAccessibleHelp"; 
 		internal const string PreviewButtonName = "PreviewButtonName"; 
		internal const string CancelDescriptionString = "CancelDescriptionString";
 		internal const string HeaderFooterStringNone = "HeaderFooterStringNone"; 
 		internal const string HeaderFooterStringCustom = "HeaderFooterStringCustom";
		internal const string HeaderFooterFormat1 = "HeaderFooterFormat1";
 		internal const string HeaderFooterFormat2 = "HeaderFooterFormat2";
		internal const string HeaderFooterFormat3 = "HeaderFooterFormat3"; 
		internal const string HeaderFooterFormat4 = "HeaderFooterFormat4";
		internal const string HeaderFooterFormat5 = "HeaderFooterFormat5"; 
 		internal const string HeaderFooterFormat6 = "HeaderFooterFormat6"; 
		internal const string HeaderFooterFormat7 = "HeaderFooterFormat7";
 		internal const string HeaderFooterFormat8 = "HeaderFooterFormat8"; 
 		internal const string HeaderFooterFormat9 = "HeaderFooterFormat9";
		internal const string EnteredMarginsAreNotValidErrorMessage = "EnteredMarginsAreNotValidErrorMessage";
 		internal const string ChildActivitiesNotConfigured = "ChildActivitiesNotConfigured";
		internal const string ConnectorAccessibleDescription = "ConnectorAccessibleDescription"; 
		internal const string ConnectorAccessibleHelp = "ConnectorAccessibleHelp";
		internal const string ConnectorDesc = "ConnectorDesc"; 
 		internal const string WorkflowDesc = "WorkflowDesc"; 
		internal const string AddBranch = "AddBranch";
 		internal const string DropActivitiesHere = "DropActivitiesHere"; 
 		internal const string DesignerNotInitialized = "DesignerNotInitialized";
		internal const string MyFavoriteTheme = "MyFavoriteTheme";
 		internal const string AmbientThemeException = "AmbientThemeException";
		internal const string ThemeTypesMismatch = "ThemeTypesMismatch"; 
		internal const string DesignerThemeException = "DesignerThemeException";
		internal const string CustomStyleNotSupported = "CustomStyleNotSupported"; 
 		internal const string EmptyFontFamilyNotSupported = "EmptyFontFamilyNotSupported"; 
		internal const string FontFamilyNotSupported = "FontFamilyNotSupported";
 		internal const string ContentAlignmentNotSupported = "ContentAlignmentNotSupported"; 
 		internal const string ZoomLevelException2 = "ZoomLevelException2";
		internal const string ShadowDepthException = "ShadowDepthException";
 		internal const string ThereIsNoPrinterInstalledErrorMessage = "ThereIsNoPrinterInstalledErrorMessage";
		internal const string WorkflowViewAccessibleDescription = "WorkflowViewAccessibleDescription"; 
		internal const string WorkflowViewAccessibleHelp = "WorkflowViewAccessibleHelp";
		internal const string WorkflowViewAccessibleName = "WorkflowViewAccessibleName"; 
 		internal const string SelectedPrinterIsInvalidErrorMessage = "SelectedPrinterIsInvalidErrorMessage"; 
		internal const string ObjectDoesNotSupportIPropertyValuesProvider = "ObjectDoesNotSupportIPropertyValuesProvider";
        internal const string ThemeFileFilter = "ThemeFileFilter"; 
        internal const string ThemeConfig = "ThemeConfig";
        internal const string ThemeNameNotValid = "ThemeNameNotValid";
        internal const string ThemePathNotValid = "ThemePathNotValid";
 		internal const string ThemeFileNotXml = "ThemeFileNotXml"; 
 		internal const string UpdateRelativePaths = "UpdateRelativePaths";
		internal const string ThemeDescription = "ThemeDescription"; 
 		internal const string ThemeFileCreationError = "ThemeFileCreationError"; 
		internal const string Preview = "Preview";
		internal const string ArgumentExceptionSmartActionIdsRange = "ArgumentExceptionSmartActionIdsRange"; 
		internal const string ActivitiesDesc = "ActivitiesDesc";
 		internal const string MoveLeftDesc = "MoveLeftDesc";
		internal const string MoveRightDesc = "MoveRightDesc";
 		internal const string DropExceptionsHere = "DropExceptionsHere"; 
 		internal const string SpecifyTargetWorkflow = "SpecifyTargetWorkflow";
		internal const string ServiceHelpText = "ServiceHelpText"; 
 		internal const string StartWorkFlow = "StartWorkFlow"; 
		internal const string Complete = "Complete";
		internal const string ServiceExceptions = "ServiceExceptions"; 
		internal const string ServiceEvents = "ServiceEvents";
 		internal const string ServiceCompensation = "ServiceCompensation";
		internal const string ScopeDesc = "ScopeDesc";
 		internal const string EventsDesc = "EventsDesc"; 
 		internal const string InvokeWebServiceDisplayName = "InvokeWebServiceDisplayName";
        internal const string InvalidClassNameIdentifier = "InvalidClassNameIdentifier"; 
        internal const string InvalidBaseTypeOfCompanion = "InvalidBaseTypeOfCompanion"; 
        internal const string Error_InvalidActivity = "Error_InvalidActivity";
        internal const string Error_MultiviewSequentialActivityDesigner = "Error_MultiviewSequentialActivityDesigner"; 
        internal const string AddingBranch = "AddingBranch";
        internal const string WorkflowPrintDocumentNotFound = "WorkflowPrintDocumentNotFound";
        internal const string DefaultTheme = "DefaultTheme";
        internal const string DefaultThemeDescription = "DefaultThemeDescription"; 
        internal const string OSTheme = "OSTheme";
        internal const string SystemThemeDescription = "SystemThemeDescription"; 
        internal const string ActivitySetMessageBoxTitle = "ActivitySetMessageBoxTitle"; 
		internal const string ViewExceptions = "ViewExceptions";
 		internal const string ViewEvents = "ViewEvents"; 
		internal const string ViewCompensation = "ViewCompensation";
		internal const string ViewCancelHandler = "ViewCancelHandler";
		internal const string ViewActivity = "ViewActivity";
 		internal const string ThemeMessageBoxTitle = "ThemeMessageBoxTitle"; 
		internal const string InfoTipTitle = "InfoTipTitle";
 		internal const string InfoTipId = "InfoTipId"; 
 		internal const string InfoTipDescription = "InfoTipDescription"; 
        internal const string TypeBrowser_ProblemsLoadingAssembly = "TypeBrowser_ProblemsLoadingAssembly";
        internal const string TypeBrowser_UnableToLoadOneOrMoreTypes = "TypeBrowser_UnableToLoadOneOrMoreTypes"; 
        internal const string StartWorkflow = "StartWorkflow";
        internal const string EndWorkflow = "EndWorkflow";
        internal const string Error_FailedToDeserializeComponents = "Error_FailedToDeserializeComponents";
        internal const string Error_Reason = "Error_Reason"; 
        internal const string WorkflowDesignerTitle = "WorkflowDesignerTitle";
        internal const string RuleName = "RuleName"; 
        internal const string RuleExpression = "RuleExpression"; 
        internal const string DeclarativeRules = "DeclarativeRules";
        internal const string Error_ThemeAttributeMissing = "Error_ThemeAttributeMissing"; 
        internal const string Error_ThemeTypeMissing = "Error_ThemeTypeMissing";
        internal const string Error_ThemeTypesMismatch = "Error_ThemeTypesMismatch";
        internal const string ZOrderUndoDescription = "ZOrderUndoDescription";
        internal const string SendToBack = "SendToBack"; 
        internal const string BringToFront = "BringToFront";
        internal const string ResizeUndoDescription = "ResizeUndoDescription"; 
        internal const string FitToScreenDescription = "FitToScreenDescription"; 
        internal const string FitToWorkflowDescription = "FitToWorkflowDescription";
        internal const string BMPImageFormat = "BMPImageFormat"; 
        internal const string JPEGImageFormat = "JPEGImageFormat";
        internal const string PNGImageFormat = "PNGImageFormat";
        internal const string TIFFImageFormat = "TIFFImageFormat";
        internal const string WMFImageFormat = "WMFImageFormat"; 
        internal const string EXIFImageFormat = "EXIFImageFormat";
        internal const string EMFImageFormat = "EMFImageFormat"; 
        internal const string CustomEventType = "CustomEventType"; 
        internal const string CustomPropertyType = "CustomPropertyType";
        internal const string SaveWorkflowImageDialogTitle = "SaveWorkflowImageDialogTitle"; 
        internal const string ImageFileFilter = "ImageFileFilter";
        internal const string Rules = "Rules";
        internal const string More = "More";
        internal const string Empty = "Empty"; 
		internal const string InvalidDockingStyle = "InvalidDockingStyle";
 		internal const string ButtonInformationMissing = "ButtonInformationMissing"; 
		internal const string InvalidDesignerSpecified = "InvalidDesignerSpecified"; 
		internal const string WorkflowViewNull = "WorkflowViewNull";
        internal const string Error_AddConnector1 = "Error_AddConnector1"; 
        internal const string Error_AddConnector2 = "Error_AddConnector2";
        internal const string Error_AddConnector3 = "Error_AddConnector3";
        internal const string Error_ConnectionPoint = "Error_ConnectionPoint";
        internal const string Error_Connector1 = "Error_Connector1"; 
        internal const string Error_Connector2 = "Error_Connector2";
        internal const string Error_WorkflowNotLoaded = "Error_WorkflowNotLoaded"; 
        internal const string Error_InvalidImageResource = "Error_InvalidImageResource"; 
        internal const string ThemePropertyReadOnly = "ThemePropertyReadOnly";
        internal const string Error_TabExistsWithSameId = "Error_TabExistsWithSameId"; 
        internal const string Error_WorkflowLayoutNull = "Error_WorkflowLayoutNull";
        internal const string BuildTargetWorkflow = "BuildTargetWorkflow";

		//Bitmaps 
 		internal const string Activity = "Activity";
		internal const string MoveLeft = "MoveLeft"; 
 		internal const string MoveLeftUp = "MoveLeftUp"; 
 		internal const string MoveRight = "MoveRight";
		internal const string MoveRightUp = "MoveRightUp"; 
 		internal const string PreviewModeIcon = "PreviewModeIcon";
		internal const string EditModeIcon = "EditModeIcon";
		internal const string PreviewIndicator = "PreviewIndicator";
		internal const string ReadOnly = "ReadOnly"; 
 		internal const string ConfigError = "ConfigError";
		internal const string SmartTag = "SmartTag"; 
        internal const string ArrowLeft = "ArrowLeft"; 
        internal const string DropShapeShort = "DropShapeShort";
 		internal const string FitToWorkflow = "FitToWorkflow"; 
 		internal const string MoveAnchor = "MoveAnchor";
		internal const string Activities = "Activities";
 		internal const string Compensation = "Compensation";
		internal const string SequenceArrow = "SequenceArrow"; 
		internal const string Exception = "Exception";
		internal const string Event = "Event"; 
 		internal const string Start = "Start"; 
		internal const string End = "End";
        internal const string FitToScreen = "FitToScreen"; 
        internal const string Bind = "Bind";

        internal static string GetString(string resID, params object[] args)
        { 
            return GetString(CultureInfo.CurrentUICulture, resID, args);
        } 
 
        internal static string GetString(CultureInfo culture, string resID, params object[] args)
 		{ 
            string str = DR.resourceManager.GetString(resID, culture);
            System.Diagnostics.Debug.Assert(str != null, string.Format(culture, "String resource {0} not found.", new object[] { resID }));
            if (args != null && args.Length > 0)
                str = string.Format(culture, str, args); 
            return str;
 		} 
 
		internal static Image GetImage(string resID)
 		{ 
			Image image = DR.resourceManager.GetObject(resID) as Image;

            //Please note that the default version of make transparent uses the color of pixel at left bottom of the image
            //as the transparent color to make the bitmap transparent. Hence we do not use it 
            Bitmap bitmap = image as Bitmap;
            if (bitmap != null) 
                bitmap.MakeTransparent(AmbientTheme.TransparentColor); 

            return image; 
        }
	}
	#endregion
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK