This commit is contained in:
Meik
2026-03-05 09:56:57 +01:00
parent 838e6b1ee1
commit 4013fa8e32
827 changed files with 743038 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
using C4IT_CustomerPanel.libs;
using System;
namespace C4IT_CustomerPanel.forms
{
/// <summary>
/// Interaktionslogik für announcementForm.xaml
/// </summary>
public partial class AnnouncementForm
{
public AnnouncementForm()
{
InitializeComponent();
Left = FormHelper.CenterOfScreen().X;
Top = FormHelper.CenterOfScreen().Y;
}
private void LeftMouseDown_Event(object sender, EventArgs e)
{
this.DragMove();
}
public void UpdateForm(string createdDate, string subject, string main)
{
TxtCreatedDate.Text = createdDate;
TxtSubject.Text = subject;
WebMain.NavigateToString(main);
}
private void OnCloseClicked(object sender, EventArgs e)
{
Hide();
GC.Collect();
}
}
}