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
- ISAPIApplicationHost.cs
- While.cs
- IntegerFacetDescriptionElement.cs
- IInstanceContextProvider.cs
- HostProtectionPermission.cs
- TypeLoadException.cs
- GetBrowserTokenRequest.cs
- ResXResourceSet.cs
- TextParagraph.cs
- ReadOnlyAttribute.cs
- BroadcastEventHelper.cs
- ObjectStateEntry.cs
- Point3D.cs
- DataSourceSelectArguments.cs
- CurrencyManager.cs
- ContainerParaClient.cs
- UshortList2.cs
- BinaryFormatter.cs
- UserCancellationException.cs
- COM2TypeInfoProcessor.cs
- DataGrid.cs
- RadioButtonList.cs
- RectangleGeometry.cs
- SingleObjectCollection.cs
- TypedElement.cs
- GrammarBuilder.cs
- ConfigurationSection.cs
- WmlSelectionListAdapter.cs
- EncodingTable.cs
- LinqDataSourceDisposeEventArgs.cs
- Connection.cs
- OleDbCommandBuilder.cs
- FlowLayoutPanelDesigner.cs
- NameNode.cs
- VersionConverter.cs
- DesignerForm.cs
- Sentence.cs
- MonthCalendar.cs
- Image.cs
- DeviceOverridableAttribute.cs
- SHA256Cng.cs
- SingleConverter.cs
- AspCompat.cs
- RuleSettings.cs
- PermissionSetTriple.cs
- DataGridViewCellPaintingEventArgs.cs
- SessionEndingEventArgs.cs
- DebugView.cs
- HttpFileCollectionBase.cs
- SelectionEditor.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ContextMarshalException.cs
- WebPartConnectionsCancelEventArgs.cs
- NativeBuffer.cs
- DataViewManagerListItemTypeDescriptor.cs
- TreeNodeConverter.cs
- DebuggerAttributes.cs
- BufferedGraphics.cs
- MetafileHeaderWmf.cs
- StaticDataManager.cs
- _KerberosClient.cs
- _TLSstream.cs
- DbTransaction.cs
- LineSegment.cs
- ActivationServices.cs
- storepermissionattribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SQLConvert.cs
- RowParagraph.cs
- SelectingProviderEventArgs.cs
- PropertyStore.cs
- SamlAttributeStatement.cs
- ErrorWrapper.cs
- DnsPermission.cs
- ResourcePool.cs
- SchemaCollectionCompiler.cs
- FindCriteriaElement.cs
- FlowchartDesigner.Helpers.cs
- NetDispatcherFaultException.cs
- Wildcard.cs
- ConstrainedGroup.cs
- RuntimeWrappedException.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- XamlWriter.cs
- MarkupCompiler.cs
- WebPartDisplayModeEventArgs.cs
- NetNamedPipeSecurityMode.cs
- Misc.cs
- MaskedTextBox.cs
- Literal.cs
- MessageSecurityException.cs
- PathStreamGeometryContext.cs
- TextRunCache.cs
- UnmanagedMemoryStream.cs
- HorizontalAlignConverter.cs
- DeferredTextReference.cs
- Process.cs
- BackStopAuthenticationModule.cs
- RecognizerStateChangedEventArgs.cs
- SimpleBitVector32.cs