Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Drawing / System / Drawing / Design / BitmapEditor.cs / 1 / BitmapEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Design { using System.Runtime.Serialization.Formatters; using System.Diagnostics; using System; using System.IO; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class BitmapEditor : ImageEditor { ///Provides an editor that can perform default file searching for bitmap (.bmp) /// files. ////// /// protected override string GetFileDialogDescription() { return SR.GetString(SR.bitmapFileDescription); } ///[To be supplied.] ////// /// protected override string[] GetExtensions() { return new string[] { "bmp","gif","jpg","jpeg", "png", "ico" }; } ///[To be supplied.] ////// /// protected override Image LoadFromStream(Stream stream) { return new Bitmap(stream); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReflectionHelper.cs
- ProfessionalColorTable.cs
- SingleQueryOperator.cs
- DefaultPrintController.cs
- ReadWriteObjectLock.cs
- PropertyGridEditorPart.cs
- ActiveXContainer.cs
- AdornerLayer.cs
- RefreshEventArgs.cs
- PeerValidationBehavior.cs
- EdmScalarPropertyAttribute.cs
- DelegateSerializationHolder.cs
- KeyTime.cs
- Int32AnimationBase.cs
- StickyNoteContentControl.cs
- MissingManifestResourceException.cs
- InternalUserCancelledException.cs
- BypassElement.cs
- ElementFactory.cs
- BufferAllocator.cs
- BaseAddressElementCollection.cs
- SelectedDatesCollection.cs
- ToolStripStatusLabel.cs
- DynamicValueConverter.cs
- X509ScopedServiceCertificateElement.cs
- AsyncOperationLifetimeManager.cs
- ControlAdapter.cs
- XmlBinaryReader.cs
- OutArgumentConverter.cs
- StyleCollection.cs
- PriorityQueue.cs
- ToolStripItemEventArgs.cs
- SqlVisitor.cs
- CustomErrorCollection.cs
- DataBindingExpressionBuilder.cs
- HtmlControlPersistable.cs
- FontStretch.cs
- NumericUpDown.cs
- Object.cs
- PartitionedDataSource.cs
- FileDialog.cs
- ImageConverter.cs
- FlowNode.cs
- PropertyRef.cs
- PeerNameRecordCollection.cs
- ExtractorMetadata.cs
- Scene3D.cs
- CommonEndpointBehaviorElement.cs
- RelationshipConverter.cs
- CollectionType.cs
- ExpandSegment.cs
- URIFormatException.cs
- GridView.cs
- HitTestResult.cs
- DesignDataSource.cs
- CodeTypeOfExpression.cs
- ProxyWebPartManager.cs
- DataIdProcessor.cs
- LostFocusEventManager.cs
- IdentityNotMappedException.cs
- OdbcUtils.cs
- BamlLocalizationDictionary.cs
- Wizard.cs
- ModelPerspective.cs
- UnsafeNativeMethodsPenimc.cs
- ResXFileRef.cs
- DataGridViewIntLinkedList.cs
- TreeViewItemAutomationPeer.cs
- XmlWrappingWriter.cs
- SessionState.cs
- CompositeScriptReference.cs
- ReachDocumentPageSerializerAsync.cs
- BlurBitmapEffect.cs
- EntitySqlQueryState.cs
- OptimizedTemplateContentHelper.cs
- HttpRuntimeSection.cs
- WebConfigurationHostFileChange.cs
- StructuredProperty.cs
- ToolStripContextMenu.cs
- PageEventArgs.cs
- IgnoreSectionHandler.cs
- DataGridViewLinkCell.cs
- RegexMatch.cs
- InheritanceAttribute.cs
- RadioButtonBaseAdapter.cs
- SerializationException.cs
- NetworkInformationPermission.cs
- RootCodeDomSerializer.cs
- Region.cs
- ADMembershipProvider.cs
- SkinBuilder.cs
- ValidateNames.cs
- KeySpline.cs
- DataServiceHostFactory.cs
- CommandConverter.cs
- ManagedWndProcTracker.cs
- TrackingProfileDeserializationException.cs
- MTConfigUtil.cs
- EntityCommandCompilationException.cs
- TemplateInstanceAttribute.cs