updaet 20250123

This commit is contained in:
Stefan Hutter
2025-01-24 16:25:47 +01:00
parent 52a3fecee5
commit 608c67d21b
156 changed files with 2055 additions and 1660 deletions

View File

@@ -42,18 +42,28 @@ namespace OnDoc.Diverses
this.cbboxMitarbeiter.Visible = false;
}
public InputDialog(bool Mitarbeiter,string description)
public InputDialog(bool Mitarbeiter,string description, string caption)
{
InitializeComponent();
this.Style.TitleBar.BackColor = Theaming.Titelbar();
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
this.textBox1.Visible = false;
this.cbboxMitarbeiter.Visible = true;
this.label1.Text = description;
this.Text = caption;
isMaDialog = true;
}
public InputDialog(string caption, string description, string defaultvalue, bool multiline)
{
InitializeComponent();
this.Style.TitleBar.BackColor = Theaming.Titelbar();
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
this.multiline = multiline;
int AddHeight = 100;
this.textBox1.Visible = true;
@@ -65,7 +75,7 @@ namespace OnDoc.Diverses
this.Height = this.textBox1.Top + this.textBox1.Height + this.btnok.Height + 50;
this.btnok.Top = this.textBox1.Top + this.textBox1.Height + 5;
this.btncancel.Top = this.btnok.Top;
this.Text= caption;
this.cbboxMitarbeiter.Visible = false;
this.label1.Text = description;
isMaDialog = false;