git_brcal/src/BreCalClient/EditTimesAgencyOutgoingControl.xaml.cs
2023-10-04 07:34:16 +02:00

107 lines
2.2 KiB
C#

// Copyright (c) 2023 schick Informatik
// Description: Input control for outgoing shipcalls
//
using BreCalClient.misc.Model;
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.Shapes;
namespace BreCalClient
{
/// <summary>
/// Interaction logic for EditTimesAgencyOutgoingControl.xaml
/// </summary>
public partial class EditTimesAgencyOutgoingControl : Window, IEditShipcallTimesControl
{
#region Construction
public EditTimesAgencyOutgoingControl()
{
InitializeComponent();
}
#endregion
#region Properties
public ShipcallControlModel ShipcallModel { get; set; } = new();
public Times Times { get; set; } = new();
#endregion
#region event handler
private void Window_Loaded(object sender, RoutedEventArgs e)
{
}
private void buttonOK_Click(object sender, RoutedEventArgs e)
{
this.CopyToModel();
this.DialogResult = true;
this.Close();
}
private void buttonCancel_Click(object sender, RoutedEventArgs e)
{
this.DialogResult = false;
this.Close();
}
#endregion
#region private methods
private void CopyToModel()
{
}
private void CopyToControls()
{
}
#endregion
private void contextMenuItemClearTug_Click(object sender, RoutedEventArgs e)
{
}
private void contextMenuItemClearPilot_Click(object sender, RoutedEventArgs e)
{
}
private void contextMenuItemClearMooring_Click(object sender, RoutedEventArgs e)
{
}
private void contextMenuItemDepartureBerth_Click(object sender, RoutedEventArgs e)
{
}
private void contextMenuItemClearTerminal_Click(object sender, RoutedEventArgs e)
{
}
}
}