Code:
/ FX-1434 / FX-1434 / 1.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
- PackagePartCollection.cs
- safelink.cs
- HtmlWindowCollection.cs
- EntityUtil.cs
- SQLConvert.cs
- PopupRootAutomationPeer.cs
- UnsafeNativeMethods.cs
- HeaderElement.cs
- CommandID.cs
- SqlBuilder.cs
- UpdateTracker.cs
- NumberFormatInfo.cs
- Activator.cs
- LinqDataSourceEditData.cs
- ControlAdapter.cs
- EndpointAddressAugust2004.cs
- Sql8ExpressionRewriter.cs
- FieldBuilder.cs
- MsdtcClusterUtils.cs
- XhtmlBasicCommandAdapter.cs
- TraceRecords.cs
- ObjectRef.cs
- DataGridClipboardHelper.cs
- CharacterString.cs
- ListCollectionView.cs
- WebPartConnection.cs
- ApplicationContext.cs
- EnumType.cs
- GradientBrush.cs
- Page.cs
- CryptoHandle.cs
- XPathException.cs
- PrinterSettings.cs
- SliderAutomationPeer.cs
- SecurityKeyEntropyMode.cs
- TreeNodeEventArgs.cs
- BaseDataList.cs
- PerformanceCounter.cs
- ELinqQueryState.cs
- ILGenerator.cs
- UnmanagedBitmapWrapper.cs
- QuaternionAnimationBase.cs
- OciEnlistContext.cs
- ADMembershipUser.cs
- BinaryCommonClasses.cs
- ComplexPropertyEntry.cs
- CodeDomSerializer.cs
- WebPartConnectionsDisconnectVerb.cs
- BitmapEffect.cs
- AssemblyAttributesGoHere.cs
- SettingsSection.cs
- CultureMapper.cs
- CompModSwitches.cs
- TextSpanModifier.cs
- TraceEventCache.cs
- RemoteWebConfigurationHost.cs
- PropertyGridCommands.cs
- PackageDigitalSignatureManager.cs
- SQlBooleanStorage.cs
- X509ChainElement.cs
- TypeDescriptionProvider.cs
- TemplateKey.cs
- Transform3D.cs
- SQLInt32.cs
- QualifiedCellIdBoolean.cs
- LocalizabilityAttribute.cs
- RotateTransform3D.cs
- DataTemplateKey.cs
- HtmlButton.cs
- MarginsConverter.cs
- PowerModeChangedEventArgs.cs
- MenuItemAutomationPeer.cs
- RemoteArgument.cs
- UnsafeNativeMethodsCLR.cs
- KnowledgeBase.cs
- ManagementOptions.cs
- GeneratedCodeAttribute.cs
- AudioStateChangedEventArgs.cs
- DesignerEditorPartChrome.cs
- AutomationProperty.cs
- BinaryMethodMessage.cs
- FilteredReadOnlyMetadataCollection.cs
- MaterializeFromAtom.cs
- TreeNodeConverter.cs
- ThreadStateException.cs
- SafeMILHandle.cs
- Metafile.cs
- ColorAnimation.cs
- HandleCollector.cs
- HuffModule.cs
- NullRuntimeConfig.cs
- ToolStripArrowRenderEventArgs.cs
- ProcessModuleCollection.cs
- RIPEMD160Managed.cs
- Range.cs
- XPathException.cs
- ExceptionHelpers.cs
- WebPartDescriptionCollection.cs
- XPathPatternParser.cs
- UndoEngine.cs