public DebugPane(Settings set, DebugManager mgr) { settings = set; powerView = new PowerView(set, mgr); debugView = new DebugView(set, mgr); isPaned = settings.PowerGraphVisible; SetupLayout(); settings.RefreshLayout += OnRefreshLayout; }