Files
BeWoPlaner/BeWoLauncher/View/Frames/InfoFrame.xaml.cs
rene 4fbfdbaf2c Unit Tests erstellt
Informationen ausgelagert
Kleines Spy/Test Programm erstellt
Mehr Exceptions/InvalidUpdateFileRequestException.cs
Launcher Host in Download Server geändert
Download Server macht zusätzlich Abfrage an den Hauptserver
Download geht jetzt stückweise von statten
2022-12-28 16:36:59 +01:00

55 lines
1.3 KiB
C#

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 BeWoLauncher.View.Frames
{
/// <summary>
/// Interaktionslogik für ErrorScreen.xaml
/// </summary>
public partial class InfoFrame : FrameBase
{
public event EventHandler Button1Click;
public InfoFrame()
{
InitializeComponent();
}
public string Title
{
get => lblTitle.Content as string;
set => lblTitle.Content = value;
}
public string Text
{
get => txtField2.Text;
set => txtField2.Text = value;
}
public void CollapseCopyButton() => btnCopy.Visibility = Visibility.Collapsed;
private void Button_Click(object sender, RoutedEventArgs e)
{
System.Windows.Clipboard.SetText(Text);
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
Button1Click.Invoke(this, new EventArgs());
}
}
}