HelpFileFileNameEditor.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / HelpFileFileNameEditor.cs / 1 / HelpFileFileNameEditor.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

/* 
 */ 
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope="member", Target="System.Windows.Forms.Design.HelpNamespaceEditor..ctor()")]
 

namespace System.Windows.Forms.Design {
    using System.Design;
    using System.Runtime.Serialization.Formatters; 

    using System.Diagnostics; 
 
    using System;
    using System.Drawing; 
    using System.ComponentModel;
    using Microsoft.Win32;

    ///  
    /// 
    ///     This is a filename editor for choosing help files. 
    ///  
    /// 
    internal class HelpNamespaceEditor : FileNameEditor { 

        /// 
        /// 
        ///      Initializes the open file dialog when it is created.  This gives you 
        ///      an opportunity to configure the dialog as you please.  The default
        ///      implementation provides a generic file filter and title. 
        ///  
        protected override void InitializeDialog(OpenFileDialog openFileDialog) {
            openFileDialog.Filter = SR.GetString(SR.HelpProviderEditorFilter); 
            openFileDialog.Title = SR.GetString(SR.HelpProviderEditorTitle);
        }
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK