Revert rev.68635 changes to Form.cs and PrintPreviewDialog.cs
authorAndreia Gaita <avidigal@novell.com>
Wed, 29 Nov 2006 16:29:52 +0000 (16:29 -0000)
committerAndreia Gaita <avidigal@novell.com>
Wed, 29 Nov 2006 16:29:52 +0000 (16:29 -0000)
commit2b52ca90082de09e89ff133c093e52147de7ad47
tree03316c0c3512bab78e1f2554475e33116a29f5dd
parente8ead7bcfb8e287b64d493a83c1d701b80c4843a
Revert rev.68635 changes to Form.cs and PrintPreviewDialog.cs

* Form.cs: Revert previous change (remove call UpdateBounds
from form constructor), because it messes with the handle creation
order, and that one needs lots and lots of love.

* PrintPreviewDialog.cs: Revert change to CreateHandle (add check
for valid printer and throw InvalidPrinterException if document
is set but printer not valid), adding a MonoTODO. Once
handle creation is done properly, we can put this back in.

2006-11-29  Andreia Gaita  <avidigal@novell.com>

svn path=/trunk/mcs/; revision=68671
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/PrintPreviewDialog.cs