| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- //
- // System.Windows.Forms.Form
- //
- // Author:
- // Miguel de Icaza ([email protected])
- // stubbed out by Daniel Carrera ([email protected])
- // ScrollableControl.DockPaddingEdges stub added by Jaak Simm ([email protected])
- // Dennis Hayes ([email protected])
- // WINELib implementation started by John Sohn ([email protected])
- //
- // (C) 2002 Ximian, Inc
- //
- using System;
- using System.Drawing;
- using System.ComponentModel;
- namespace System.Windows.Forms {
- public class ScrollableControl : Control {
- //
- // --- Constructor
- //
- public ScrollableControl () : base ()
- {
- }
- //
- // --- Public Properties
- //
- [MonoTODO]
- public virtual bool AutoScroll {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public Size AutoScrollMargin {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public Size AutoScrollMinSize {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public Point AutoScrollPosition {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- public override Rectangle DisplayRectangle {
- get {
- return base.DisplayRectangle;
- }
- }
- [MonoTODO]
- public ScrollableControl.DockPaddingEdges DockPadding {
- get {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public override ISite Site {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- //
- // --- Public Methods
- //
- //public IAsyncResult BeginInvoke(Delegate del)
- //{
- // throw new NotImplementedException ();
- //}
- //public IAsyncResult BeginInvoke(Delegate del, object[] objs)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Dispose()
- //{
- // throw new NotImplementedException ();
- //}
- [MonoTODO]
- public override bool Equals (object o)
- {
- throw new NotImplementedException ();
- }
- //public static bool Equals(object o1, object o2)
- //{
- // throw new NotImplementedException ();
- //}
- [MonoTODO]
- public override int GetHashCode () {
- //FIXME add our proprities
- return base.GetHashCode ();
- }
- //public void Invalidate()
- //{
- // throw new NotImplementedException ();
- //}
- //public void Invalidate(bool val)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Invalidate(Rectangle rect)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Invalidate(Region reg)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Invalidate(Rectangle rect, bool val)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Invalidate(Region reg, bool val)
- //{
- // throw new NotImplementedException ();
- //}
- //public object Invoke(Delegate del)
- //{
- // throw new NotImplementedException ();
- //}
- //public object Invoke(Delegate del, object[] objs)
- //{
- // throw new NotImplementedException ();
- //}
- //public void PerformLayout()
- //{
- // throw new NotImplementedException ();
- //}
- //public void PerformLayout(Control ctl, string str)
- //{
- // throw new NotImplementedException ();
- //}
- //public void ResumeLayout()
- //{
- // throw new NotImplementedException ();
- //}
- //public void ResumeLayout(bool val)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Scale(float val)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Scale(float val1, float val2)
- //{
- // throw new NotImplementedException ();
- //}
- //public void Select()
- //{
- // throw new NotImplementedException ();
- //}
- //public void Select(bool val1, bool val2)
- //{
- // throw new NotImplementedException ();
- //}
- //public void SetBounds(int val1, int val2, int val3, int val4)
- //{
- // throw new NotImplementedException ();
- //}
- //public void SetBounds(int val1, int val2, int val3, int val4, BoundsSpecified bounds)
- //{
- // throw new NotImplementedException ();
- //}
- //
- // --- Protected Properties
- //
- protected override CreateParams CreateParams {
- get {
- return base.CreateParams;
- }
- }
- [MonoTODO]
- protected bool HScroll {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- protected bool VScroll {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- //
- // --- Protected Methods
- //
- [MonoTODO]
- protected virtual void AdjustFormScrollbars (
- bool displayScrollbars)
- {
- throw new NotImplementedException ();
- }
- //protected override void Dispose(bool disposing)
- //{
- // throw new NotImplementedException ();
- //}
- protected override void OnLayout (LayoutEventArgs e)
- {
- base.OnLayout (e);
- }
- protected override void OnMouseWheel (MouseEventArgs e)
- {
- base.OnMouseWheel (e);
- }
- protected override void OnVisibleChanged (EventArgs e)
- {
- base.OnVisibleChanged (e);
- }
- //ContentAlignment RtlTranslateAlignment(ContentAlignment calign)
- //{
- // throw new NotImplementedException ();
- //}
- //HorizontalAlignment RtlTranslateAlignment(HorizontalAlignment halign)
- //{
- // throw new NotImplementedException ();
- //}
- //LeftRightAlignment RtlTranslateAlignment(LeftRightAlignment lralign)
- //{
- // throw new NotImplementedException ();
- //}
- protected override void ScaleCore (float dx, float dy)
- {
- base.ScaleCore (dx, dy);
- }
- //protected void UpdateBounds()
- //{
- // throw new NotImplementedException ();
- //}
- //protected void UpdateBounds(int val1, int val2, int val3, int val4)
- //{
- // throw new NotImplementedException ();
- //}
- //protected void UpdateBounds(int val1, int val2, int val3, int val4, int val5, int val6)
- //{
- // throw new NotImplementedException ();
- //}
- protected override void WndProc (ref Message m)
- {
- base.WndProc (ref m);
- }
-
- /// ScrollableControl.DockPaddingEdges
- /// Determines the border padding for docked controls.
- public class DockPaddingEdges : ICloneable {
- // --- Fields ---
- int all;
- int bottom;
- int left;
- int right;
- int top;
-
-
- // --- public Properties ---
- public int All {
- get { return all; }
- set { all=value; }
- }
-
- public int Bottom {
- get { return bottom; }
- set { bottom=value; }
- }
-
- public int Left {
- get { return left; }
- set { left=value; }
- }
-
- public int Right {
- get { return right; }
- set { right=value; }
- }
-
- public int Top {
- get { return top; }
- set { top=value; }
- }
-
-
- /// --- public Methods ---
- [MonoTODO]
- public override bool Equals (object other)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override int GetHashCode ()
- {
- throw new NotImplementedException ();
- }
-
- /// This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
- [MonoTODO]
- object ICloneable.Clone ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- public override string ToString ()
- {
- throw new NotImplementedException ();
- }
- }
-
- }
- }
|