// // System.Windows.Forms.Menu.cs // // Author: // stubbed out by Paul Osman (paul.osman@sympatico.ca) // Dennis Hayes (dennish@raytek.com) // // (C) 2002 Ximian, Inc // using System; using System.Reflection; using System.Globalization; //using System.Windows.Forms.AccessibleObject.IAccessible; using System.Drawing; using System.Collections; using System.Runtime.Remoting; namespace System.Windows.Forms { /// /// ToDo note: /// - Nothing is implemented /// using System.ComponentModel; public abstract class Menu : Component { // // -- Public Methods // //inherited //public virtual ObjRef CreateObjRef(Type t) { // throw new NotImplementedException(); //} // //public void Dispose() { // throw new NotImplementedException(); //} // //protected virtual void Dispose(bool disposing) { // throw new NotImplementedException(); //} 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 ContextMenu GetContextMenu() { throw new NotImplementedException(); } public MainMenu GetMainMenu() { throw new NotImplementedException(); } //inherited //public object GetLifetimeService() { // throw new NotImplementedException(); //} //public Type GetType() { // throw new NotImplementedException(); //} //public virtual object InitializeLifetimeService() { // throw new NotImplementedException(); //} public virtual void MergeMenu(Menu menuSrc) { throw new NotImplementedException(); } public override string ToString() { throw new NotImplementedException(); } // // -- Protected Methods // protected void CloneMenu(Menu menuSrc) { throw new NotImplementedException(); } ~Menu() { throw new NotImplementedException(); } //protected virtual object GetService(Type service) { // throw new NotImplementedException(); //} // //protected object MemberwiseClone() { // throw new NotImplementedException(); //} // // -- Public Events // //inherited //public event EventHandler Disposed; // // -- Public Properties // //inherited //public IContainer Container { // get { // throw new NotImplementedException(); // } //} public IntPtr Handle { get { throw new NotImplementedException(); } } public virtual bool IsParent { get { throw new NotImplementedException(); } } public MenuItem MdiListItem { get { throw new NotImplementedException(); } } public Menu.MenuItemCollection MenuItems { get { throw new NotImplementedException(); } } //inherited //public virtual ISite Site { // get { // throw new NotImplementedException(); // } // set { // throw new NotImplementedException(); // } //} // // -- Protected Properties // //inherited //protected bool DesignMode { // get { // throw new NotImplementedException(); // } //} //protected EventHandlerList Events { // get { // throw new NotImplementedException(); // } //} // // System.Windows.Forms.Menu.MenuItemCollection.cs // // Author: // stubbed out by Paul Osman (paul.osman@sympatico.ca) // // (C) 2002 Ximian, Inc // /// /// ToDo note: /// - Nothing is implemented /// public class MenuItemCollection : IList, ICollection, IEnumerable { // // -- Constructor // public MenuItemCollection(Menu m) { throw new NotImplementedException (); } // // -- Public Methods // public virtual int Add(MenuItem m) { throw new NotImplementedException (); } public virtual MenuItem Add(string s) { throw new NotImplementedException (); } public virtual int Add(int i, MenuItem m) { throw new NotImplementedException (); } public virtual MenuItem Add(string s, EventHandler e) { throw new NotImplementedException (); } public virtual MenuItem Add(string s, MenuItem[] items) { throw new NotImplementedException (); } public virtual void AddRange(MenuItem[] items) { throw new NotImplementedException (); } public virtual void Clear() { throw new NotImplementedException (); } public bool Contains(MenuItem m) { throw new NotImplementedException (); } public void CopyTo(Array a, int i) { throw new NotImplementedException (); } public override bool Equals(object o) { throw new NotImplementedException (); } //inherited //public static bool Equals(object o1, object o2) { // throw new NotImplementedException (); //} [MonoTODO] public override int GetHashCode() { //FIXME add our proprities return base.GetHashCode(); } public IEnumerator GetEnumerator() { throw new NotImplementedException (); } //public override Type GetType() { // throw new NotImplementedException (); //} public int IndexOf(MenuItem m) { throw new NotImplementedException (); } public virtual void Remove(MenuItem m) { throw new NotImplementedException (); } public virtual void RemoveAt(int i) { throw new NotImplementedException (); } public override string ToString() { throw new NotImplementedException (); } // // -- Protected Methods // ~MenuItemCollection() { throw new NotImplementedException (); } //inherited //protected object MemberwiseClone() { // throw new NotImplementedException (); //} // // -- Public Properties // public int Count { get { throw new NotImplementedException (); } } // public virtual MenuItem this(int i) // { // get // { // throw new NotImplementedException (); // } // } /// /// IList Interface implmentation. /// bool IList.IsReadOnly{ get{ // We allow addition, removeal, and editing of items after creation of the list. return false; } } bool IList.IsFixedSize{ get{ // We allow addition and removeal of items after creation of the list. return false; } } //[MonoTODO] object IList.this[int index]{ get{ throw new NotImplementedException (); } set{ throw new NotImplementedException (); } } [MonoTODO] void IList.Clear(){ throw new NotImplementedException (); } [MonoTODO] int IList.Add( object value){ throw new NotImplementedException (); } [MonoTODO] bool IList.Contains( object value){ throw new NotImplementedException (); } [MonoTODO] int IList.IndexOf( object value){ throw new NotImplementedException (); } [MonoTODO] void IList.Insert(int index, object value){ throw new NotImplementedException (); } [MonoTODO] void IList.Remove( object value){ throw new NotImplementedException (); } [MonoTODO] void IList.RemoveAt( int index){ throw new NotImplementedException (); } // End of IList interface /// /// ICollection Interface implmentation. /// int ICollection.Count{ get{ throw new NotImplementedException (); } } bool ICollection.IsSynchronized{ get{ throw new NotImplementedException (); } } object ICollection.SyncRoot{ get{ throw new NotImplementedException (); } } void ICollection.CopyTo(Array array, int index){ throw new NotImplementedException (); } // End Of ICollection } } }