ContainerControl.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. //
  2. // System.Windows.Forms.ContainerControl.cs
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. // stubbed out by Jaak Simm ([email protected])
  7. // Dennis Hayes ([email protected])
  8. // WINELib implementation started by John Sohn ([email protected])
  9. //
  10. // (C) Ximian, Inc., 2002
  11. //
  12. using System.ComponentModel;
  13. using System.Drawing;
  14. namespace System.Windows.Forms {
  15. /// <summary>
  16. /// Provides focus management functionality for controls that can function as a container for other controls.
  17. /// </summary>
  18. public class ContainerControl : ScrollableControl, IContainerControl {
  19. protected ContainerControl () : base ()
  20. {
  21. }
  22. public Control ActiveControl {
  23. get { throw new NotImplementedException (); }
  24. set { throw new NotImplementedException (); }
  25. }
  26. [MonoTODO]
  27. // not ready for BindingContext
  28. //public override BindingContext BindingContext {
  29. // get { throw new NotImplementedException (); }
  30. // set { throw new NotImplementedException (); }
  31. //}
  32. protected override CreateParams CreateParams {
  33. get { return base.CreateParams; }
  34. }
  35. [MonoTODO]
  36. public Form ParentForm {
  37. get { throw new NotImplementedException (); }
  38. }
  39. /// --- Methods ---
  40. /// internal .NET framework supporting methods, not stubbed out:
  41. /// - protected virtual void UpdateDefaultButton()
  42. protected override void AdjustFormScrollbars (
  43. bool displayScrollbars)
  44. {
  45. base.AdjustFormScrollbars (displayScrollbars);
  46. }
  47. [MonoTODO]
  48. protected override void Dispose (bool disposing)
  49. {
  50. throw new NotImplementedException ();
  51. }
  52. [MonoTODO]
  53. // not memeber?
  54. //bool IContainerControl.ActivateControl(Control control)
  55. //{
  56. // throw new NotImplementedException ();
  57. //}
  58. // [event methods]
  59. protected override void OnControlRemoved (ControlEventArgs e)
  60. {
  61. base.OnControlRemoved (e);
  62. }
  63. protected override void OnCreateControl ()
  64. {
  65. base.OnCreateControl ();
  66. }
  67. // end of [event methods]
  68. [MonoTODO]
  69. protected override bool ProcessDialogChar (char charCode)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. [MonoTODO]
  74. protected override bool ProcessDialogKey (Keys keyData)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. [MonoTODO]
  79. protected override bool ProcessMnemonic (char charCode)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. protected virtual bool ProcessTabKey (bool forward)
  85. {
  86. throw new NotImplementedException ();
  87. }
  88. // Not an overridden function?
  89. //protected override void Select(bool directed,bool forward)
  90. //{
  91. // throw new NotImplementedException ();
  92. //}
  93. [MonoTODO]
  94. public bool Validate ()
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. protected override void WndProc(ref Message m)
  99. {
  100. base.WndProc(ref m);
  101. }
  102. }
  103. }