initial
This commit is contained in:
42
forms/announcementForm.xaml.cs
Normal file
42
forms/announcementForm.xaml.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user