Removal of Bindings

This commit is contained in:
Burak Kaan Köse
2025-11-16 00:23:23 +01:00
parent a2c7e5f29a
commit 07aeaf8c8f
217 changed files with 234 additions and 22608 deletions
+24
View File
@@ -385,6 +385,30 @@ public sealed partial class ComposePage : ComposePageAbstract,
DisposeDisposables();
}
private void OpenAttachment_Click(object sender, RoutedEventArgs e)
{
if (sender is MenuFlyoutItem item && item.CommandParameter is MailAttachmentViewModel attachment)
{
ViewModel.OpenAttachmentCommand.Execute(attachment);
}
}
private void SaveAttachment_Click(object sender, RoutedEventArgs e)
{
if (sender is MenuFlyoutItem item && item.CommandParameter is MailAttachmentViewModel attachment)
{
ViewModel.SaveAttachmentCommand.Execute(attachment);
}
}
private void RemoveAttachment_Click(object sender, RoutedEventArgs e)
{
if (sender is Button button && button.CommandParameter is MailAttachmentViewModel attachment)
{
ViewModel.RemoveAttachmentCommand.Execute(attachment);
}
}
protected override void RegisterRecipients()
{
base.RegisterRecipients();