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.
86 lines
2.9 KiB
86 lines
2.9 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 OnDoc.Klassen;
|
|
using Syncfusion.Windows.Forms.Tools;
|
|
using Syncfusion.WinForms.Controls;
|
|
|
|
namespace OnDoc.DocMgmt
|
|
{
|
|
public partial class DokTypDetails : SfForm
|
|
{
|
|
private int dokumenttypnr { get; set; } = 0;
|
|
private int einzeldokument { get; set; } = 0;
|
|
|
|
private bool dokumentpaket { get; set; } = false;
|
|
public DokTypDetails()
|
|
{
|
|
InitializeComponent();
|
|
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
|
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
|
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
|
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
|
}
|
|
|
|
public DokTypDetails(int dokumenttypnr)
|
|
{
|
|
InitializeComponent();
|
|
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
|
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
|
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
|
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
|
this.dokumenttypnr=dokumenttypnr;
|
|
|
|
}
|
|
|
|
public DokTypDetails(int dokumenttypnr, int einzeldokument)
|
|
{
|
|
InitializeComponent();
|
|
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
|
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
|
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
|
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
|
this.dokumenttypnr = dokumenttypnr;
|
|
this.einzeldokument=einzeldokument;
|
|
|
|
}
|
|
|
|
public DokTypDetails(int dokumenttypnr, bool dokumentpaket)
|
|
{
|
|
InitializeComponent();
|
|
this.Style.TitleBar.BackColor = Theaming.Titelbar();
|
|
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
|
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
|
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
|
this.dokumenttypnr = dokumenttypnr;
|
|
this.dokumentpaket = dokumentpaket;
|
|
|
|
}
|
|
|
|
|
|
private void DokTypDetails_Load(object sender, EventArgs e)
|
|
{
|
|
this.groupBox1.Visible = true;
|
|
if (this.dokumentpaket == true)
|
|
{
|
|
groupBox1.Visible = false;
|
|
}
|
|
dokTypDetail1.dokumenttypnr=dokumenttypnr;
|
|
dokTypDetail1.einzeldokument = einzeldokument;
|
|
dokTypDetail1.dokumentpaket = dokumentpaket;
|
|
dokTypDetail1.Refresh_Details();
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
dokTypDetail1.opensource();
|
|
}
|
|
}
|
|
}
|