public ResourcePanel() { InitializeComponent(); _previousContent = new List<BaseResourcePanel>(); _allPanels = new List<BaseResourcePanel>(); _mainPanel = new ResourceMainCtrl(); InitializePanelAndEvents(_mainPanel); _deafHohPanel = new DeafHoHResourcesPanel(); InitializePanelAndEvents(_deafHohPanel); _deafHohPanel.CallResourceRequested += HandleCallResourceRequested; ScrollViewer.SetVerticalScrollBarVisibility(scrollViewer, ScrollBarVisibility.Hidden); _currentContent = _mainPanel; UpdateContentInUI(); }
public ResourcePanel() { InitializeComponent(); _previousContent = new List <BaseResourcePanel>(); _allPanels = new List <BaseResourcePanel>(); _mainPanel = new ResourceMainCtrl(); InitializePanelAndEvents(_mainPanel); _deafHohPanel = new DeafHoHResourcesPanel(); InitializePanelAndEvents(_deafHohPanel); _deafHohPanel.CallResourceRequested += HandleCallResourceRequested; ScrollViewer.SetVerticalScrollBarVisibility(scrollViewer, ScrollBarVisibility.Hidden); _currentContent = _mainPanel; UpdateContentInUI(); }