You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.1 KiB
69 lines
2.1 KiB
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;
|
|
}
|
|
|
|
public void create_new_sb(int dokumenttypnr)
|
|
{
|
|
serienbrief1.create_new_sb(dokumenttypnr);
|
|
|
|
}
|
|
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(this.profilnr);
|
|
}
|
|
}
|
|
}
|