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
- CalendarDay.cs
- ConfigurationElementCollection.cs
- DataObjectCopyingEventArgs.cs
- DrawingState.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- RelationshipConstraintValidator.cs
- ObjectViewFactory.cs
- SafeHandle.cs
- ScalarType.cs
- LineServicesCallbacks.cs
- WebPartConnectionsConfigureVerb.cs
- BasicExpandProvider.cs
- FontClient.cs
- XmlValueConverter.cs
- SystemIPInterfaceProperties.cs
- ActivityExecutionContext.cs
- WindowCollection.cs
- RIPEMD160.cs
- ManipulationLogic.cs
- DispatchWrapper.cs
- SymLanguageType.cs
- ActivityDefaults.cs
- figurelength.cs
- XmlSerializerAssemblyAttribute.cs
- SafeLocalMemHandle.cs
- DataColumnMapping.cs
- DiagnosticSection.cs
- _SafeNetHandles.cs
- HttpResponseHeader.cs
- ObfuscationAttribute.cs
- ReverseInheritProperty.cs
- XpsFilter.cs
- TextDecorationCollectionConverter.cs
- EntityContainerRelationshipSet.cs
- WindowShowOrOpenTracker.cs
- GiveFeedbackEventArgs.cs
- ValueSerializerAttribute.cs
- XmlWrappingReader.cs
- Msmq.cs
- HtmlInputReset.cs
- DataServiceQuery.cs
- DurationConverter.cs
- RuntimeHandles.cs
- DeferredTextReference.cs
- SecurityTokenRequirement.cs
- StreamUpdate.cs
- OracleColumn.cs
- FormatSettings.cs
- PropertyGroupDescription.cs
- SiteMapNodeCollection.cs
- CustomAttribute.cs
- ConsoleKeyInfo.cs
- AnonymousIdentificationSection.cs
- JobDuplex.cs
- PropertyInfo.cs
- TreeNodeSelectionProcessor.cs
- WorkflowHostingResponseContext.cs
- ToolBar.cs
- AssemblyAttributes.cs
- HwndAppCommandInputProvider.cs
- Image.cs
- SecurityContext.cs
- GrammarBuilderBase.cs
- HwndHostAutomationPeer.cs
- KeyedCollection.cs
- EntityDataSourceWrapperCollection.cs
- ThreadExceptionDialog.cs
- DataRowCollection.cs
- FlatButtonAppearance.cs
- SHA256.cs
- SmiEventSink_DeferedProcessing.cs
- Command.cs
- DataGridHeaderBorder.cs
- ClientSection.cs
- ItemsPanelTemplate.cs
- LinqDataSourceSelectEventArgs.cs
- CapabilitiesSection.cs
- UnsafeNativeMethods.cs
- Symbol.cs
- ComboBoxItem.cs
- SqlCacheDependencyDatabaseCollection.cs
- PathGeometry.cs
- FrameworkTextComposition.cs
- EpmTargetPathSegment.cs
- WebHttpElement.cs
- LayoutInformation.cs
- CreateUserWizardStep.cs
- HiddenFieldDesigner.cs
- XmlStringTable.cs
- LinqDataSourceContextEventArgs.cs
- XmlSecureResolver.cs
- WinCategoryAttribute.cs
- DirectoryRootQuery.cs
- DrawingAttributesDefaultValueFactory.cs
- SqlFileStream.cs
- ProcessManager.cs
- DocumentGridContextMenu.cs
- GeometryHitTestParameters.cs
- XmlDocumentSurrogate.cs
- updateconfighost.cs