updaet 20250123
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user