CreateParams.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. //
  2. // System.Windows.Forms.CreateParams.cs
  3. //
  4. // Author:
  5. // stubbed out by Jaak Simm ([email protected])
  6. // Dennis Hayes ([email protected])
  7. //
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System.Collections;
  11. using System.ComponentModel;
  12. namespace System.Windows.Forms {
  13. /// <summary>
  14. /// Encapsulates the information needed when creating a control.
  15. /// </summary>
  16. public class CreateParams {
  17. #region Fields
  18. private string caption;
  19. private string className;
  20. private int classStyle;
  21. private int exStyle;
  22. private int height;
  23. private object param;
  24. private IntPtr parent;
  25. private int style;
  26. private int width;
  27. private int x;
  28. private int y;
  29. #endregion
  30. #region Constructors
  31. public CreateParams()
  32. {
  33. }
  34. #endregion
  35. #region Properties
  36. public string Caption {
  37. get { return caption; }
  38. set { caption = value; }
  39. }
  40. public string ClassName {
  41. get { return className; }
  42. set { className = value; }
  43. }
  44. public int ClassStyle {
  45. get { return classStyle; }
  46. set { classStyle = value; }
  47. }
  48. public int ExStyle {
  49. get { return exStyle; }
  50. set { exStyle = value; }
  51. }
  52. public int Height {
  53. get { return height; }
  54. set { height = value; }
  55. }
  56. public object Param {
  57. get { return param; }
  58. set { param = value; }
  59. }
  60. public IntPtr Parent {
  61. get { return parent; }
  62. set { parent = value; }
  63. }
  64. public int Style {
  65. get { return style; }
  66. set { style = value; }
  67. }
  68. public int Width {
  69. get { return width; }
  70. set { width = value; }
  71. }
  72. public int X {
  73. get { return x; }
  74. set { x = value; }
  75. }
  76. public int Y {
  77. get { return y; }
  78. set { y = value; }
  79. }
  80. #endregion
  81. #region Methods
  82. [MonoTODO]
  83. public override string ToString()
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. #endregion
  88. }
  89. }