Removing UWP project.
This commit is contained in:
27
Wino.Mail.WinUI/Dialogs/AccountEditDialog.xaml.cs
Normal file
27
Wino.Mail.WinUI/Dialogs/AccountEditDialog.xaml.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
using Wino.Core.Domain.Entities;
|
||||
|
||||
#if NET8_0
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
#else
|
||||
using Windows.UI.Xaml.Controls;
|
||||
#endif
|
||||
namespace Wino.Dialogs
|
||||
{
|
||||
public sealed partial class AccountEditDialog : ContentDialog
|
||||
{
|
||||
public MailAccount Account { get; private set; }
|
||||
public bool IsSaved { get; set; }
|
||||
|
||||
public AccountEditDialog(MailAccount account)
|
||||
{
|
||||
InitializeComponent();
|
||||
Account = account;
|
||||
}
|
||||
|
||||
private void SaveClicked(ContentDialog sender, ContentDialogButtonClickEventArgs args)
|
||||
{
|
||||
IsSaved = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user