update vor anpassungen vorlagenauswahl fravoriten
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user