Menu.cs :  » 2.6.4-mono-.net-core » System.Windows.Forms » System » Windows » Forms » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » 2.6.4 mono .net core » System.Windows.Forms 
System.Windows.Forms » System » Windows » Forms » Menu.cs
//
// 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{


  /// <summary>
  /// ToDo note:
  ///  - Nothing is implemented
  /// </summary>
  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
    //
    /// <summary>
    /// ToDo note:
    ///  - Nothing is implemented
    /// </summary>

    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 ();
      //      }
      //    }
      /// <summary>
      /// IList Interface implmentation.
      /// </summary>
      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
      /// <summary>
      /// ICollection Interface implmentation.
      /// </summary>
      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
    }

  }
}
      
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.