Пример #1
0
 private void DragDetector_MouseUp(Point obj)
 {
     if (isActive && Math.Abs(Model.Begin - Model.End) > 15)
     {
         SectionSelected?.Invoke(this, Model);
     }
 }
Пример #2
0
 private async Task OnSectionSelected(SectionSelected message)
 {
     try
     {
         await DoOnUiDispatcherAsync(() =>
         {
             Pages.Clear();
             message.Section.Pages.ForEach(page => Pages.Add(page));
         });
     }
     catch (Exception ex)
     {
         Log.Msg(this, l => l.Error(ex));
     }
 }
Пример #3
0
 private void OnSectionSelected(SectionSelected message)
 {
     _selectedSection = message.Section;
 }
Пример #4
0
 private void OnSectionSelected(SectionSelected obj)
 {
     IsAnyPageSelected = false;
 }
Пример #5
0
 private void OnSectionSelected(SectionSelected message)
 {
     IsAnySectionSelected = true;
 }