StartFileNameEditor.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 / Monitoring / System / Diagnostics / Design / StartFileNameEditor.cs / 1 / StartFileNameEditor.cs

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

namespace System.Diagnostics.Design { 
 
    using System.Diagnostics;
    using System; 
    using Microsoft.Win32;
    using System.Design;
    using System.IO;
    using System.ComponentModel; 
    using System.Collections;
    using System.Windows.Forms; 
    using System.Windows.Forms.Design; 

 
    /// 
    /// 
    ///     Editor for the ProcessStartInfo.FileName property.
    ///  
    /// 
    [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] 
    internal class StartFileNameEditor : FileNameEditor { 
        protected override void InitializeDialog(OpenFileDialog openFile) {
            openFile.Filter = SR.GetString(SR.StartFileNameEditorAllFiles); 
            openFile.Title = SR.GetString(SR.StartFileNameEditorTitle);
        }
    }
} 

// 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