I have a calculator control on a form, and I want to start it off with a known value. So I set the Text property to the value I want to edit. As soon as the user pressed "+", though, the value reverts to 0. Values AFTER this point survive mathematical operations just fine, but I really need to give the user a starting point. Is there anything I can do?
No, this is not a bug, it's the intended behavior. When you simply set the Text, the control has no way of knowing if this is part of a calculation in progress or the result of a calculation. So it's can't know what to do with it when the user starts pressing buttons. This is preceisely the reason why methods like PushButton and ParseString exist.
I found that calling the ParseString method results in pretty much the same thing. It makes the calculator work by pretending that someone just typed each digit in manually. Still though, this is pretty lame. I'd definitely call it a bug, and put it in the queue.
I think you have to simulate user action rather than setting the Text. Try the PushButton method. For example, to initialize the value to 100, you could do this:
this.ultraCalculator1.PushButton("1"); this.ultraCalculator1.PushButton("0"); this.ultraCalculator1.PushButton("0");