Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / WinForms / Managed / System / WinForms / SearchForVirtualItemEventArgs.cs / 1 / SearchForVirtualItemEventArgs.cs
using System; using System.Drawing; namespace System.Windows.Forms { ///public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Drawing; namespace System.Windows.Forms { /// public class SearchForVirtualItemEventArgs : EventArgs { private bool isTextSearch; private bool isPrefixSearch; private bool includeSubItemsInSearch; private string text; private Point startingPoint; private SearchDirectionHint direction; private int startIndex; private int index = -1; /// public SearchForVirtualItemEventArgs(bool isTextSearch, bool isPrefixSearch, bool includeSubItemsInSearch, string text, Point startingPoint, SearchDirectionHint direction, int startIndex) { this.isTextSearch = isTextSearch; this.isPrefixSearch = isPrefixSearch; this.includeSubItemsInSearch = includeSubItemsInSearch; this.text = text; this.startingPoint = startingPoint; this.direction = direction; this.startIndex = startIndex; } /// public bool IsTextSearch { get { return isTextSearch; } } /// public bool IncludeSubItemsInSearch { get { return includeSubItemsInSearch; } } /// public int Index { get { return this.index; } set { this.index = value; } } /// public bool IsPrefixSearch { get { return isPrefixSearch; } } /// public string Text{ get { return text; } } /// public Point StartingPoint { get { return startingPoint; } } /// public SearchDirectionHint Direction { get { return direction; } } /// public int StartIndex { get { return startIndex; } } } } // 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
- MessageBox.cs
- SqlTriggerContext.cs
- DecimalAnimation.cs
- EmissiveMaterial.cs
- UpdateTranslator.cs
- XmlNotation.cs
- ImageAutomationPeer.cs
- FormCollection.cs
- RegistryPermission.cs
- TableParaClient.cs
- InvalidDataException.cs
- DataGridViewCellLinkedList.cs
- DbParameterHelper.cs
- HtmlTable.cs
- CodeIndexerExpression.cs
- FollowerQueueCreator.cs
- httpserverutility.cs
- TypefaceMetricsCache.cs
- GlyphElement.cs
- Vector3DAnimation.cs
- MenuItemStyle.cs
- ExpressionNormalizer.cs
- MruCache.cs
- SeekableMessageNavigator.cs
- LazyTextWriterCreator.cs
- HwndTarget.cs
- DataBindingCollection.cs
- ContextMenu.cs
- RtfFormatStack.cs
- WS2007HttpBinding.cs
- QilFactory.cs
- InstanceCreationEditor.cs
- QilLiteral.cs
- WebConfigurationManager.cs
- ToolStripSettings.cs
- TextDecorations.cs
- Size.cs
- SingleConverter.cs
- RIPEMD160Managed.cs
- MembershipValidatePasswordEventArgs.cs
- ResourceWriter.cs
- XmlSchemaProviderAttribute.cs
- RelatedImageListAttribute.cs
- SimpleWebHandlerParser.cs
- TextRangeEditLists.cs
- DataKey.cs
- QilTypeChecker.cs
- Merger.cs
- DataGridColumnHeader.cs
- SqlUserDefinedAggregateAttribute.cs
- InplaceBitmapMetadataWriter.cs
- Bidi.cs
- SequenceDesignerAccessibleObject.cs
- LicenseContext.cs
- PointLightBase.cs
- Scheduler.cs
- Point4D.cs
- MemberDomainMap.cs
- ThreadStaticAttribute.cs
- VarInfo.cs
- SmtpNegotiateAuthenticationModule.cs
- ResizeGrip.cs
- WindowsTooltip.cs
- Vector3DValueSerializer.cs
- DriveNotFoundException.cs
- AuthorizationPolicyTypeElement.cs
- SqlDataSourceStatusEventArgs.cs
- WebUtil.cs
- ComPlusInstanceContextInitializer.cs
- InstanceHandleReference.cs
- DataBindingCollection.cs
- VisualTransition.cs
- FilterException.cs
- StreamInfo.cs
- SerialErrors.cs
- PackageRelationshipSelector.cs
- ListItemConverter.cs
- IndentTextWriter.cs
- RepeatBehavior.cs
- COAUTHINFO.cs
- HtmlForm.cs
- MILUtilities.cs
- RequiredAttributeAttribute.cs
- ToolStripContainerDesigner.cs
- ThicknessAnimation.cs
- EntityDataSourceReferenceGroup.cs
- ColorKeyFrameCollection.cs
- ChannelToken.cs
- HtmlInputControl.cs
- TerminatorSinks.cs
- ServiceDocumentFormatter.cs
- AesManaged.cs
- XamlPointCollectionSerializer.cs
- _OverlappedAsyncResult.cs
- EditCommandColumn.cs
- ExpressionBindingCollection.cs
- ApplicationServiceHelper.cs
- ToolStripLocationCancelEventArgs.cs
- SqlNamer.cs
- GeometryCollection.cs