|
/*
Enumeration demo:
Generic class Enumeration provides iteration capabilities based on enumeration or any other type with static fields;
Generic class EnumerationIndexedArray implements enumeration-indexed arrays
Copyright (C) 2008-2010 by Sergey A Kryukov
http://www.SAKryukov.org
*/
using System;
using System.Windows.Forms;
namespace EnumerationDemo {
public partial class FormEnumerationDemo : Form {
public FormEnumerationDemo() {
InitializeComponent();
Setup();
} //FormEnumerationDemo
[STAThread]
static void Main() {
Application.EnableVisualStyles();
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormEnumerationDemo());
} //Main
} //class FormEnumerationDemo
} //namespace EnumerationDemo
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Physics, physical and quantum optics, mathematics, computer science, control systems for manufacturing, diagnostics, testing, and research, theory of music, musical instruments… Contact me:
https://www.SAKryukov.org