* XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / PrintDialog.cs
index f08fff1346a11c97e3912ea5985fd4e9b1c7a015..1a2b19ff72db7f91b2cef1d22a62e123023499c5 100644 (file)
@@ -37,10 +37,16 @@ using System.Reflection;
 
 namespace System.Windows.Forms
 {
+#if NET_2_0
+       [Designer ("System.Windows.Forms.Design.PrintDialogDesigner, " + Consts.AssemblySystem_Design,
+                  "System.ComponentModel.Design.IDesigner")]
+#endif
        [DefaultProperty("Document")]
        public sealed class PrintDialog : CommonDialog {
                PrintDocument document;
+#if NET_2_0
                bool allow_current_page;
+#endif
                bool allow_print_to_file;
                bool allow_selection;
                bool allow_some_pages;
@@ -92,6 +98,7 @@ namespace System.Windows.Forms
                }
 
 #if NET_2_0
+               [DefaultValue (false)]
                public bool AllowCurrentPage {
                        get {
                                return allow_current_page;