// Copyright (c) 2023 schick Informatik // Description: Extra shipcall info shown in drop down // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace BreCalClient { /// /// Interaction logic for ShipcallExtraControl.xaml /// public partial class ShipcallExtraControl : UserControl { public ShipcallExtraControl() { InitializeComponent(); } #region events public event Action? CloseExtraRequested; #endregion #region Properties /// /// this is our datasource /// public ShipcallControlModel? ShipcallControlModel { get; set; } #endregion private void buttonCloseDropDown_Click(object sender, RoutedEventArgs e) { if (this.CloseExtraRequested != null) { this.CloseExtraRequested(this); } } } }