on the first try, I broke it:
Quote:
Unhandled exception, Value was either too large or too small for a decimal.
************** Exception Text **************
System.OverflowException: Value was either too large or too small for a Decimal.
at System.Decimal..ctor(Double value)
at Microsoft.VisualBasic.CompilerServices.DecimalType.FromObject(Object Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.DecimalType.FromObject(Object Value)
at Zone_Rect.Form1.BtnCalculate_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMso Component.FPreTranslateMessage(MSG& msg.
|
No biggie, just thought you may want to make an error handler for it.
I was in location calculator, x=12,y=123,width=1,height=11,zonerect is 1,1,1,1 (thats prob what caused it)