Initial WinUI switch.

This commit is contained in:
Burak Kaan Köse
2025-09-29 11:16:14 +02:00
parent f9c53ca2c9
commit e67b893ae4
345 changed files with 22458 additions and 746 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
using Microsoft.UI.Xaml.Controls;
using Wino.Core.Domain.Models.Folders;
using Wino.Views.Abstract;
namespace Wino.Views;
public sealed partial class AccountDetailsPage : AccountDetailsPageAbstract
{
public AccountDetailsPage()
{
InitializeComponent();
}
private async void SyncFolderToggled(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
{
if (sender is CheckBox checkBox && checkBox.Tag is IMailItemFolder folder)
{
await ViewModel.FolderSyncToggledAsync(folder, checkBox.IsChecked.GetValueOrDefault());
}
}
private async void UnreadBadgeCheckboxToggled(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
{
if (sender is CheckBox checkBox && checkBox.Tag is IMailItemFolder folder)
{
await ViewModel.FolderShowUnreadToggled(folder, checkBox.IsChecked.GetValueOrDefault());
}
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,15 @@
using System;
using Microsoft.UI.Xaml.Navigation;
using Wino.Views.Abstract;
namespace Wino.Views;
public sealed partial class AccountManagementPage : AccountManagementPageAbstract
{
public AccountManagementPage()
{
InitializeComponent();
NavigationCacheMode = NavigationCacheMode.Enabled;
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
using Wino.Views.Abstract;
namespace Wino.Views.Account;
public sealed partial class MergedAccountDetailsPage : MergedAccountDetailsPageAbstract
{
public MergedAccountDetailsPage()
{
InitializeComponent();
}
}