文件名称:Enum_Combo_Boxes
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2016-06-18
- 文件大小:
- 59kb
- 下载次数:
- 0次
- 提 供 者:
- Mahdi*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Populating Combo Boxes Enums
-Introduction
I have always believed that the best programmers are lazy programmers in the sense that they hate repetitious coding and want to find ways to automate and reduce the amount of code that must be produced. One area where this comes into practice is with fixed-value combo boxes that usually translate into values that need to be worked with in code. Most programmers end up coding various kinds of string lists and KeyValuePairs trying to make this work, and end up doing it over and over.
The EnumFunctions module with the accompanying demo form is an attempt to automate this and to do so in a way that is language independent. By the way, the code and examples are provided in both VB.Net and C#.
Background
I usually try to write applications and products that are language and culture independent so that they can be translated to different countries and languages. This means that in practice, I do not store human-readable values (e.g. Strings) in the but instead rely on
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Enum Combo Boxes
................\Enum Combo Boxes
................\Enum Combo Boxes CSharp
................\.......................\bin
................\.......................\...\Debug
................\.......................\...\Release
................\.......................\Contact.cs
................\.......................\ContactDefinitions.cs
................\.......................\Contacts.Designer.cs
................\.......................\Contacts.xsc
................\.......................\Contacts.xsd
................\.......................\Contacts.xss
................\.......................\Enum Combo Boxes CSharp.csproj
................\.......................\EnumFunctions.cs
................\.......................\frmContacts.cs
................\.......................\frmContacts.Designer.cs
................\.......................\frmContacts.resx
................\.......................\Program.cs
................\.......................\Properties
................\.......................\..........\AssemblyInfo.cs
................\.......................\..........\Resources.resx
................\.......................\..........\Resources1.Designer.cs
................\.......................\..........\Settings.Designer.cs
................\.......................\..........\Settings.settings
................\Enum Combo Boxes.sln
................\Enum Combo Boxes.sln.docstates.suo
................\Enum Combo Boxes.suo
................\................\bin
................\................\...\Debug
................\................\...\Release
................\................\Contact.vb
................\................\ContactDefinitions.vb
................\................\Contacts.Designer.vb
................\................\Contacts.xsc
................\................\Contacts.xsd
................\................\Contacts.xss
................\................\Enum Combo Boxes VB.vbproj
................\................\Enum Combo Boxes VB.vbproj.user
................\................\EnumFunctions.vb
................\................\frmContacts.Designer.vb
................\................\frmContacts.resx
................\................\frmContacts.vb
................\................\My Project
................\................\..........\Application.Designer.vb
................\................\..........\Application.myapp
................\................\..........\AssemblyInfo.vb
................\................\..........\DataSources
................\................\..........\...........\Contact.datasource
................\................\..........\Resources.Designer.vb
................\................\..........\Resources.resx
................\................\..........\Settings.Designer.vb
................\................\..........\Settings.settings