using System;
using Shared;
namespace HDL_ON.UI
{
public partial class UserPage
{
///
/// 加载事件
///
void LoadEventList()
{
LoadEvent_NavigationSelection();
}
///
/// 加载导航栏点击事件
///
void LoadEvent_NavigationSelection()
{
EventHandler collectionEvent = (sender, e) => {
ChooseCollection();
};
collectionView.MouseUpEventHandler = collectionEvent;
btnCollectionIcon.MouseUpEventHandler = collectionEvent;
btnCollectionText.MouseUpEventHandler = collectionEvent;
EventHandler ClassificationEvent = (sender, e) => {
ChooseClassification();
};
classificationView.MouseUpEventHandler = ClassificationEvent;
btnClassificationIcon.MouseUpEventHandler = ClassificationEvent;
btnClassificationText.MouseUpEventHandler = ClassificationEvent;
EventHandler IntellectualizationEvent = (sender, e) => {
ChooseIntellectualization();
};
intellectualizationView.MouseUpEventHandler = IntellectualizationEvent;
btnIntellectualizationIcon.MouseUpEventHandler = IntellectualizationEvent;
btnIntellectualizationText.MouseUpEventHandler = IntellectualizationEvent;
EventHandler PersonalCenterEvent = (sender, e) => {
ChoosePersonalCenter();
};
personalCenterView.MouseUpEventHandler = PersonalCenterEvent;
btnPersonalCenterIcon.MouseUpEventHandler = PersonalCenterEvent;
btnPersonalCenterText.MouseUpEventHandler = PersonalCenterEvent;
}
}
}