Files
deskhubsharprevised/DeskHubSharpRevised/FeedbackWindow.axaml.cs

34 lines
744 B
C#
Raw Normal View History

2022-06-29 13:02:15 -04:00
using Avalonia;
2022-06-29 12:59:53 -04:00
using Avalonia.Controls;
2022-06-29 13:02:15 -04:00
using Avalonia.Interactivity;
2022-06-29 12:59:53 -04:00
using Avalonia.Markup.Xaml;
2022-06-29 13:02:15 -04:00
using DeskHubSharpRevised.BLL;
2022-06-29 12:59:53 -04:00
2022-06-29 13:02:15 -04:00
namespace DeskHubSharpRevised;
public partial class FeedbackWindow : Window
2022-06-29 12:59:53 -04:00
{
2022-06-29 13:02:15 -04:00
public FeedbackWindow()
2022-06-29 12:59:53 -04:00
{
2022-06-29 13:02:15 -04:00
InitializeComponent();
2022-06-29 12:59:53 -04:00
#if DEBUG
2022-06-29 13:02:15 -04:00
this.AttachDevTools();
2022-06-29 12:59:53 -04:00
#endif
2022-06-29 13:02:15 -04:00
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
private void btn_discard_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
2022-06-29 12:59:53 -04:00
2022-06-29 13:02:15 -04:00
private void btn_send_Click(object sender, RoutedEventArgs e)
{
EmailBLL email = new EmailBLL(txtbox_name.Text, txtbox_feedbackmessage.Text, txtbox_email.Text);
email.CreateMessage();
2022-06-29 12:59:53 -04:00
}
2022-06-29 13:02:15 -04:00
}