| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601 |
- //
- // System.Windows.Forms.LinkLabel.cs
- //
- // Author:
- // stubbed out by Daniel Carrera ([email protected])
- // stub ammended by Jaak Simm ([email protected])
- // Dennis Hayes ([email protected])
- // (C) 2002 Ximian, Inc
- //
- using System.Collections;
- using System.Drawing;
- using System.ComponentModel;
- namespace System.Windows.Forms {
- // <summary>
- // This is only a template. Nothing is implemented yet.
- //
- // </summary>
- public class LinkLabel : Label, IButtonControl {
- //
- // --- Constructor
- //
- [MonoTODO]
- public LinkLabel()
- {
- throw new NotImplementedException ();
- }
- //
- // --- Public Properties
- //
- [MonoTODO]
- public Color ActiveLinkcolor {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public Color DisabledLinkColor {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public LinkArea LinkArea {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public LinkBehavior LinkBehavior {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public Color LinkColor {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public LinkLabel.LinkCollection Links {
- get {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public bool LinkVisited {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public override ISite Site {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public override string Text {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public Color VisitedLinkColor {
- 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 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 override void Select()
- //{
- // throw new NotImplementedException ();
- //}
- //public override void Select(bool directed, bool forward)
- //{
- // throw new NotImplementedException ();
- //}
- //public void SetBounds(int b1, int b2, int b3, int b4)
- //{
- // throw new NotImplementedException ();
- //}
- //public void SetBounds(int b1, int b2, int b3, int b4, int b5, int b6)
- //{
- // throw new NotImplementedException ();
- //}
-
- // --- IButtonControl members:
- DialogResult IButtonControl.DialogResult {
- [MonoTODO] get { throw new NotImplementedException (); }
- [MonoTODO] set { throw new NotImplementedException (); }
- }
- [MonoTODO]
- void IButtonControl.NotifyDefault(bool value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void IButtonControl.PerformClick()
- {
- throw new NotImplementedException ();
- }
- // --- end of IButtonControl members
-
- // --- Public Events
- //
- [MonoTODO]
- public event LinkLabelLinkClickedEventHandler LinkClicked;
- //
- // --- Protected Properties
- //
- [MonoTODO]
- protected override ImeMode DefaultImeMode {
- get {
- throw new NotImplementedException ();
- }
- }
- //
- // --- Protected Methods
- //
- [MonoTODO]
- protected override AccessibleObject CreateAccessibilityInstance()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void CreateHandle()
- {
- throw new NotImplementedException ();
- }
- //inherited
- //protected override virtual void Dispose(bool val)
- //{
- // throw new NotImplementedException ();
- //}
- [MonoTODO]
- protected override void OnEnabledChanged(EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnFontChanged( EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnGotFocus( EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnKeyDown (KeyEventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnLostFocus (EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnMouseDown (MouseEventArgs e)
- {
- throw new NotImplementedException ();
- }
- // I think that this should be 'MouseEventArgs'
- // but the documentation says EventArgs.
- [MonoTODO]
- protected override void OnMouseLeave(EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnMouseMove (MouseEventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnMouseUp (MouseEventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnPaint (PaintEventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnPaintBackground(PaintEventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnTextAlignChanged( EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void OnTextChanged( EventArgs e)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override bool ProcessDialogKey(Keys keyData)
- {
- throw new NotImplementedException ();
- }
- //protected ContentAlignment RtlTranslateAlignment(ContentAlignment align)
- //{
- // throw new NotImplementedException ();
- //}
- //protected HorizontalAlignment RtlTranslateAlignment( HorizontalAlignment align)
- //{
- // throw new NotImplementedException ();
- //}
- //protected LeftRightAlignment RtlTranslateAlignment( LeftRightAlignment align)
- //{
- // throw new NotImplementedException ();
- //}
- [MonoTODO]
- protected override void Select(bool val1, bool val2)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- protected override void SetBoundsCore(
- int x,
- int y,
- int width,
- int height,
- BoundsSpecified specified) {
- throw new NotImplementedException ();
- }
- //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 ();
- //}
- [MonoTODO]
- protected override void WndProc(ref Message msg)
- {
- throw new NotImplementedException ();
- }
-
-
-
- /// System.Windows.Forms.LinkLabel.Link
- /// <summary>Represents a link within a LinkLabel control.</summary>
- ///
- /// stubbed out by Jaak Simm ([email protected])
- [MonoTODO]
- public class Link {
- bool enabled;
- int length;
- object linkData;
- int start;
- bool visited;
-
- public bool Enabled {
- get { return enabled; }
- set { enabled=value; }
- }
-
- public int Length {
- get { return length; }
- set { length=value; }
- }
-
- public object LinkData {
- get { return linkData; }
- set { linkData=value; }
- }
-
- public int Start {
- get { return start; }
- set { start=value; }
- }
-
- public bool Visited {
- get { return visited; }
- set { visited=value; }
- }
- }
-
- //
- // System.Windows.Forms.LinkLabel.LinkCollection.cs
- //
- // Author:
- // stubbed out by Daniel Carrera ([email protected])
- //
- // (C) 2002 Ximian, Inc
- //
- // <summary>
- // This is only a template. Nothing is implemented yet.
- //
- // </summary>
- public class LinkCollection : IList, ICollection, IEnumerable {
- //
- // --- Constructor
- //
- [MonoTODO]
- public LinkCollection(LinkLabel owner)
- {
- throw new NotImplementedException ();
- }
- //
- // --- Public Properties
- //
- [MonoTODO]
- public int Count {
- get {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public bool IsReadOnly {
- get {
- throw new NotImplementedException ();
- }
- }
- [MonoTODO]
- public virtual LinkLabel.Link this[ int index] {
- get {
- throw new NotImplementedException ();
- }
- set {
- throw new NotImplementedException ();
- }
- }
- //
- // --- Public Methods
- //
- [MonoTODO]
- public Link Add(int val1, int val2)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public Link Add(int val1, int val2, object o)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public virtual void Clear()
- {
- throw new NotImplementedException ();
- }
- // Inherited
- //public override bool Contains(LinkLabel.Link link)
- //{
- // 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();
- }
- [MonoTODO]
- public IEnumerator GetEnumerator()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public int IndexOf(LinkLabel.Link link)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void Remove(LinkLabel.Link value)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public void RemoveAt(int index)
- {
- throw new NotImplementedException ();
- }
-
- /// --- LinkLabel.IList properties ---
- bool IList.IsFixedSize {
- [MonoTODO] get { throw new NotImplementedException (); }
- }
-
- object IList.this[int index] {
- [MonoTODO] get { throw new NotImplementedException (); }
- [MonoTODO] set { throw new NotImplementedException (); }
- }
-
- object ICollection.SyncRoot {
- [MonoTODO] get { throw new NotImplementedException (); }
- }
-
- bool ICollection.IsSynchronized {
- [MonoTODO] get { throw new NotImplementedException (); }
- }
-
- [MonoTODO]
- void ICollection.CopyTo(Array dest,int index)
- {
- throw new NotImplementedException ();
- }
-
- /// --- LinkLabel.IList methods ---
- [MonoTODO]
- int IList.Add(object control)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- bool IList.Contains(object control)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- int IList.IndexOf(object control)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void IList.Insert(int index,object value)
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
- void IList.Remove(object control)
- {
- throw new NotImplementedException ();
- }
- }//End of subclass
- }// End of Class
- }
|