12345678910111213141516171819202122232425262728 |
- using Avalonia;
- using Avalonia.Controls;
- using Avalonia.Input;
- using Avalonia.Markup.Xaml;
- namespace Acosta.Views;
- public partial class VisitsView : UserControl
- {
- public VisitsView()
- {
- InitializeComponent();
- }
- //private void VisitClicked(object sender, PointerPressedEventArgs e, UserControl uc)
- //{
- // // Assuming you have a navigation service instance or a way to swap views
- // // Navigate to another page (Page2.xaml in this example)
- // // Option 1: Using navigation service if available
- // // _navigationService.NavigateTo(new Page2());
- // // Option 2: Manually swapping views
- // // Assuming MainContentControl is where you display your pages
- // uc = new EditVisitView();
-
- //}
- }
|