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
- ControlBuilderAttribute.cs
- InfoCardRSACryptoProvider.cs
- Collection.cs
- EtwProvider.cs
- ResourceAssociationType.cs
- StatusBar.cs
- SectionInput.cs
- DataGridTable.cs
- InplaceBitmapMetadataWriter.cs
- WebPartTracker.cs
- InvariantComparer.cs
- Tablet.cs
- ModuleBuilderData.cs
- HttpFileCollection.cs
- WorkflowTimerService.cs
- AdapterUtil.cs
- followingquery.cs
- RowCache.cs
- EventToken.cs
- PerformanceCounterLib.cs
- Rotation3DAnimationBase.cs
- InvokeBase.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- LinkTarget.cs
- EncoderReplacementFallback.cs
- UserPersonalizationStateInfo.cs
- ReflectPropertyDescriptor.cs
- OdbcInfoMessageEvent.cs
- MsmqHostedTransportConfiguration.cs
- HttpSocketManager.cs
- DataGridAddNewRow.cs
- TextTreeTextElementNode.cs
- Number.cs
- GridViewSelectEventArgs.cs
- Win32.cs
- SqlCharStream.cs
- CodeVariableReferenceExpression.cs
- IUnknownConstantAttribute.cs
- MessageBox.cs
- HttpFileCollection.cs
- MgmtResManager.cs
- ExtentCqlBlock.cs
- ConfigurationManagerInternalFactory.cs
- PassportAuthenticationModule.cs
- ComplexPropertyEntry.cs
- SoapHeader.cs
- ReflectionPermission.cs
- GlyphTypeface.cs
- ToggleButton.cs
- InputBuffer.cs
- RegexInterpreter.cs
- PropertyEmitterBase.cs
- autovalidator.cs
- XsltException.cs
- Group.cs
- DateTimeFormatInfo.cs
- SynchronizedDispatch.cs
- DataSourceHelper.cs
- EdmSchemaError.cs
- CompensateDesigner.cs
- SafeReversePInvokeHandle.cs
- Html32TextWriter.cs
- pingexception.cs
- RuleAttributes.cs
- ActivityTypeDesigner.xaml.cs
- RankException.cs
- WebAdminConfigurationHelper.cs
- ThreadPool.cs
- BitmapEffectInput.cs
- UnsafeNativeMethods.cs
- ChannelRequirements.cs
- WebPartConnectionsConnectVerb.cs
- login.cs
- Repeater.cs
- PackageRelationship.cs
- DigitShape.cs
- MobileControlBuilder.cs
- DispatcherExceptionEventArgs.cs
- EntitySqlQueryCacheKey.cs
- ToolZone.cs
- CollectionTraceRecord.cs
- storepermissionattribute.cs
- WorkingDirectoryEditor.cs
- OdbcUtils.cs
- BaseConfigurationRecord.cs
- ServiceDescription.cs
- Nullable.cs
- UnmanagedMemoryAccessor.cs
- RelAssertionDirectKeyIdentifierClause.cs
- TextCollapsingProperties.cs
- XXXInfos.cs
- X509Extension.cs
- DataBindingValueUIHandler.cs
- DbDataAdapter.cs
- QueueNameHelper.cs
- DynamicControl.cs
- FilterQuery.cs
- IHttpResponseInternal.cs
- SafePEFileHandle.cs
- SerialPinChanges.cs