private int addDefaultTab() { var tab = new MyTabPage(); var idx = appendTab(tab.Tab); _tabs.Add(tab); return(idx); }
private int addTab(DumpHandle handle, bool isAutomatic, long address = -1) { var tab = new MyTabPage(handle, isAutomatic); if (address != -1) { tab.Seek(address); } var idx = appendTab(tab.Tab); _tabs.Add(tab); return(idx); }