Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / CalendarDesigner.cs / 1 / CalendarDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Design; using System.Diagnostics; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; using System.Windows.Forms; using Calendar = System.Web.UI.WebControls.Calendar; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] [SupportsPreviewControl(true)] public class CalendarDesigner : ControlDesigner { private static DesignerAutoFormatCollection _autoFormats; public override DesignerAutoFormatCollection AutoFormats { get { if (_autoFormats == null) { _autoFormats = CreateAutoFormats(AutoFormatSchemes.CALENDAR_SCHEMES, delegate(DataRow schemeData) { return new CalendarAutoFormat(schemeData); }); } return _autoFormats; } } ////// Provides a designer for the ////// control. /// /// /// public override void Initialize(IComponent component) { VerifyInitializeArgument(component, typeof(Calendar)); base.Initialize(component); } ////// Initializes the designer with the component for design. /// ////// /// protected void OnAutoFormat(object sender, EventArgs e) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Delegate to handle the the AutoFormat verb by calling the AutoFormat dialog. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigurationLocationCollection.cs
- GradientStop.cs
- KeyInfo.cs
- Animatable.cs
- MessageBox.cs
- UriParserTemplates.cs
- DataServiceProviderMethods.cs
- DataGridCaption.cs
- ButtonChrome.cs
- OneToOneMappingSerializer.cs
- BrushConverter.cs
- OptimisticConcurrencyException.cs
- TablePatternIdentifiers.cs
- FileUpload.cs
- SoapAttributeOverrides.cs
- CryptoStream.cs
- FixedHighlight.cs
- FormViewDesigner.cs
- NotSupportedException.cs
- ProvidersHelper.cs
- ByteStack.cs
- FixedTextPointer.cs
- WebServiceHost.cs
- ErrorLog.cs
- Size3D.cs
- NumericPagerField.cs
- BlurEffect.cs
- SqlClientFactory.cs
- ListViewInsertEventArgs.cs
- BufferAllocator.cs
- IncrementalHitTester.cs
- ResourceReader.cs
- SupportingTokenDuplexChannel.cs
- XmlJsonWriter.cs
- RtfToXamlReader.cs
- DataGridViewBand.cs
- XmlEventCache.cs
- COAUTHIDENTITY.cs
- BitmapEffectInputConnector.cs
- Lasso.cs
- NativeMethods.cs
- LabelDesigner.cs
- ConfigurationValues.cs
- BitmapCodecInfo.cs
- DragEvent.cs
- ClockGroup.cs
- DbProviderFactory.cs
- AttributeExtensions.cs
- TryExpression.cs
- UnionExpr.cs
- BrowserCapabilitiesCodeGenerator.cs
- Gdiplus.cs
- TypeUsageBuilder.cs
- BindValidator.cs
- Animatable.cs
- SafeUserTokenHandle.cs
- CharacterMetricsDictionary.cs
- TextParagraph.cs
- WindowsListViewScroll.cs
- activationcontext.cs
- DSASignatureDeformatter.cs
- Color.cs
- DataGridViewCellCollection.cs
- DesignColumn.cs
- DocumentOrderQuery.cs
- MethodExpression.cs
- Hex.cs
- SimpleExpression.cs
- SecurityResources.cs
- XPathAncestorQuery.cs
- XmlTextReaderImplHelpers.cs
- List.cs
- ToolStripSplitButton.cs
- OracleRowUpdatedEventArgs.cs
- AutomationPatternInfo.cs
- DataControlButton.cs
- SelectionRangeConverter.cs
- UrlMappingsModule.cs
- CombinedGeometry.cs
- SymbolPair.cs
- DynamicDiscoveryDocument.cs
- MetadataStore.cs
- ViewCellSlot.cs
- TokenDescriptor.cs
- BaseTemplateParser.cs
- RunWorkerCompletedEventArgs.cs
- BatchWriter.cs
- StringSource.cs
- KeyNotFoundException.cs
- ValueSerializer.cs
- ZipFileInfo.cs
- PageSettings.cs
- IDictionary.cs
- MethodBody.cs
- SqlBulkCopyColumnMapping.cs
- TextModifier.cs
- TableLayoutPanelCellPosition.cs
- TextBreakpoint.cs
- TableLayoutStyleCollection.cs
- Vector3DAnimation.cs