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
- mactripleDES.cs
- AsymmetricSignatureDeformatter.cs
- SqlNodeTypeOperators.cs
- SymmetricAlgorithm.cs
- _LoggingObject.cs
- AppDomainManager.cs
- SerializationAttributes.cs
- TextAdaptor.cs
- MarkupExtensionParser.cs
- ReadOnlyAttribute.cs
- KnownIds.cs
- MenuItemBindingCollection.cs
- LiteralLink.cs
- AssemblySettingAttributes.cs
- Point4DValueSerializer.cs
- ProxyManager.cs
- IndexOutOfRangeException.cs
- MailSettingsSection.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- ControlLocalizer.cs
- UniformGrid.cs
- ServiceInfoCollection.cs
- ProviderSettingsCollection.cs
- GB18030Encoding.cs
- TextEditorThreadLocalStore.cs
- ControlsConfig.cs
- EventBuilder.cs
- Crc32Helper.cs
- TemplatePropertyEntry.cs
- SizeConverter.cs
- PeerNameResolver.cs
- XmlSchemaObject.cs
- DriveNotFoundException.cs
- FamilyCollection.cs
- Page.cs
- LinkUtilities.cs
- XmlSchemas.cs
- ListParagraph.cs
- FileAuthorizationModule.cs
- XmlSchemaSubstitutionGroup.cs
- Error.cs
- ControlPersister.cs
- BrowsableAttribute.cs
- LineBreakRecord.cs
- ListViewItem.cs
- PageThemeParser.cs
- ActivityExecutionWorkItem.cs
- OutputCacheEntry.cs
- PeerResolverMode.cs
- ClickablePoint.cs
- FirewallWrapper.cs
- TableCellAutomationPeer.cs
- KeyPressEvent.cs
- Emitter.cs
- Dictionary.cs
- WindowsScroll.cs
- BevelBitmapEffect.cs
- Calendar.cs
- ByteStreamMessage.cs
- XmlQueryOutput.cs
- ConnectionProviderAttribute.cs
- EmptyCollection.cs
- ClassGenerator.cs
- ServiceHostFactory.cs
- GridErrorDlg.cs
- regiisutil.cs
- ManagementEventArgs.cs
- FlatButtonAppearance.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XsltCompileContext.cs
- FileClassifier.cs
- TrackingAnnotationCollection.cs
- UidManager.cs
- ITextView.cs
- StrokeCollection.cs
- LockCookie.cs
- ToolStripItemClickedEventArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- ActivityCodeDomReferenceService.cs
- webproxy.cs
- AutomationProperties.cs
- SystemTcpConnection.cs
- LeafCellTreeNode.cs
- CheckedPointers.cs
- StrokeCollection2.cs
- FileDialog.cs
- PingOptions.cs
- InvalidWorkflowException.cs
- SqlInternalConnectionSmi.cs
- HighContrastHelper.cs
- WebPartsSection.cs
- TextDecoration.cs
- NativeMethods.cs
- EventLogTraceListener.cs
- BaseParagraph.cs
- SingleAnimationUsingKeyFrames.cs
- PartialCachingAttribute.cs
- UIElement3D.cs
- WindowsToolbar.cs
- TransactionFormatter.cs