Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Services / System / ServiceProcess / Design / ServiceControllerDesigner.cs / 1 / ServiceControllerDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ServiceProcess.Design { using System.Runtime.Serialization.Formatters; using System.ComponentModel; using System.Diagnostics; using System; using System.Collections; using System.Windows.Forms; using Microsoft.Win32; using System.ComponentModel.Design; using System.Globalization; ////// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class ServiceControllerDesigner : ComponentDesigner { /// protected override void PreFilterProperties(IDictionary properties) { base.PreFilterProperties(properties); RuntimeComponentFilter.FilterProperties(properties, new string[]{"ServiceName", "DisplayName"}, new string[]{"CanPauseAndContinue", "CanShutdown", "CanStop", "DisplayName", "DependentServices", "ServicesDependedOn", "Status", "ServiceType", "MachineName"}, new bool[]{false, false, false, false, false, false, false, false, true}); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BuildProviderCollection.cs
- KeyPressEvent.cs
- OutputScopeManager.cs
- EditorPartCollection.cs
- LateBoundBitmapDecoder.cs
- TextEffect.cs
- ObjectItemNoOpAssemblyLoader.cs
- WebBrowserContainer.cs
- DispatcherExceptionEventArgs.cs
- Knowncolors.cs
- Converter.cs
- NumericUpDownAcceleration.cs
- Stream.cs
- exports.cs
- FormViewDeleteEventArgs.cs
- ListSourceHelper.cs
- DataSourceView.cs
- TCPClient.cs
- CompensateDesigner.cs
- QilFactory.cs
- BitmapFrameEncode.cs
- DataGridPagerStyle.cs
- EnumCodeDomSerializer.cs
- PassportAuthentication.cs
- CodeTypeDeclaration.cs
- SQLDouble.cs
- AppSettingsExpressionBuilder.cs
- OdbcErrorCollection.cs
- TimeSpanValidator.cs
- DynamicRendererThreadManager.cs
- processwaithandle.cs
- CompositeFontFamily.cs
- HttpUnhandledOperationInvoker.cs
- ThicknessConverter.cs
- PropertyGridView.cs
- Operand.cs
- XPathEmptyIterator.cs
- PackWebResponse.cs
- TemplateAction.cs
- OutOfMemoryException.cs
- Italic.cs
- MatrixUtil.cs
- UriExt.cs
- TreeNodeCollection.cs
- CustomValidator.cs
- clipboard.cs
- FileChangesMonitor.cs
- WebPartHeaderCloseVerb.cs
- RuntimeArgumentHandle.cs
- XmlBinaryReaderSession.cs
- DataGridViewSelectedCellCollection.cs
- XmlBaseWriter.cs
- Message.cs
- MailBnfHelper.cs
- FaultDescriptionCollection.cs
- oledbmetadatacolumnnames.cs
- MessageHeaderDescriptionCollection.cs
- CellIdBoolean.cs
- CounterSampleCalculator.cs
- SessionEndedEventArgs.cs
- ParseChildrenAsPropertiesAttribute.cs
- SkipQueryOptionExpression.cs
- _HTTPDateParse.cs
- DetailsViewRowCollection.cs
- SharedStatics.cs
- CompiledIdentityConstraint.cs
- TextEditorTables.cs
- ApplicationInfo.cs
- DataErrorValidationRule.cs
- TypeExtensionConverter.cs
- TransactionInterop.cs
- ReturnValue.cs
- Literal.cs
- ListDataBindEventArgs.cs
- MSHTMLHost.cs
- XmlTextReaderImplHelpers.cs
- QilLiteral.cs
- PropertyTabAttribute.cs
- BoundColumn.cs
- RuleSetDialog.cs
- UIElementParaClient.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- ContentIterators.cs
- MessageRpc.cs
- FormViewPageEventArgs.cs
- HttpDebugHandler.cs
- ElementUtil.cs
- ItemContainerGenerator.cs
- GradientStopCollection.cs
- SafePointer.cs
- RadioButtonDesigner.cs
- FileSystemInfo.cs
- CharEntityEncoderFallback.cs
- DataBindingList.cs
- TextTreeNode.cs
- StaticResourceExtension.cs
- _FtpDataStream.cs
- FeatureSupport.cs
- SecurityDocument.cs
- WindowsStreamSecurityUpgradeProvider.cs