update 20260727
This commit is contained in:
@@ -987,19 +987,33 @@ namespace OnDoc.DocMgmt
|
||||
{
|
||||
System.Data.DataRow row = treeViewAdv1.SelectedNode.TagObject as System.Data.DataRow;
|
||||
dokumenttypnr = Convert.ToInt32(row["ID"]);
|
||||
Screen screen = Screen.FromControl(this);
|
||||
|
||||
if (vorlagentype == 2)
|
||||
{
|
||||
DokTypDetails dd = new DokTypDetails(dokumenttypnr, true);
|
||||
dd.StartPosition = FormStartPosition.Manual;
|
||||
dd.Location = new System.Drawing.Point(
|
||||
screen.WorkingArea.Left + 50,
|
||||
screen.WorkingArea.Top + 50);
|
||||
dd.ShowDialog();
|
||||
return;
|
||||
}
|
||||
if (treeViewAdv1.SelectedNode.Text.Contains("Ohne Archivierung]"))
|
||||
{
|
||||
DokTypDetails dd = new DokTypDetails(dokumenttypnr,1);
|
||||
dd.StartPosition = FormStartPosition.Manual;
|
||||
dd.Location = new System.Drawing.Point(
|
||||
screen.WorkingArea.Left + 50,
|
||||
screen.WorkingArea.Top + 50);
|
||||
dd.ShowDialog();
|
||||
} else
|
||||
{
|
||||
DokTypDetails dd = new DokTypDetails(dokumenttypnr);
|
||||
dd.StartPosition = FormStartPosition.Manual;
|
||||
dd.Location = new System.Drawing.Point(
|
||||
screen.WorkingArea.Left + 50,
|
||||
screen.WorkingArea.Top + 50);
|
||||
dd.ShowDialog();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user