Jelajahi Sumber

* TreeNode.cs:
* MonthCalendar.cs: Signature fixes


svn path=/trunk/mcs/; revision=37913

Jackson Harper 21 tahun lalu
induk
melakukan
2b3e2b2772

+ 3 - 3
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MonthCalendar.cs

@@ -823,7 +823,7 @@ namespace System.Windows.Forms {
 							} else if (time > calendar_month && i == CalendarDimensions.Width*CalendarDimensions.Height - 1) {
 								return new HitTestInfo(HitArea.NextMonthDate, point, time);
 							}
-							return new HitTestInfo(HitArea.NoWhere, point, time);
+							return new HitTestInfo(HitArea.Nowhere, point, time);
 						}
 						return new HitTestInfo(HitArea.Date, point, time);
 					}
@@ -1732,7 +1732,7 @@ namespace System.Windows.Forms {
 
 		// enumeration about what type of area on the calendar was hit 
 		public enum HitArea {
-			NoWhere,
+			Nowhere,
 			TitleBackground,
 			TitleMonth,
 			TitleYear,
@@ -1756,7 +1756,7 @@ namespace System.Windows.Forms {
 
 			// default constructor
 			internal HitTestInfo () {
-				hit_area = HitArea.NoWhere;
+				hit_area = HitArea.Nowhere;
 				point = new Point (0, 0);
 				time = DateTime.Now;
 			}

+ 1 - 1
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeNode.cs

@@ -140,7 +140,7 @@ namespace System.Windows.Forms {
 			get { return bounds; }
 		}
 
-                public Rectangle PlusMinusBounds {
+                internal Rectangle PlusMinusBounds {
                         get { return plus_minus_bounds; }
                 }