Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / Win32Providers / MS / Internal / AutomationProxies / WindowsStartMenu.cs / 1 / WindowsStartMenu.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Implementation of a provider for the Classic Start Menu // // History: // 09/07/2004 : [....] Created // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Automation; using System.Windows.Automation.Provider; using MS.Win32; namespace MS.Internal.AutomationProxies { class WindowsStartMenu : ProxyHwnd, IRawElementProviderSimple { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors public WindowsStartMenu(IntPtr hwnd, ProxyHwnd parent, int item) : base( hwnd, parent, item) { _sAutomationId = "StartMenu"; } #endregion Constructors #region Proxy Create // Static Create method called by UIAutomation to create this proxy. // returns null if unsuccessful internal static IRawElementProviderSimple Create(IntPtr hwnd, int idChild, int idObject) { return Create(hwnd, idChild); } private static IRawElementProviderSimple Create(IntPtr hwnd, int idChild) { // Something is wrong if idChild is not zero if (idChild != 0) { System.Diagnostics.Debug.Assert(idChild == 0, "Invalid Child Id, idChild != 0"); throw new ArgumentOutOfRangeException("idChild", idChild, SR.Get(SRID.ShouldBeZero)); } return new WindowsStartMenu(hwnd, null, 0); } #endregion } } // 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
- ReadOnlyHierarchicalDataSource.cs
- Stack.cs
- X509SecurityToken.cs
- OdbcConnectionString.cs
- QueryCursorEventArgs.cs
- PaintValueEventArgs.cs
- PeerNameResolver.cs
- DetailsViewCommandEventArgs.cs
- XmlSchemaNotation.cs
- GatewayIPAddressInformationCollection.cs
- XmlDataCollection.cs
- SymDocumentType.cs
- DrawingAttributeSerializer.cs
- PhoneCall.cs
- HttpHandlersSection.cs
- TypeDescriptionProvider.cs
- WorkflowInstance.cs
- DeadLetterQueue.cs
- HttpException.cs
- FixedSOMGroup.cs
- OuterGlowBitmapEffect.cs
- TdsParser.cs
- SendingRequestEventArgs.cs
- Visitors.cs
- ControlIdConverter.cs
- WebSysDisplayNameAttribute.cs
- _AuthenticationState.cs
- _RequestLifetimeSetter.cs
- safesecurityhelperavalon.cs
- ListBoxItemWrapperAutomationPeer.cs
- OutputCacheModule.cs
- MenuCommands.cs
- regiisutil.cs
- ColorIndependentAnimationStorage.cs
- Binding.cs
- RegexWorker.cs
- DefaultEvaluationContext.cs
- DataBindingCollection.cs
- CompoundFileIOPermission.cs
- CompressionTracing.cs
- HeaderCollection.cs
- HebrewNumber.cs
- RegexCaptureCollection.cs
- CodeDirectoryCompiler.cs
- ConfigurationSchemaErrors.cs
- DurableOperationAttribute.cs
- SafeRightsManagementPubHandle.cs
- SHA256CryptoServiceProvider.cs
- ObjectDataSourceDisposingEventArgs.cs
- OperationCanceledException.cs
- ToolStripEditorManager.cs
- TextPatternIdentifiers.cs
- PathParser.cs
- Point4DConverter.cs
- EditorPart.cs
- WorkflowDesigner.cs
- ContainerParaClient.cs
- GroupItemAutomationPeer.cs
- DataGridViewHitTestInfo.cs
- ReceiveSecurityHeader.cs
- XmlIterators.cs
- PolicyFactory.cs
- PersonalizationState.cs
- TextTreeInsertElementUndoUnit.cs
- InkPresenter.cs
- BaseComponentEditor.cs
- HttpProcessUtility.cs
- Hash.cs
- diagnosticsswitches.cs
- InvalidCommandTreeException.cs
- Point3DCollection.cs
- Rfc2898DeriveBytes.cs
- QueryAccessibilityHelpEvent.cs
- DeploymentSection.cs
- SignedXml.cs
- IisTraceWebEventProvider.cs
- DataControlFieldCollection.cs
- EditingCommands.cs
- TemplateNameScope.cs
- CqlLexerHelpers.cs
- Int16Animation.cs
- CryptoStream.cs
- RefType.cs
- ScriptManagerProxy.cs
- SpinWait.cs
- EraserBehavior.cs
- FileDialog_Vista_Interop.cs
- IntMinMaxAggregationOperator.cs
- ZipPackage.cs
- MethodImplAttribute.cs
- CompilerTypeWithParams.cs
- WindowAutomationPeer.cs
- TemplateInstanceAttribute.cs
- InternalControlCollection.cs
- XmlCompatibilityReader.cs
- SiteMapDataSourceDesigner.cs
- SoundPlayer.cs
- RepeatBehaviorConverter.cs
- Attributes.cs
- ShaderRenderModeValidation.cs