update 20251113
This commit is contained in:
85
Client - Kopie/DocMgmt/DokTypDetails.cs
Normal file
85
Client - Kopie/DocMgmt/DokTypDetails.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user