Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / TabControlToolboxItem.cs / 1 / TabControlToolboxItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms.Design { using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Drawing.Design; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; [Serializable] [SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses")] internal class TabControlToolboxItem : ToolboxItem{ public TabControlToolboxItem() : base (typeof(TabControl)) { } [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] private TabControlToolboxItem(SerializationInfo info, StreamingContext context) { Deserialize(info, context); } protected override IComponent[] CreateComponentsCore(IDesignerHost host) { IComponent[] components = base.CreateComponentsCore(host); Debug.Assert(components != null && components.Length > 0, "TabControlToolboxItem failed to create component."); Debug.Assert(components.Length == 1, "TabControlToolboxItem did not create the correct number of components."); Debug.Assert(components[0] is TabControl, "TabControlToolboxItem did not create a control."); if (components != null && components.Length > 0 && components[0] is TabControl) { TabControl tabControl = (TabControl) components[0]; tabControl.ShowToolTips = true; } return components; } } } // 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](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpandoClass.cs
- DocumentGridContextMenu.cs
- CaseKeyBox.xaml.cs
- NavigationPropertySingletonExpression.cs
- ScriptManagerProxy.cs
- DateTimeOffsetAdapter.cs
- ImageListStreamer.cs
- HyperLinkField.cs
- Opcode.cs
- SyndicationItem.cs
- DataGridColumnEventArgs.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- TrustSection.cs
- RIPEMD160Managed.cs
- XslException.cs
- CodeAssignStatement.cs
- ReadOnlyTernaryTree.cs
- LineSegment.cs
- Parallel.cs
- NativeRightsManagementAPIsStructures.cs
- DataTable.cs
- MessageQueueTransaction.cs
- UnsafeNativeMethodsCLR.cs
- TokenizerHelper.cs
- CategoryGridEntry.cs
- ScriptingRoleServiceSection.cs
- IndexingContentUnit.cs
- VirtualPathUtility.cs
- BaseProcessProtocolHandler.cs
- MarkupCompilePass2.cs
- ConfigurationStrings.cs
- XsltSettings.cs
- DescendantOverDescendantQuery.cs
- MdiWindowListStrip.cs
- MouseButton.cs
- XmlLanguageConverter.cs
- ActivityDesignerLayoutSerializers.cs
- CheckoutException.cs
- ExpressionBindings.cs
- ParameterCollectionEditorForm.cs
- DocumentPageView.cs
- AccessedThroughPropertyAttribute.cs
- SingleConverter.cs
- WhitespaceRuleReader.cs
- PointUtil.cs
- TreeView.cs
- ReadOnlyMetadataCollection.cs
- ProxyWebPartConnectionCollection.cs
- FloatMinMaxAggregationOperator.cs
- processwaithandle.cs
- TableColumn.cs
- EnumerableRowCollectionExtensions.cs
- BufferedGraphics.cs
- EasingKeyFrames.cs
- BitmapCacheBrush.cs
- EndPoint.cs
- HScrollBar.cs
- StateManagedCollection.cs
- RequiredAttributeAttribute.cs
- NativeWindow.cs
- MultiByteCodec.cs
- DataControlFieldTypeEditor.cs
- AsymmetricSignatureDeformatter.cs
- PaperSize.cs
- DbQueryCommandTree.cs
- LessThan.cs
- GuidelineCollection.cs
- ContextProperty.cs
- ReadOnlyDictionary.cs
- CssClassPropertyAttribute.cs
- EventLogPermissionEntry.cs
- StylusLogic.cs
- TypedServiceOperationListItem.cs
- BuildProvider.cs
- ImmutableCollection.cs
- BitmapDecoder.cs
- StsCommunicationException.cs
- MaskedTextProvider.cs
- AnnotationAdorner.cs
- OrCondition.cs
- X509ChainPolicy.cs
- CompositeScriptReference.cs
- EventLogPermissionHolder.cs
- DataStreamFromComStream.cs
- BulletDecorator.cs
- GcHandle.cs
- SourceChangedEventArgs.cs
- Matrix3D.cs
- BufferedWebEventProvider.cs
- Attributes.cs
- MimeTypeAttribute.cs
- Connector.xaml.cs
- DiagnosticTraceSource.cs
- HiddenField.cs
- UpdateProgress.cs
- AuthenticationService.cs
- MethodBuilder.cs
- SchemaImporter.cs
- SiteMapHierarchicalDataSourceView.cs
- PageTheme.cs