* Took enums a* - d* that were in System.Windows.Forms.enums.cs and:
authorDennis Hayes <dennis@mono-cvs.ximian.com>
Fri, 3 May 2002 20:44:23 +0000 (20:44 -0000)
committerDennis Hayes <dennis@mono-cvs.ximian.com>
Fri, 3 May 2002 20:44:23 +0000 (20:44 -0000)
* Moved then to System.Windows.Forms\System.Windows.Forms\*.cs.
* Bursted them out, puting each enums in its own file.
* used ennumcheck to set correct values.
* Ran Monostyle on them.
* ArrangeDirection.cs enum does not have values for left and right.

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

20 files changed:
mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleEvents.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleRole.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleStates.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/AnchorStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/Appearance.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ArrangeDirection.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ArrangeStartingPosition.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/BootMode.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/Border3DSide.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/Border3DStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/BoundsSpecified.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ButtonBorderStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ButtonState.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ColorDepth.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ColumnHeaderStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ComboBoxStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/ControlStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/DataGridLineStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/DateTimePickerFormat.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms/System.Windows.Forms/day.cs [new file with mode: 0644]

diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleEvents.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleEvents.cs
new file mode 100644 (file)
index 0000000..386aa97
--- /dev/null
@@ -0,0 +1,59 @@
+//\r
+// System.Windows.Forms.AccessibleEvents.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum AccessibleEvents{\r
+               AcceleratorChange,\r
+               Create,\r
+               DefaultActionChange,\r
+               DescriptionChange,\r
+               Destroy,\r
+               Focus,\r
+               HelpChange,\r
+               Hide,\r
+               LocationChange,\r
+               NameChange,\r
+               ParentChange,\r
+               Reorder,\r
+               Selection,\r
+               SelectionAdd,\r
+               SelectionRemove,\r
+               SelectionWithin,\r
+               Show,\r
+               StateChange,\r
+               SystemAlert,\r
+               SystemCaptureEnd,\r
+               SystemCaptureStart,\r
+               SystemContextHelpEnd,\r
+               SystemContextHelpStart,\r
+               SystemDialogEnd,\r
+               SystemDialogStart,\r
+               SystemDragDropEnd,\r
+               SystemDragDropStart,\r
+               SystemForeground,\r
+               SystemMenuEnd,\r
+               SystemMenuPopupEnd,\r
+               SystemMenuPopupStart,\r
+               SystemMenuStart,\r
+               SystemMinimizeEnd,\r
+               SystemMinimizeStart,\r
+               SystemMoveSizeEnd,\r
+               SystemMoveSizeStart,\r
+               SystemScrollingEnd,\r
+               SystemScrollingStart,\r
+               SystemSound,\r
+               SystemSwitchEnd,\r
+               SystemSwitchStart,\r
+               ValueChange\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleRole.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleRole.cs
new file mode 100644 (file)
index 0000000..8a21d96
--- /dev/null
@@ -0,0 +1,80 @@
+//\r
+// System.Windows.Forms.AccessibleRole.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum AccessibleRole{\r
+               Alert = 8,\r
+               Animation = 54,\r
+               Application = 14,\r
+               Border = 19,\r
+               ButtonDropDownGrid = 58,\r
+               ButtonMenu = 57,\r
+               Caret = 7,\r
+               Cell = 29,\r
+               Character = 32,\r
+               Chart = 17,\r
+               CheckButton = 44,\r
+               Client = 10,\r
+               Clock = 61,\r
+               Column = 27,\r
+               ColumnHeader = 25,\r
+               ComboBox = 46,\r
+               Cursor = 6,\r
+               Default = -1,\r
+               Diagram = 53,\r
+               Dial = 49,\r
+               Dialog = 18,\r
+               Document = 15,\r
+               DropList = 47,\r
+               Equation = 55,\r
+               Graphic = 40,\r
+               Grip = 4,\r
+               Grouping = 20,\r
+               HelpBalloon = 31,\r
+               HotkeyField = 50,\r
+               Indicator = 39,\r
+               Link = 30,\r
+               List = 33,\r
+               ListItem = 34,\r
+               MenuBar = 2,\r
+               MenuItem = 12,\r
+               MenuPopup = 11,\r
+               None = 0,\r
+               Outline = 35,\r
+               OutlineItem = 36,\r
+               PageTab = 37,\r
+               PageTabList = 60,\r
+               Pane = 16,\r
+               ProgressBar = 48,\r
+               PropertyPage = 38,\r
+               PushButton = 43,\r
+               RadioButton = 45,\r
+               Row = 28,\r
+               RowHeader = 26,\r
+               ScrollBar = 3,\r
+               Separator = 21,\r
+               Slider = 51,\r
+               Sound = 5,\r
+               SpinButton = 52,\r
+               StaticText = 41,\r
+               StatusBar = 23,\r
+               Table = 24,\r
+               Text = 42,\r
+               TitleBar = 1,\r
+               ToolBar = 22,\r
+               ToolTip = 13,\r
+               WhiteSpace = 59,\r
+               Window = 9\r
+       }\r
+\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleStates.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/AccessibleStates.cs
new file mode 100644 (file)
index 0000000..415265b
--- /dev/null
@@ -0,0 +1,23 @@
+//\r
+// System.Windows.Forms.AccessibleStates.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum AccessibleStates{\r
+               AddSelection = ,\r
+               ExtendSelection = ,\r
+               None = ,\r
+               RemoveSelection = ,\r
+               TakeFocus = ,\r
+               TakeSelection = \r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/AnchorStyles.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/AnchorStyles.cs
new file mode 100644 (file)
index 0000000..2b166e2
--- /dev/null
@@ -0,0 +1,22 @@
+//\r
+// System.Windows.Forms.AnchorStyles.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum AnchorStyles{\r
+               Bottom = 2,\r
+               Left = 4,\r
+               None = 0,\r
+               Right = 8,\r
+               Top = 1\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/Appearance.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/Appearance.cs
new file mode 100644 (file)
index 0000000..9e6c25c
--- /dev/null
@@ -0,0 +1,19 @@
+//\r
+// System.Windows.Forms.Appearance.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum Appearance {\r
+               Button = 0,\r
+               Normal = 1\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ArrangeDirection.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ArrangeDirection.cs
new file mode 100644 (file)
index 0000000..a145f1b
--- /dev/null
@@ -0,0 +1,24 @@
+//\r
+// System.Windows.Forms.ArrangeDirection.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       \r
+       //TODO: Add values for left and up\r
+       //[MonoTodo]\r
+       public enum ArrangeDirection {\r
+               Down = 4,\r
+               //Left = ,\r
+               Right = 0,\r
+               //Up = \r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ArrangeStartingPosition.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ArrangeStartingPosition.cs
new file mode 100644 (file)
index 0000000..a289f78
--- /dev/null
@@ -0,0 +1,22 @@
+//\r
+// System.Windows.Forms.ArrangeStartingPosition.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ArrangeStartingPosition {\r
+               BottomLeft = 0,\r
+               BottomRight = 1,\r
+               Hide = 8,\r
+               TopLeft = 2,\r
+               TopRight = 3\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/BootMode.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/BootMode.cs
new file mode 100644 (file)
index 0000000..c837768
--- /dev/null
@@ -0,0 +1,20 @@
+//\r
+// System.Windows.Forms.BootMode.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum BootMode {\r
+               FailSafe = 1,\r
+               FailSafeWithNetwork = 2,\r
+               Normal = 0\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/Border3DSide.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/Border3DSide.cs
new file mode 100644 (file)
index 0000000..5169430
--- /dev/null
@@ -0,0 +1,23 @@
+//\r
+// System.Windows.Forms.Border3DSide.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum Border3DSide {\r
+               All = 2063,\r
+               Bottom = 8,\r
+               Left = 1,\r
+               Middle = 2048,\r
+               Right = 4,\r
+               Top = 2\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/Border3DStyle.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/Border3DStyle.cs
new file mode 100644 (file)
index 0000000..47ce129
--- /dev/null
@@ -0,0 +1,27 @@
+//\r
+// System.Windows.Forms.Border3DStyle.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum Border3DStyle {\r
+               Adjust = 8192,\r
+               Bump = 9,\r
+               Etched = 6,\r
+               Flat = 16394,\r
+               Raised = 5,\r
+               RaisedInner = 4,\r
+               RaisedOuter = 1,\r
+               Sunken = 10,\r
+               SunkenInner = 8,\r
+               SunkenOuter = 2\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/BoundsSpecified.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/BoundsSpecified.cs
new file mode 100644 (file)
index 0000000..7975529
--- /dev/null
@@ -0,0 +1,25 @@
+//\r
+// System.Windows.Forms.BoundsSpecified.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum BoundsSpecified {\r
+               All = 15,\r
+               Height = 8,\r
+               Location = 3,\r
+               None = 0,\r
+               Size = 12,\r
+               Width = 4,\r
+               X = 1,\r
+               Y = 2\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ButtonBorderStyle.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ButtonBorderStyle.cs
new file mode 100644 (file)
index 0000000..2ae296e
--- /dev/null
@@ -0,0 +1,23 @@
+//\r
+// System.Windows.Forms.ButtonBorderStyle.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ButtonBorderStyle {\r
+               Dashed = 2,\r
+               Dotted = 1,\r
+               Inset = 4,\r
+               None = 0,\r
+               Outset = 5,\r
+               Solid = 3\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ButtonState.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ButtonState.cs
new file mode 100644 (file)
index 0000000..b2f4313
--- /dev/null
@@ -0,0 +1,23 @@
+//\r
+// System.Windows.Forms.ButtonState.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ButtonState {\r
+               All = 181176,\r
+               Checked = 1024,\r
+               Flat = 16384,\r
+               Inactive = 256,\r
+               Normal = 0,\r
+               Pushed = 512\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ColorDepth.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ColorDepth.cs
new file mode 100644 (file)
index 0000000..9ee4992
--- /dev/null
@@ -0,0 +1,22 @@
+//\r
+// System.Windows.Forms.ColorDepth.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ColorDepth {\r
+               Depth16Bit = 16,\r
+               Depth24Bit = 24,\r
+               Depth32Bit = 32,\r
+               Depth4Bit = 4,\r
+               Depth8Bit = 8\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ColumnHeaderStyle.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ColumnHeaderStyle.cs
new file mode 100644 (file)
index 0000000..c699292
--- /dev/null
@@ -0,0 +1,20 @@
+//\r
+// System.Windows.Forms.ColumnHeaderStyle.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ColumnHeaderStyle {\r
+               Clickable = 2,\r
+               Nonclickable = 1,\r
+               None = 0\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ComboBoxStyle.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ComboBoxStyle.cs
new file mode 100644 (file)
index 0000000..22d3673
--- /dev/null
@@ -0,0 +1,20 @@
+//\r
+// System.Windows.Forms.ComboBoxStyle.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ComboBoxStyle {\r
+               DropDown = 1,\r
+               DropDownList = 2,\r
+               Simple = 0\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/ControlStyles.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/ControlStyles.cs
new file mode 100644 (file)
index 0000000..bddb6c4
--- /dev/null
@@ -0,0 +1,32 @@
+//\r
+// System.Windows.Forms.ControlStyles.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum ControlStyles {\r
+               AllPaintingInWmPaint = 8192,\r
+               CacheText = 16384,\r
+               ContainerControl = 1,\r
+               DoubleBuffer = 65536,\r
+               EnableNotifyMessage = 32768,\r
+               FixedHeight = 64,\r
+               FixedWidth = 32,\r
+               Opaque = 4,\r
+               ResizeRedraw = 16,\r
+               Selectable = 512,\r
+               StandardClick = 256,\r
+               StandardDoubleClick = 4096,\r
+               SupportsTransparentBackColor = 2045,\r
+               UserMouse = 1024,\r
+               UserPaint = 2\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/DataGridLineStyle.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/DataGridLineStyle.cs
new file mode 100644 (file)
index 0000000..ba799c5
--- /dev/null
@@ -0,0 +1,19 @@
+//\r
+// System.Windows.Forms.DataGridLineStyle.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum DataGridLineStyle {\r
+               None = 0,\r
+               Solid = 1\r
+       }\r
+}\r
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/DateTimePickerFormat.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/DateTimePickerFormat.cs
new file mode 100644 (file)
index 0000000..da1add8
--- /dev/null
@@ -0,0 +1,6 @@
+monostyle -f file.cs -l <true|false> > output.cs
+
+   -f || /-f || --file  file.cs        The csharp source file to parse.
+
+   -l || /-l || --line  <true|false>   Specifies wether to use line spacing.
+
diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/day.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/day.cs
new file mode 100644 (file)
index 0000000..e886ae7
--- /dev/null
@@ -0,0 +1,25 @@
+//\r
+// System.Windows.Forms.Day.cs\r
+//\r
+// Author:\r
+//   Dennis Hayes (dennish@raytek.com)\r
+// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
+//\r
+\r
+using System;\r
+\r
+namespace System.Windows.Forms {\r
+\r
+       /// <summary>\r
+       /// </summary>\r
+       public enum Day {\r
+               Default = 7,\r
+               Friday = 4,\r
+               Monday = 0,\r
+               Saturday = 5,\r
+               Sunday = 6,\r
+               Thursday = 3,\r
+               Tuesday = 1,\r
+               Wednesday = 2\r
+       }\r
+}\r