Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / MonthCalendarDesigner.cs / 1 / MonthCalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.Design.MonthCalendarDesigner..ctor()")] namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; ////// /// internal class MonthCalendarDesigner : ControlDesigner { public MonthCalendarDesigner() { AutoResizeHandles = true; } ////// Provides a designer that can design components /// that extend MonthCalendar. ////// /// Retrieves a set of rules concerning the movement capabilities of a component. /// This should be one or more flags from the SelectionRules class. If no designer /// provides rules for a component, the component will not get any UI services. /// public override SelectionRules SelectionRules { get { SelectionRules rules = base.SelectionRules; if ((Control.Parent == null) || (Control.Parent != null && !Control.Parent.IsMirrored)) { rules &= ~(SelectionRules.TopSizeable | SelectionRules.LeftSizeable); } else { Debug.Assert(Control.Parent != null && Control.Parent.IsMirrored); rules &= ~(SelectionRules.TopSizeable | SelectionRules.RightSizeable); } return rules; } } } } // 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
- EdmFunction.cs
- CodeGotoStatement.cs
- RangeValuePatternIdentifiers.cs
- WebPartVerbsEventArgs.cs
- MdiWindowListStrip.cs
- GCHandleCookieTable.cs
- ProfileParameter.cs
- Positioning.cs
- DataGridTextBoxColumn.cs
- XmlAttributes.cs
- Confirm.cs
- ItemMap.cs
- OleDbFactory.cs
- WsrmFault.cs
- DecodeHelper.cs
- CurrentChangingEventArgs.cs
- MainMenu.cs
- SafeProcessHandle.cs
- ArgIterator.cs
- XmlSchemaGroup.cs
- X509UI.cs
- GcHandle.cs
- ToolStripLocationCancelEventArgs.cs
- PathFigure.cs
- HtmlElementEventArgs.cs
- DragStartedEventArgs.cs
- CodeDirectoryCompiler.cs
- PointLightBase.cs
- BatchStream.cs
- WriteFileContext.cs
- UserControl.cs
- RowType.cs
- PerfCounters.cs
- CellLabel.cs
- Base64Decoder.cs
- ProvidePropertyAttribute.cs
- ValuePatternIdentifiers.cs
- DataPagerField.cs
- MediaSystem.cs
- SqlCacheDependencySection.cs
- BindingValueChangedEventArgs.cs
- StorageEntityContainerMapping.cs
- BaseCollection.cs
- Error.cs
- MetadataPropertyvalue.cs
- WS2007HttpBindingCollectionElement.cs
- CodeTypeReference.cs
- DecimalKeyFrameCollection.cs
- ByteAnimationUsingKeyFrames.cs
- BooleanAnimationBase.cs
- Roles.cs
- VisualTreeUtils.cs
- NullableDoubleSumAggregationOperator.cs
- AuthenticationModulesSection.cs
- ErrorEventArgs.cs
- METAHEADER.cs
- SmiEventStream.cs
- QilStrConcat.cs
- WaitHandle.cs
- ParameterToken.cs
- ControlCachePolicy.cs
- ShortcutKeysEditor.cs
- CryptoApi.cs
- StateFinalizationDesigner.cs
- DependencyPropertyAttribute.cs
- CodeCommentStatementCollection.cs
- IdentifierCreationService.cs
- ConfigurationElementCollection.cs
- IntegerValidatorAttribute.cs
- Vector3DAnimation.cs
- X509CertificateStore.cs
- ParallelQuery.cs
- TypeConverterHelper.cs
- SoapCodeExporter.cs
- XmlNamedNodeMap.cs
- WebBrowserContainer.cs
- ComponentEditorForm.cs
- ServicePointManager.cs
- DrawToolTipEventArgs.cs
- CompatibleIComparer.cs
- Scalars.cs
- AdvancedBindingPropertyDescriptor.cs
- XmlWrappingWriter.cs
- BuiltInExpr.cs
- XamlPoint3DCollectionSerializer.cs
- Schema.cs
- ConfigurationManagerInternalFactory.cs
- PointHitTestParameters.cs
- PresentationAppDomainManager.cs
- PopupRootAutomationPeer.cs
- ParentQuery.cs
- PixelFormats.cs
- SmtpClient.cs
- WinInetCache.cs
- TargetConverter.cs
- CommonObjectSecurity.cs
- XmlNullResolver.cs
- SpellCheck.cs
- BaseValidator.cs
- Point3DCollection.cs