update vor anpassungen vorlagenauswahl fravoriten

This commit is contained in:
Stefan Hutter
2024-08-16 11:45:18 +02:00
parent fc8811829d
commit d9cd58edfe
52 changed files with 3145 additions and 421 deletions

View File

@@ -421,12 +421,13 @@ namespace OnDoc.UICintrols
{
createnewdoc(0, 0);
}
public void createnewdoc(int partnernr, int dokumenttypnr, string interaktion="Yes",string showdoc="Yes")
public void createnewdoc(int partnernr, int dokumenttypnr, bool Favoriten=false, string interaktion="Yes",string showdoc="Yes")
{
if (dokumenttypnr == 0)
{
DokTypSelect DokTypSelect = new DokTypSelect();
DokTypSelect DokTypSelect = new DokTypSelect(Favoriten);
DokTypSelect.vorlagentype = 0;
DokTypSelect.ShowDialog(this);
if (DokTypSelect.DialogResult == DialogResult.OK)
{
@@ -756,5 +757,10 @@ namespace OnDoc.UICintrols
vs.Show();
dokumentAnVersandstrasseToolStripMenuItem.Visible = true;
}
private void RibbonButtonFavoriten_Click(object sender, EventArgs e)
{
createnewdoc(0, 0, true);
}
}
}