Mgen object 281: File Dialog Box Filter Generator

Source: Internet
Author: User

Version:

Minimum running environment . Net 3.0
Supported languages Chinese/English

 

Write this tool to facilitate the compilation of Windows File Dialog Box Filter, because the filter of the file dialog box is relatively difficult to write, especially when many file types are supported.

For example, the following types are supported in the Visual Studio file opening dialog box:

 

The use of mgen object 281 is very simple. The sample text is displayed on the interface, and the format is clear at a glance, as shown below:

 

After you click Generate, the filters for Chinese and English are displayed respectively. For example, the sample text will automatically generate the filter in Chinese and English as follows:

// Chinese

Image File (*. JPG ;*. JPEG ;*. PNG ;*. GIF ;*. BMP) | *. JPG ;*. JPEG ;*. PNG ;*. GIF ;*. BMP | text file (*. txt ;*. log) | *. txt ;*. log | PDF file (*. PDF) | *. PDF | all files (*. *) | *. *

 

// English

Image files (*. JPG ;*. JPEG ;*. PNG ;*. GIF ;*. BMP) | *. JPG ;*. JPEG ;*. PNG ;*. GIF ;*. BMP | text files (*. txt ;*. log) | *. txt ;*. log | PDF files (*. PDF) | *. PDF | all files (*. *) | *. *

 

In addition, you can select the preview function to directly open a file opening dialog box for the test, such:

 

 

 

Current versionProgramAndSource codeDownload
Download Page
Note: the link is the Microsoft SkyDrive page. When downloading, use a browser to download it directly. Some download tools may not be available for downloading.
Program environment:. NET Framework 3.0
SourceCodeEnvironment: Microsoft Visual Studio express 2012 for Windows Desktop
Note: The Source Code does not contain the referenced external class library file: mgen fx17 project 2.5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.