Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / DesignerActionVerbItem.cs / 1 / DesignerActionVerbItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { using System; using System.ComponentModel; using System.Design; using System.Reflection; ////// /// [to be provided] /// internal class DesignerActionVerbItem : DesignerActionMethodItem { private DesignerVerb _targetVerb; public DesignerActionVerbItem(DesignerVerb verb) { if(verb == null) { throw (new ArgumentNullException()); } _targetVerb = verb; } public override string Category { get { return "Verbs"; } } public override string Description { get { return _targetVerb.Description; } } public override string DisplayName { get { return _targetVerb.Text; } } public override string MemberName { get { return null; } } public override bool IncludeAsDesignerVerb{ get { return false; } } public override void Invoke() { _targetVerb.Invoke(); } } } // 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
- OleDbMetaDataFactory.cs
- CheckedListBox.cs
- LinearGradientBrush.cs
- ResizeGrip.cs
- ThicknessAnimationUsingKeyFrames.cs
- CapabilitiesSection.cs
- DataGridTextColumn.cs
- ResponseStream.cs
- ZipFileInfoCollection.cs
- ProcessMessagesAsyncResult.cs
- ProxyHelper.cs
- RuntimeCompatibilityAttribute.cs
- DataControlImageButton.cs
- RichTextBox.cs
- ApplyTemplatesAction.cs
- ColorConverter.cs
- PathStreamGeometryContext.cs
- FtpRequestCacheValidator.cs
- RenderingBiasValidation.cs
- Int64Converter.cs
- TextEditor.cs
- ColumnHeaderConverter.cs
- QilValidationVisitor.cs
- UnaryExpressionHelper.cs
- GACMembershipCondition.cs
- SmtpException.cs
- BaseParser.cs
- RotateTransform.cs
- shaperfactoryquerycacheentry.cs
- SafeSecurityHelper.cs
- MemberAccessException.cs
- FontStyles.cs
- ReadOnlyKeyedCollection.cs
- HtmlInputControl.cs
- LinkButton.cs
- XmlSerializerOperationFormatter.cs
- ExpressionBinding.cs
- ModifiableIteratorCollection.cs
- ProxySimple.cs
- NameTable.cs
- Task.cs
- BinaryObjectReader.cs
- CellCreator.cs
- CreatingCookieEventArgs.cs
- RtfControlWordInfo.cs
- EncoderReplacementFallback.cs
- ColumnHeaderConverter.cs
- SqlHelper.cs
- smtpconnection.cs
- NonSerializedAttribute.cs
- Documentation.cs
- XmlSchemaFacet.cs
- Vector3DCollectionConverter.cs
- TreeViewEvent.cs
- TrackingRecordPreFilter.cs
- AdRotatorDesigner.cs
- ApplicationServicesHostFactory.cs
- DataGridViewRowEventArgs.cs
- TimeoutException.cs
- WindowsEditBoxRange.cs
- NameValuePermission.cs
- BulletedList.cs
- UnsafeNativeMethods.cs
- MetadataFile.cs
- XmlEncodedRawTextWriter.cs
- ComponentResourceKeyConverter.cs
- DependencyProperty.cs
- GridViewRowEventArgs.cs
- XmlSchemaComplexType.cs
- TdsParserStaticMethods.cs
- WebPartTransformerCollection.cs
- ProgressBar.cs
- ToolStripItemClickedEventArgs.cs
- ComponentEvent.cs
- SafeArchiveContext.cs
- EventMappingSettingsCollection.cs
- SerializationHelper.cs
- CellLabel.cs
- pingexception.cs
- BitmapSizeOptions.cs
- HttpResponseBase.cs
- ExpressionBuilderContext.cs
- HatchBrush.cs
- SliderAutomationPeer.cs
- coordinator.cs
- MetadataItem.cs
- CompositionTarget.cs
- TextTreeTextBlock.cs
- StringConcat.cs
- AdapterUtil.cs
- BatchStream.cs
- ISAPIApplicationHost.cs
- Currency.cs
- WebPageTraceListener.cs
- PrinterResolution.cs
- MenuCommandsChangedEventArgs.cs
- LongValidator.cs
- RtfControls.cs
- TextDecorationCollectionConverter.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs