ContainerControl.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. //Compact Framework
  27. [MonoTODO]
  28. // not ready for BindingContext
  29. //public override BindingContext BindingContext {
  30. // get { throw new NotImplementedException (); }
  31. // set { throw new NotImplementedException (); }
  32. //}
  33. protected override CreateParams CreateParams {
  34. get { return base.CreateParams; }
  35. }
  36. [MonoTODO]
  37. public Form ParentForm {
  38. get { throw new NotImplementedException (); }
  39. }
  40. /// --- Methods ---
  41. /// internal .NET framework supporting methods, not stubbed out:
  42. /// - protected virtual void UpdateDefaultButton()
  43. protected override void AdjustFormScrollbars (
  44. bool displayScrollbars)
  45. {
  46. base.AdjustFormScrollbars (displayScrollbars);
  47. }
  48. [MonoTODO]
  49. protected override void Dispose (bool disposing)
  50. {
  51. throw new NotImplementedException ();
  52. }
  53. [MonoTODO]
  54. // not memeber?
  55. //bool IContainerControl.ActivateControl(Control control)
  56. //{
  57. // throw new NotImplementedException ();
  58. //}
  59. // [event methods]
  60. protected override void OnControlRemoved (ControlEventArgs e)
  61. {
  62. base.OnControlRemoved (e);
  63. }
  64. protected override void OnCreateControl ()
  65. {
  66. base.OnCreateControl ();
  67. }
  68. // end of [event methods]
  69. [MonoTODO]
  70. protected override bool ProcessDialogChar (char charCode)
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. protected override bool ProcessDialogKey (Keys keyData)
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. [MonoTODO]
  80. protected override bool ProcessMnemonic (char charCode)
  81. {
  82. throw new NotImplementedException ();
  83. }
  84. [MonoTODO]
  85. protected virtual bool ProcessTabKey (bool forward)
  86. {
  87. throw new NotImplementedException ();
  88. }
  89. // Not an overridden function?
  90. //protected override void Select(bool directed,bool forward)
  91. //{
  92. // throw new NotImplementedException ();
  93. //}
  94. [MonoTODO]
  95. public bool Validate ()
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. protected override void WndProc(ref Message m)
  100. {
  101. base.WndProc(ref m);
  102. }
  103. }
  104. }