Пример #1
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            wizardInit();

            masterGroupCollection = new MasterGroupSheetCollection();

            Globals.ThisAddIn.Application.SheetFollowHyperlink += new Microsoft.Office.Interop.Excel.AppEvents_SheetFollowHyperlinkEventHandler(refreshChart);
        }
Пример #2
0
        private void removeEntriesFromMasterGroupCollection(string wbName)
        {
            MasterGroupSheetCollection tempGroupCollection = new MasterGroupSheetCollection();

            foreach (GroupSheetCollection gsc in this.masterGroupCollection)
            {
                if (gsc.WBName != wbName)
                {
                    tempGroupCollection.Add(gsc);
                }
            }
            masterGroupCollection = tempGroupCollection;
        }