How can I represent chemical reactions in windows form? I am using c# language. It is possible to represent mathematical formulas using mimetxt.dll
, but what about chemical reactions?
In short, I want to represent on win forms 2H2 + O2 = 2H2O
and complex forms in proper format like:
How can I achieve this?
This is not really the kind of simple question that is likely to get a good answer.
Someone who is working in the chemistry field might know of a helper library that can be used to draw these kinds of diagrams. But you need to hope someone with that specialist knowledge exists and notices your question. Alternatively you are going to have to write all the code yourself and given you want to represent arbitrarily complex diagrams this is a non-trivial task.
I recommend trying to find commercial software for drawing diagrams and asking those companies if you can draw what you need. Companies such as Dundas and SoftwareFX are worth trying first. Also try looking at commercial applications used in the chemical industries to see if anyone else draws these things and see if you can ask them how they did it.