using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; namespace AIMS.OremrUserControl { public class MyListBox : ListBox { private IContainer components = null; private List items0; public List Items0 { get { return this.items0; } } protected override void Dispose(bool disposing) { if (disposing && this.components != null) { this.components.Dispose(); } base.Dispose(disposing); } private void InitializeComponent() { this.components = new Container(); } public MyListBox() { this.InitializeComponent(); this.items0 = new List(); } } }