Files
Wino-Mail/Wino.Mail/AppShell.xaml.cs

336 lines
13 KiB
C#
Raw Normal View History

2024-04-18 01:44:37 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CommunityToolkit.Mvvm.Input;
using CommunityToolkit.Mvvm.Messaging;
using Windows.ApplicationModel.Core;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Input;
using Wino.Core.Domain;
using Wino.Core.Domain.Entities.Mail;
using Wino.Core.Domain.Enums;
2024-04-18 01:44:37 +02:00
using Wino.Core.Domain.Interfaces;
using Wino.Core.Domain.Models.Folders;
using Wino.Core.Domain.Models.MailItem;
using Wino.Core.Domain.Models.Navigation;
using Wino.Core.UWP;
using Wino.Core.UWP.Controls;
2024-04-18 01:44:37 +02:00
using Wino.Extensions;
using Wino.Mail.ViewModels.Data;
using Wino.MenuFlyouts;
using Wino.MenuFlyouts.Context;
Full trust Wino Server implementation. (#295) * Separation of messages. Introducing Wino.Messages library. * Wino.Server and Wino.Packaging projects. Enabling full trust for UWP and app service connection manager basics. * Remove debug code. * Enable generating assembly info to deal with unsupported os platform warnings. * Fix server-client connection. * UIMessage communication. Single instancing for server and re-connection mechanism on suspension. * Removed IWinoSynchronizerFactory from UWP project. * Removal of background task service from core. * Delegating changes to UI and triggering new background synchronization. * Fix build error. * Moved core lib messages to Messaging project. * Better client-server communication. Handling of requests in the server. New synchronizer factory in the server. * WAM broker and MSAL token caching for OutlookAuthenticator. Handling account creation for Outlook. * WinoServerResponse basics. * Delegating protocol activation for Gmail authenticator. * Adding margin to searchbox to match action bar width. * Move libraries into lib folder. * Storing base64 encoded mime on draft creation instead of MimeMessage object. Fixes serialization/deserialization issue with S.T.Json * Scrollbar adjustments * WınoExpander for thread expander layout ıssue. * Handling synchronizer state changes. * Double init on background activation. * FIxing packaging issues and new Wino Mail launcher protocol for activation from full thrust process. * Remove debug deserialization. * Remove debug code. * Making sure the server connection is established when the app is launched. * Thrust -> Trust string replacement... * Rename package to Wino Mail * Enable translated values in the server. * Fixed an issue where toast activation can't find the clicked mail after the folder is initialized. * Revert debug code. * Change server background sync to every 3 minute and Inbox only synchronization. * Revert google auth changes. * App preferences page. * Changing tray icon visibility on preference change. * Start the server with invisible tray icon if set to invisible. * Reconnect button on the title bar. * Handling of toast actions. * Enable x86 build for server during packaging. * Get rid of old background tasks and v180 migration. * Terminate client when Exit clicked in server. * Introducing SynchronizationSource to prevent notifying UI after server tick synchronization. * Remove confirmAppClose restricted capability and unused debug code in manifest. * Closing the reconnect info popup when reconnect is clicked. * Custom RetryHandler for OutlookSynchronizer and separating client/server logs. * Running server on Windows startup. * Fix startup exe. * Fix for expander list view item paddings. * Force full sync on app launch instead of Inbox. * Fix draft creation. * Fix an issue with custom folder sync logic. * Reporting back account sync progress from server. * Fix sending drafts and missing notifications for imap. * Changing imap folder sync requirements. * Retain file count is set to 3. * Disabled swipe gestures temporarily due to native crash with SwipeControl * Save all attachments implementation. * Localization for save all attachments button. * Fix logging dates for logs. * Fixing ARM64 build. * Add ARM64 build config to packaging project. * Comment out OutOfProcPDB for ARM64. * Hnadling GONE response for Outlook folder synchronization.
2024-08-05 00:36:26 +02:00
using Wino.Messaging.Client.Accounts;
using Wino.Messaging.Client.Mails;
using Wino.Messaging.Client.Shell;
2024-04-18 01:44:37 +02:00
using Wino.Views.Abstract;
2025-02-16 11:54:23 +01:00
namespace Wino.Views;
public sealed partial class AppShell : AppShellAbstract,
IRecipient<AccountMenuItemExtended>,
IRecipient<NavigateMailFolderEvent>,
IRecipient<CreateNewMailWithMultipleAccountsRequested>,
IRecipient<InfoBarMessageRequested>
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
public AppShell() : base()
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
InitializeComponent();
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var coreTitleBar = CoreApplication.GetCurrentView().TitleBar;
2025-02-16 11:54:23 +01:00
coreTitleBar.LayoutMetricsChanged += TitleBarLayoutUpdated;
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void TitleBarLayoutUpdated(CoreApplicationViewTitleBar sender, object args) => UpdateTitleBarLayout(sender);
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void UpdateTitleBarLayout(CoreApplicationViewTitleBar coreTitleBar) => RealAppBar.SystemReserved = coreTitleBar.SystemOverlayRightInset;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private async void ItemDroppedOnFolder(object sender, DragEventArgs e)
{
// Validate package content.
if (sender is WinoNavigationViewItem droppedContainer)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
droppedContainer.IsDraggingItemOver = false;
2025-02-16 11:54:23 +01:00
if (CanContinueDragDrop(droppedContainer, e))
{
if (droppedContainer.DataContext is IBaseFolderMenuItem draggingFolder)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
var mailCopies = new List<MailCopy>();
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var dragPackage = e.DataView.Properties[nameof(MailDragPackage)] as MailDragPackage;
e.AcceptedOperation = Windows.ApplicationModel.DataTransfer.DataPackageOperation.Move;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Extract mail copies from IMailItem.
// ThreadViewModels will be divided into pieces.
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
foreach (var item in dragPackage.DraggingMails)
{
if (item is MailItemViewModel singleMailItemViewModel)
2025-02-16 11:35:43 +01:00
{
2025-02-16 11:54:23 +01:00
mailCopies.Add(singleMailItemViewModel.MailCopy);
}
else if (item is ThreadMailItemViewModel threadViewModel)
{
mailCopies.AddRange(threadViewModel.GetMailCopies());
2024-04-18 01:44:37 +02:00
}
}
2025-02-16 11:54:23 +01:00
await ViewModel.PerformMoveOperationAsync(mailCopies, draggingFolder);
2024-04-18 01:44:37 +02:00
}
}
}
2025-02-16 11:54:23 +01:00
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void ItemDragLeaveFromFolder(object sender, DragEventArgs e)
{
if (sender is WinoNavigationViewItem leavingContainer)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
leavingContainer.IsDraggingItemOver = false;
2024-04-18 01:44:37 +02:00
}
2025-02-16 11:54:23 +01:00
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private bool CanContinueDragDrop(WinoNavigationViewItem interactingContainer, DragEventArgs args)
{
// TODO: Maybe override caption with some information why the validation failed?
// Note: Caption has a max length. It may be trimmed in some languages.
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (interactingContainer == null || !args.DataView.Properties.ContainsKey(nameof(MailDragPackage))) return false;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var dragPackage = args.DataView.Properties[nameof(MailDragPackage)] as MailDragPackage;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Invalid package.
if (!dragPackage.DraggingMails.Any()) return false;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Check whether source and target folder are the same.
if (interactingContainer.IsSelected) return false;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Check if the interacting container is a folder.
if (!(interactingContainer.DataContext is IBaseFolderMenuItem folderMenuItem)) return false;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Check if the folder is a move target.
if (!folderMenuItem.IsMoveTarget) return false;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Check whether the moving item's account has at least one same as the target folder's account.
var draggedAccountIds = folderMenuItem.HandlingFolders.Select(a => a.MailAccountId);
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (!dragPackage.DraggingMails.Any(a => draggedAccountIds.Contains(a.AssignedAccount.Id))) return false;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
return true;
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void ItemDragEnterOnFolder(object sender, DragEventArgs e)
{
// Validate package content.
if (sender is WinoNavigationViewItem droppedContainer && CanContinueDragDrop(droppedContainer, e))
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
droppedContainer.IsDraggingItemOver = true;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var draggingFolder = droppedContainer.DataContext as IBaseFolderMenuItem;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
e.AcceptedOperation = Windows.ApplicationModel.DataTransfer.DataPackageOperation.Move;
e.DragUIOverride.Caption = string.Format(Translator.DragMoveToFolderCaption, draggingFolder.FolderName);
2024-04-18 01:44:37 +02:00
}
2025-02-16 11:54:23 +01:00
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
public async void Receive(AccountMenuItemExtended message)
{
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.High, async () =>
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
if (message.FolderId == default) return;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (ViewModel.MenuItems.TryGetFolderMenuItem(message.FolderId, out IBaseFolderMenuItem foundMenuItem))
{
foundMenuItem.Expand();
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
await ViewModel.NavigateFolderAsync(foundMenuItem);
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
navigationView.SelectedItem = foundMenuItem;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (message.NavigateMailItem == null) return;
2025-02-16 11:54:23 +01:00
// At this point folder is navigated and items are loaded.
WeakReferenceMessenger.Default.Send(new MailItemNavigationRequested(message.NavigateMailItem.UniqueId, ScrollToItem: true));
}
else if (ViewModel.MenuItems.TryGetAccountMenuItem(message.NavigateMailItem.AssignedAccount.Id, out IAccountMenuItem accountMenuItem))
{
// Loaded account is different. First change the folder items and navigate.
2025-02-16 11:54:23 +01:00
await ViewModel.ChangeLoadedAccountAsync(accountMenuItem, navigateInbox: false);
2025-02-16 11:54:23 +01:00
// Find the folder.
2025-02-16 11:54:23 +01:00
if (ViewModel.MenuItems.TryGetFolderMenuItem(message.FolderId, out IBaseFolderMenuItem accountFolderMenuItem))
{
accountFolderMenuItem.Expand();
2025-02-16 11:54:23 +01:00
await ViewModel.NavigateFolderAsync(accountFolderMenuItem);
2025-02-16 11:54:23 +01:00
navigationView.SelectedItem = accountFolderMenuItem;
2025-02-16 11:54:23 +01:00
// At this point folder is navigated and items are loaded.
WeakReferenceMessenger.Default.Send(new MailItemNavigationRequested(message.NavigateMailItem.UniqueId, ScrollToItem: true));
Folder operations, Gmail folder sync improvements and rework of menu items. (#273) * New rename folder dialog keys. * Insfra work for folder operations and rename folder code. * RenameFolder for Gmail. * Fixed input dialog to take custom take for primary button. * Missing rename for DS call. * Outlook to throw exception in case of error. * Implemented rename folder functionality for Outlook. * Remove default primary text from input dialog. * Fixed an issue where outlook folder rename does not work. * Disable vertical scroll for composing page editor items. * Fixing some issues with imap folder sync. * fix copy pasta * TODO folder update/removed overrides for shell. * New rename folder dialog keys. * Insfra work for folder operations and rename folder code. * RenameFolder for Gmail. * Fixed input dialog to take custom take for primary button. * Missing rename for DS call. * Outlook to throw exception in case of error. * Implemented rename folder functionality for Outlook. * Remove default primary text from input dialog. * Fixed an issue where outlook folder rename does not work. * Disable vertical scroll for composing page editor items. * Fixing some issues with imap folder sync. * fix copy pasta * TODO folder update/removed overrides for shell. * New rename folder dialog keys. * Insfra work for folder operations and rename folder code. * RenameFolder for Gmail. * Fixed input dialog to take custom take for primary button. * Missing rename for DS call. * Outlook to throw exception in case of error. * Implemented rename folder functionality for Outlook. * Remove default primary text from input dialog. * Fixed an issue where outlook folder rename does not work. * Disable vertical scroll for composing page editor items. * Fixing some issues with imap folder sync. * fix copy pasta * TODO folder update/removed overrides for shell. * New rename folder dialog keys. * Fixed an issue where redundant older updates causing pivots to be re-created. * New empty folder request * New rename folder dialog keys. * Insfra work for folder operations and rename folder code. * RenameFolder for Gmail. * Fixed input dialog to take custom take for primary button. * Missing rename for DS call. * Outlook to throw exception in case of error. * Implemented rename folder functionality for Outlook. * Remove default primary text from input dialog. * Fixed an issue where outlook folder rename does not work. * Fixing some issues with imap folder sync. * fix copy pasta * TODO folder update/removed overrides for shell. * New rename folder dialog keys. * New rename folder dialog keys. * New rename folder dialog keys. * Fixed an issue where redundant older updates causing pivots to be re-created. * New empty folder request * Enable empty folder on base sync. * Move updates on event listeners. * Remove folder UI messages. * Reworked folder synchronization for gmail. * Loading folders on the fly as the selected account changed instead of relying on cached menu items. * Merged account folder items, re-navigating to existing rendering page. * - Reworked merged account menu system. - Reworked unread item count loadings. - Fixed back button visibility. - Instant rendering of mails if renderer is active. - Animation fixes. - Menu item re-load crash/hang fixes. * Handle folder renaming on the UI. * Empty folder for all synchronizers. * New execution delay mechanism and handling folder mark as read for all synchronizers. * Revert UI changes on failure for IMAP. * Remove duplicate translation keys. * Cleanup.
2024-07-09 01:05:16 +02:00
}
2025-02-16 11:54:23 +01:00
}
});
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private async void MenuSelectionChanged(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewSelectionChangedEventArgs args)
{
if (args.SelectedItem is IMenuItem invokedMenuItem)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
await ViewModel.MenuItemInvokedOrSelectedAsync(invokedMenuItem);
2024-04-18 01:44:37 +02:00
}
2025-02-16 11:54:23 +01:00
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private async void NavigationViewItemInvoked(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewItemInvokedEventArgs args)
{
// SelectsOnInvoked is handled in MenuSelectionChanged.
// This part is only for the items that are not selectable.
if (args.InvokedItemContainer is WinoNavigationViewItem winoNavigationViewItem)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
if (winoNavigationViewItem.SelectsOnInvoked) return;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
await ViewModel.MenuItemInvokedOrSelectedAsync(winoNavigationViewItem.DataContext as IMenuItem);
2024-04-18 01:44:37 +02:00
}
2025-02-16 11:54:23 +01:00
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
public void Receive(NavigateMailFolderEvent message)
{
if (message.BaseFolderMenuItem == null) return;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (navigationView.SelectedItem != message.BaseFolderMenuItem)
{
var navigateFolderArgs = new NavigateMailFolderEventArgs(message.BaseFolderMenuItem, message.FolderInitLoadAwaitTask);
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
ViewModel.NavigationService.Navigate(WinoPage.MailListPage, navigateFolderArgs, NavigationReferenceFrame.ShellFrame);
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// Prevent double navigation.
navigationView.SelectionChanged -= MenuSelectionChanged;
navigationView.SelectedItem = message.BaseFolderMenuItem;
navigationView.SelectionChanged += MenuSelectionChanged;
}
2025-02-16 11:54:23 +01:00
else
{
2025-02-16 11:54:23 +01:00
// Complete the init task since we are already on the right page.
message.FolderInitLoadAwaitTask?.TrySetResult(true);
}
2025-02-16 11:54:23 +01:00
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void ShellFrameContentNavigated(object sender, Windows.UI.Xaml.Navigation.NavigationEventArgs e)
=> RealAppBar.ShellFrameContent = (e.Content as BasePage).ShellContent;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void BackButtonClicked(WinoAppTitleBar sender, RoutedEventArgs args)
{
WeakReferenceMessenger.Default.Send(new ClearMailSelectionsRequested());
WeakReferenceMessenger.Default.Send(new DisposeRenderingFrameRequested());
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private async void MenuItemContextRequested(UIElement sender, ContextRequestedEventArgs args)
{
// Delegate this request to ViewModel.
// VM will prepare available actions for this folder and show Menu Flyout.
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (sender is WinoNavigationViewItem menuItem &&
menuItem.DataContext is IBaseFolderMenuItem baseFolderMenuItem &&
baseFolderMenuItem.IsMoveTarget &&
args.TryGetPosition(sender, out Point p))
{
args.Handled = true;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var source = new TaskCompletionSource<FolderOperationMenuItem>();
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var actions = ViewModel.GetFolderContextMenuActions(baseFolderMenuItem);
var flyout = new FolderOperationFlyout(actions, source);
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
flyout.ShowAt(menuItem, new FlyoutShowOptions()
{
ShowMode = FlyoutShowMode.Standard,
Position = new Point(p.X + 30, p.Y - 20)
});
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
var operation = await source.Task;
2025-02-16 11:54:23 +01:00
flyout.Dispose();
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
// No action selected.
if (operation == null) return;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
await ViewModel.PerformFolderOperationAsync(operation.Operation, baseFolderMenuItem);
}
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
public void Receive(CreateNewMailWithMultipleAccountsRequested message)
{
// Find the NewMail menu item container.
2025-02-16 11:35:43 +01:00
2025-02-16 11:54:23 +01:00
var container = navigationView.ContainerFromMenuItem(ViewModel.CreateMailMenuItem);
2025-02-16 11:54:23 +01:00
var flyout = new AccountSelectorFlyout(message.AllAccounts, ViewModel.CreateNewMailForAsync);
flyout.ShowAt(container, new FlyoutShowOptions()
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
ShowMode = FlyoutShowMode.Auto,
Placement = FlyoutPlacementMode.Right
});
}
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
private void NavigationPaneOpening(Microsoft.UI.Xaml.Controls.NavigationView sender, object args)
{
// It's annoying that NavigationView doesn't respect expansion state of the items in Minimal display mode.
// Expanded items are collaped, and users need to expand them again.
// Regardless of the reason, we will expand the selected item if it's a folder with parent account for visibility.
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
if (sender.DisplayMode == Microsoft.UI.Xaml.Controls.NavigationViewDisplayMode.Minimal && sender.SelectedItem is IFolderMenuItem selectedFolderMenuItem)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
selectedFolderMenuItem.Expand();
2024-04-18 01:44:37 +02:00
}
2025-02-16 11:54:23 +01:00
}
2025-02-16 11:54:23 +01:00
/// <summary>
/// InfoBar message is requested.
/// </summary>
public async void Receive(InfoBarMessageRequested message)
{
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
{
2025-02-16 11:54:23 +01:00
if (string.IsNullOrEmpty(message.ActionButtonTitle) || message.Action == null)
{
2025-02-16 11:54:23 +01:00
ShellInfoBar.ActionButton = null;
}
else
{
2025-02-16 11:54:23 +01:00
ShellInfoBar.ActionButton = new Button()
{
Content = message.ActionButtonTitle,
Command = new RelayCommand(message.Action)
};
}
2025-02-16 11:54:23 +01:00
ShellInfoBar.Message = message.Message;
ShellInfoBar.Title = message.Title;
ShellInfoBar.Severity = message.Severity.AsMUXCInfoBarSeverity();
ShellInfoBar.IsOpen = true;
});
}
private void NavigationViewDisplayModeChanged(Microsoft.UI.Xaml.Controls.NavigationView sender, Microsoft.UI.Xaml.Controls.NavigationViewDisplayModeChangedEventArgs args)
{
if (args.DisplayMode == Microsoft.UI.Xaml.Controls.NavigationViewDisplayMode.Minimal)
{
ShellFrame.Margin = new Thickness(7, 0, 0, 0);
}
else
{
ShellFrame.Margin = new Thickness(0);
}
2024-04-18 01:44:37 +02:00
}
}