updaet 20250123
This commit is contained in:
63
Client/DocMgmt/frmSerienbrief.cs
Normal file
63
Client/DocMgmt/frmSerienbrief.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Syncfusion.Windows.Forms.Tools;
|
||||
using Syncfusion.WinForms.Controls;
|
||||
using NLog;
|
||||
using OnDoc.DocMgmt;
|
||||
using OnDoc.Helper;
|
||||
using OnDoc.Klassen;
|
||||
using BroadcastListener.Classes;
|
||||
using BroadcastListener.Interfaces;
|
||||
using static BroadcastListener.Classes.Factory;
|
||||
|
||||
namespace OnDoc.DocMgmt
|
||||
{
|
||||
public partial class frmSerienbrief : SfForm//, IMessageListener1
|
||||
{
|
||||
private int profilnr = 0;
|
||||
public frmSerienbrief()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
||||
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
||||
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
||||
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
||||
//Broadcaster().AddListener(this);
|
||||
Closing += Form_Closing;
|
||||
}
|
||||
|
||||
public frmSerienbrief(int profilnr)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
||||
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
||||
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
||||
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
||||
this.profilnr = profilnr;
|
||||
////Broadcaster().AddListener(this);
|
||||
////Closing += Form_Closing;
|
||||
}
|
||||
|
||||
private void Form_Closing(object sender, CancelEventArgs e)
|
||||
{
|
||||
serienbrief1.dispose();
|
||||
}
|
||||
|
||||
private bool IsPreview = false;
|
||||
private string PreviewFiename = "";
|
||||
private int broadcasterdone = 0;
|
||||
|
||||
private void frmSerienbrief_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
serienbrief1.Init();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user