Commit Graph
8 Commits
Author SHA1 Message Date
Chris Toshok abd0a75fd9 * DataGridView.cs: fix compiler warnings.
* PrintControllerWithStatusDialog.cs: same.

	* ToolBar.cs: same.

	* FolderBrowserDialog.cs: same.

	* Splitter.cs: same.

	* DataGridViewComboBoxCell.cs: same.

	* XplatUIWin32.cs: same.

	* PictureBox.cs: same.

	* Win32DnD.cs: same.

	* PageSetupDialog.cs: same.

	* FileDialog.cs: same.

	* PrintDialog.cs: same.

	* DataGridTextBoxColumn.cs: same.

	* DrawTreeNodeEventArgs.cs: same (and fix corcompare)

2006-12-05  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=69060
2006-12-05 18:35:11 +00:00
Andreia Gaita a5f86022b8 2006-11-28 Andreia Gaita <[email protected]>
* Form.cs: Removed call to UpdateBounds on Form
constructor, it was causing a call to CreateHandle
before it was supposed to.
* PrintControllerWithStatusDialog: Applied patch
by Chris Toshok to hide controller when there are
no printers available.
PrintDialog.cs: initialize printer settings to 
null - correct DefaultValues test #5
* PrintPreviewControl.cs: Move PrintController
initialization to GeneratePreview
* PrintPreviewDialog.cs: 
- Remove Preview generation	from Document_set(). It is 
called on OnPaint
- Throw InvalidPrinterException on CreateHandle if
a Document is set but there are no printers or 
printer is not valid.
* ThemeWin32Classic: don't paint PrintPreviewControl
if there is nothing to paint

* PageSettings.cs: 
- internal member name changes to help
out with intelisense. 
- Use internal members directly instead of using
corresponding properties so that exceptions are not thrown
* PrintingServicesWin32:
- Only return DefaultPrinter if it is actually valid. This
is because Win32GetDefaultPrinter returns a printer name
even if PrintSpooler is stopped (which should  behave the
same way as if there are no printers installed)
- Do not try to allocate if EnumPrinters returns 0

svn path=/trunk/mcs/; revision=68635
2006-11-29 03:13:04 +00:00
Raja R Harinath 9bdec12456 Kill all executable flags on *.cs and ChangeLog files.
AKA: fun with find(1)+xargs(1)
AKA: find . -name \*.cs -and -perm /a+x | xargs svk propdel svn:executable

svn path=/trunk/mcs/; revision=66131
2006-09-30 18:29:13 +00:00
Chris Toshok c83b7df5d8 2006-08-08 Chris Toshok <[email protected]>
* PrintControllerWithStatusDialog.cs: don't .Close() the status
	dialog, as this causes X errors later on, since we actually
	destroy the window.  Instead, .Hide() it.


svn path=/trunk/mcs/; revision=63504
2006-08-08 18:45:03 +00:00
Chris Toshok 203c098847 2006-07-26 Chris Toshok <[email protected]>
* ThemeWin32Classic.cs: add print preview rendering.  I'm not
	satisfied with this solution.  If the bitmaps are small, we should
	just cache them in the PrintPreviewDialog and draw them here.
	Also, the layout is broken for the 2-up and 3-up cases.

	* Theme.cs: add PrintPReviewControlPaint.

	* PrintPreviewDialog.cs: first pass implementation.

	* PrintPreviewControl.cs: first pass implementation.  No
	scrollbars yet.

	* PrintDialog.cs: only validate fields if that particular portion
	of the UI is enabled.  Also, set the document's controller to a
	PrintControllerWithStatusDialog wrapping the document's print
	controller.

	* PrintControllerWithStatusDialog.cs: if we're printing to a file,
	bring up a SaveFileDialog (i hope we don't want to match the
	behavior of the crappy windows file entry) and set the
	PrinterSettings.PrintFileName accordingly.


svn path=/trunk/mcs/; revision=63022
2006-07-26 23:13:55 +00:00
Mike Kestner 85756d8ab2 2006-03-29 Mike Kestner <[email protected]>
* *.cs: fix remaining corcompare issues for 1.1 API with the exception
	of PrintPreviewDialog and RichTextBox.

svn path=/trunk/mcs/; revision=58743
2006-03-29 17:07:10 +00:00
Jonathan Chambers 419e04aca3 2006-01-9 Jonathan Chambers <[email protected]>
* PrintControllerWithStatusDialog.cs: Update page number in dialog.


svn path=/trunk/mcs/; revision=55282
2006-01-10 04:18:52 +00:00
Jonathan Chambers d5e97b2639 Added PrintControllerWithStatusDialog.
svn path=/trunk/mcs/; revision=55279
2006-01-10 03:58:13 +00:00