private void AddAlarm(object sender, MouseButtonEventArgs e)
 {
     UIContent.Animation_Translate_Frame(double.NaN, double.NaN, -264, 0, 500, () =>
     {
         isMenuShow = false;
         UIAddAlarm uiAlarm = new UIAddAlarm();
         uiAlarm.setLeft(0);
         uiAlarm.setTop(0);
         uiAlarm.Width = 1366;
         uiAlarm.Height = 768;
         uiAlarm.CloseEvent += uiAlarm_CloseEvent;
         this.UIMapContent.Children.Add(uiAlarm);
     });
 }
 void uiAlarm_ViewAlarmEvent(object sender, int e)
 {
     UIAddAlarm uiAlarm = new UIAddAlarm();
     uiAlarm.setLeft(0);
     uiAlarm.setTop(0);
     uiAlarm.Width = 1366;
     uiAlarm.Height = 768;
     uiAlarm.Alarm = App.DataAlarm[e];
     uiAlarm.CloseEvent += uiAlarm_CloseEvent;
     this.UIMapContent.Children.Add(uiAlarm);
 }