Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

An XML- and State Machine-based Design of a WinForms Control

, 1 Dec 2002
Usage of state machine and comprehensive XML description of control helps its user to considerably simplify control handling code.
xmlstatemachinewfcontrol_src.zip
res
Mixed.gif
Show.gif
Hide.gif
EstoniaFlag.gif
Weather.gif
LatviaFlag.gif
LithuaniaFlag.gif
hand.cur
Lithuania0.gif
Estonia0.gif
Baltia.jpg
Latvia1.gif
Lithuania1.gif
Estonia1.gif
Latvia0.gif
NoFlag.gif
Raining.gif
Sunny.gif
<?xml version="1.0" encoding="utf-8" ?> 
<ErrorMessages
	ErrorMessages="Nodes processing failed while reading from 'ErrorMessage.xml' file."
	Picture="Control fails to create image of the '{0}' state."
	LoadConfigFile="Loading file '{0}' failed."
	ProcessNode="Nodes processing failed."
	ReadingTag="Reading '{0}' tag data failed."
	WritingTag="Writing '{0}' tag data failed."
	TagState="Reading '{0}' tag data for Visual Element '{1}' failed."
	LoadAssembly="Loading assembly '{0}' failed."
	StateTransition="'{0}' element: the state transition element [{1}, {2}] is out of range (wrong value is {3})."
	ControlStatesMatrix="The control states matrix element [{0}, {1}] is out of range (wrong value is {2})."
/>

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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Igor Ladnik
Architect
Israel Israel


  • Nov 2010: Code Project Contests - Windows Azure Apps - Winner
  • Feb 2011: Code Project Contests - Windows Azure Apps - Grand Prize Winner

Follow on   LinkedIn

| Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 2 Dec 2002
Article Copyright 2002 by Igor Ladnik
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid