+2006-03-29 Mike Kestner <mkestner@novell.com>
+
+ * ResXResourceWriter.cs: Make Dispose() virtual.
+
2006-01-14 Robert Jordan <robertj@gmx.net>
* ResXResourceReader.cs: Fix for bug #77253. Thanks to Marek Habersack
}
}
- public void Dispose ()
+ public virtual void Dispose ()
{
Dispose(true);
GC.SuppressFinalize(this);
+2006-03-29 Mike Kestner <mkestner@novell.com>
+
+ * *.cs: fix remaining corcompare issues for 1.1 API with the exception
+ of PrintPreviewDialog and RichTextBox.
+
2006-03-29 Alexander Olk <alex.olk@googlemail.com>
* Theme.cs: Added a little helper to SystemResPool to get the Dark,
get { return true; }
}
- object IList.this[int index] {
- get { return object_items[index]; }
- set { throw new NotSupportedException (); }
- }
-
#endregion Public Properties
#region Public Methods
throw new NotSupportedException ();
}
- bool IList.Contains (object selectedIndex)
- {
- throw new NotImplementedException ();
- }
-
void IList.Insert (int index, object value)
{
throw new NotSupportedException ();
}
}
- bool IList.IsReadOnly {
- get {
- return list.IsReadOnly;
- }
- }
-
bool ICollection.IsSynchronized {
get {
return list.IsSynchronized;
list.Remove(value);
}
- void ICollection.CopyTo(Array array, int index) {
- if (list.Count>0) {
- list.CopyTo(array, index);
- }
- }
-
Object ICloneable.Clone() {
ControlCollection clone = new ControlCollection(this.owner);
clone.list=(ArrayList)list.Clone(); // FIXME: Do we need this?
#region Public Instance Methods
[MonoTODO]
- public virtual bool BeginEdit (DataGridColumnStyle gridColumn, int rowNumber)
+ public bool BeginEdit (DataGridColumnStyle gridColumn, int rowNumber)
{
return false;
}
- public virtual void BeginInit ()
+ public void BeginInit ()
{
begininit = true;
}
base.Dispose (disposing);
}
- public virtual bool EndEdit (DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort)
+ public bool EndEdit (DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort)
{
if (is_adding == true) {
if (shouldAbort) {
return true;
}
- public virtual void EndInit ()
+ public void EndInit ()
{
begininit = false;
}
#region Public Instance Methods
[MonoTODO]
- public virtual bool BeginEdit (DataGridColumnStyle gridColumn, int rowNumber)
+ public bool BeginEdit (DataGridColumnStyle gridColumn, int rowNumber)
{
throw new NotImplementedException ();
}
}
[MonoTODO]
- public virtual bool EndEdit ( DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort)
+ public bool EndEdit ( DataGridColumnStyle gridColumn, int rowNumber, bool shouldAbort)
{
throw new NotImplementedException ();
}
#endregion // Public Instance Properties
#region Protected Instance Properties
+ protected int Options {
+ get { return 0; }
+ }
#endregion // Protected Instance Properties
#region Public Instance Methods
#endregion // Public Instance Methods
#region Protected Instance Methods
+ protected override IntPtr HookProc (IntPtr hWnd, int msg, IntPtr wparam, IntPtr lparam)
+ {
+ return base.HookProc (hWnd, msg, wparam, lparam);
+ }
+
[MonoTODO]
protected override bool RunDialog( IntPtr hwndOwner )
{
}
}
+ [Browsable(false)]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ [EditorBrowsable(EditorBrowsableState.Advanced)]
public MainMenu MergedMenu {
get {
if (!IsMdiChild || window_manager == null)
get { return true; }
}
- object IList.this[int index] {
- get { return object_items[index]; }
- set { throw new NotSupportedException (); }
- }
-
#endregion Public Properties
#region Public Methods
throw new NotSupportedException ();
}
- bool IList.Contains (object selectedIndex)
- {
- throw new NotImplementedException ();
- }
-
void IList.Insert (int index, object value)
{
throw new NotSupportedException ();
return list.Contains (item);
}
- void ICollection.CopyTo (Array dest, int index)
+ public void CopyTo (Array dest, int index)
{
list.CopyTo (dest, index);
}
namespace System.Windows.Forms {
+ [DefaultProperty("Document")]
public sealed class PageSetupDialog : CommonDialog {
#region Local variables
private PrintDocument document;
#endregion // Public Instance Methods
#region Public Instance Properties
+ [DefaultValue(true)]
public bool AllowMargins {
get { return allow_margins; }
set { allow_margins = value; }
}
+ [DefaultValue(true)]
public bool AllowOrientation {
get { return allow_orientation; }
set { allow_orientation = value; }
}
+ [DefaultValue(true)]
public bool AllowPaper {
get { return allow_paper; }
set { allow_paper = value; }
}
+ [DefaultValue(true)]
public bool AllowPrinter {
get { return allow_printer; }
set { allow_printer = value; }
}
+ [DefaultValue(null)]
public PrintDocument Document {
get { return document; }
set { document = value; }
set { min_margins = value; }
}
+ [Browsable(false)]
+ [DefaultValue(null)]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public PageSettings PageSettings {
get { return page_settings; }
set { page_settings = value; }
}
+ [Browsable(false)]
+ [DefaultValue(null)]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public PrinterSettings PrinterSettings {
get { return printer_settings; }
set { printer_settings = value; }
}
+ [DefaultValue(false)]
public bool ShowHelp {
get { return show_help; }
set { show_help = value; }
}
+ [DefaultValue(true)]
public bool ShowNetwork {
get { return show_network; }
set { show_network = value; }
#endregion // Protected Instance Methods\r
\r
#region Internal Class\r
- public class PrintingDialog : Form {\r
+ class PrintingDialog : Form {\r
private Button buttonCancel;\r
private Label label;\r
\r
get { return document; }
set { document = value; }
}
- [DefaultValue(0)]
+ [DefaultValue(1)]
public int Rows {
get { return rows; }
set { rows = value; }
set { startPage = value; }
}
+ [Bindable(false)]
+ [Browsable(false)]
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public override string Text {\r
get {\r
return base.Text;\r
get { return useAntiAlias; }
set { useAntiAlias = value; }
}
- [DefaultValue(1.0)]
+
public double Zoom {
get { return zoom; }
set { zoom = value; }
public event EventHandler StartPageChanged;
+ [Browsable(false)]
+ [EditorBrowsable(EditorBrowsableState.Never)]
public new event EventHandler TextChanged;
}
-}
\ No newline at end of file
+}