public void AddMenuItem(tsmiControl tsmi)
        {
            lviOpeningModule lvi = new lviOpeningModule();

            lvi.Name     = tsmi.Name;
            lvi.Tag      = tsmi.Tag;
            lvi.Text     = tsmi.Text.Replace("&", "");
            lvi.tsmi     = tsmi;
            lvi.ImageKey = "Bullet";

            this.lvOpeningModule.Items.Add(lvi);

            this.SetModuleCount();
        }
        private new void Load()
        {
            frmMain frmmain = (frmMain)Element.frmMain;

            foreach (ListViewItem lvi in frmmain.ucModuleManagement.lvOpeningModule.Items)
            {
                lviOpeningModule lviModule = new lviOpeningModule();
                lviModule.tsmi     = ((lviOpeningModule)lvi).tsmi;
                lviModule.Text     = ((lviOpeningModule)lvi).Text;
                lviModule.ImageKey = "OpeningModule";

                this.lvOpeningModule.Items.Add(lviModule);
            }

            this.lvOpeningModule.MultiSelect = false;
            this.lvOpeningModule.Focus();

            if (lvOpeningModule.Items.Count > 0)
            {
                lvOpeningModule.Items[0].Selected = true;
            }
        }