Author: toshok
Date: 2006-12-06 22:14:14 -0500 (Wed, 06 Dec 2006)
New Revision: 69151
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
Log:
* ToolTip.cs: use Visible instead of is_visible.
* TreeView.cs: same.
* ListBox.cs: same.
* ListView.cs: same.
2006-12-06 Chris Toshok <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-12-07 01:28:17 UTC (rev 69150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-12-07 03:14:14 UTC (rev 69151)
@@ -1,5 +1,15 @@
2006-12-06 Chris Toshok <[EMAIL PROTECTED]>
+ * ToolTip.cs: use Visible instead of is_visible.
+
+ * TreeView.cs: same.
+
+ * ListBox.cs: same.
+
+ * ListView.cs: same.
+
+2006-12-06 Chris Toshok <[EMAIL PROTECTED]>
+
* ListView.cs: the BackgroundImage override is just to set
attributes. chain up to base.BackgroundImage.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
2006-12-07 01:28:17 UTC (rev 69150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
2006-12-07 03:14:14 UTC (rev 69151)
@@ -1633,12 +1633,12 @@
internal void RepositionScrollBars ()
{
- if (vscrollbar.is_visible) {
+ if (vscrollbar.Visible) {
vscrollbar.Size = new Size (vscrollbar.Width,
items_area.Height);
vscrollbar.Location = new Point
(items_area.Width, 0);
}
- if (hscrollbar.is_visible) {
+ if (hscrollbar.Visible) {
hscrollbar.Size = new Size (items_area.Width,
hscrollbar.Height);
hscrollbar.Location = new Point (0,
items_area.Height);
}
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2006-12-07 01:28:17 UTC (rev 69150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2006-12-07 03:14:14 UTC (rev 69151)
@@ -883,7 +883,7 @@
item_control.Height = ClientRectangle.Height -
header_control.Height;
- if (h_scroll.is_visible) {
+ if (h_scroll.Visible) {
h_scroll.Location = new Point (client_area.X,
client_area.Bottom - h_scroll.Height);
h_scroll.Minimum = 0;
@@ -903,11 +903,11 @@
item_control.Height -= h_scroll.Height;
}
- if (header_control.is_visible)
+ if (header_control.Visible)
header_control.Width = ClientRectangle.Width;
item_control.Width = ClientRectangle.Width;
- if (v_scroll.is_visible) {
+ if (v_scroll.Visible) {
v_scroll.Location = new Point
(client_area.Right - v_scroll.Width, client_area.Y);
v_scroll.Minimum = 0;
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
2006-12-07 01:28:17 UTC (rev 69150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolTip.cs
2006-12-07 03:14:14 UTC (rev 69151)
@@ -135,7 +135,7 @@
private void ToolTipWindow_VisibleChanged(object
sender, EventArgs e) {
Control control = (Control)sender;
- if (control.is_visible) {
+ if (control.Visible) {
XplatUI.SetTopmost(control.window.Handle, IntPtr.Zero, true);
} else {
XplatUI.SetTopmost(control.window.Handle, IntPtr.Zero, false);
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
2006-12-07 01:28:17 UTC (rev 69150)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
2006-12-07 03:14:14 UTC (rev 69151)
@@ -940,7 +940,7 @@
internal void SetTop (TreeNode node)
{
- if (!vbar.is_visible)
+ if (!vbar.Visible)
return;
TreeNode first = root_node.FirstNode;
@@ -959,7 +959,7 @@
internal void SetBottom (TreeNode node)
{
- if (!vbar.is_visible)
+ if (!vbar.Visible)
return;
OpenTreeNodeEnumerator walk = new
OpenTreeNodeEnumerator (node);
@@ -1523,7 +1523,7 @@
private void MouseWheelHandler(object sender, MouseEventArgs e)
{
- if (vbar == null || !vbar.is_visible) {
+ if (vbar == null || !vbar.Visible) {
return;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches