71 lines
1.4 KiB
C#
71 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
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 BeWo.View
|
|
{
|
|
/// <summary>
|
|
/// Interaktionslogik für SupportEMailControl.xaml
|
|
/// </summary>
|
|
public partial class SupportEMailControl : UserControl
|
|
{
|
|
public event Action CancelButtonClicked;
|
|
public event Action OkButtonClicked;
|
|
|
|
|
|
public SupportEMailControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public String SenderName
|
|
{
|
|
get { return txtName.Text; }
|
|
set { txtName.Text = value; }
|
|
}
|
|
|
|
public String SenderEMail
|
|
{
|
|
get { return txtEMail.Text; }
|
|
set { txtEMail.Text = value; }
|
|
}
|
|
|
|
public String Subject
|
|
{
|
|
get { return txtSubject.Text; }
|
|
set { txtSubject.Text = value; }
|
|
}
|
|
|
|
public String Message
|
|
{
|
|
get { return txtContent.Text; }
|
|
set { txtContent.Text = value; }
|
|
}
|
|
|
|
private void AbbrechenButton_OnClick(object sender, RoutedEventArgs e)
|
|
{
|
|
if (CancelButtonClicked != null)
|
|
CancelButtonClicked();
|
|
}
|
|
|
|
|
|
private void WeiterButton_OnClick(object sender, RoutedEventArgs e)
|
|
{
|
|
if (OkButtonClicked != null)
|
|
OkButtonClicked();
|
|
}
|
|
|
|
|
|
}
|
|
}
|