update 20250219
This commit is contained in:
@@ -32,6 +32,7 @@ namespace OnDoc.DocMgmt
|
||||
public int type { get; set; } = 1;
|
||||
|
||||
private Boolean dragSender_Favoriten = false;
|
||||
private int SaveFormWidth = 515;
|
||||
|
||||
//0="Einzelvorlagen"
|
||||
//1="Dokumentpaket"
|
||||
@@ -46,6 +47,7 @@ namespace OnDoc.DocMgmt
|
||||
new QueryAllowedPositionsEventHandler(this.TreeDragDrop_QueryAllowedPositionsForNode1);
|
||||
this.treeViewDragHighlightTracker1.QueryDragInsertInfo +=
|
||||
new QueryDragInsertInfoEventHandler(treeViewDragHighlightTracker_QueryDragInsertInfo1);
|
||||
|
||||
}
|
||||
|
||||
public DokTypSelect(bool favoriten)
|
||||
@@ -79,7 +81,7 @@ namespace OnDoc.DocMgmt
|
||||
this.Style.TitleBar.ForeColor = Theaming.TitelFontColor();
|
||||
this.Style.ShadowOpacity = Theaming.ShadowOpacity;
|
||||
this.Style.InactiveShadowOpacity = Theaming.InactivShadowOpacity;
|
||||
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Get_Tabledata("select distinct fachverantwortung from dbo.view_dokumenttypen_relaunch order by fachverantwortung asc", false, true);
|
||||
foreach (System.Data.DataRow dr in db.dsdaten.Tables[0].Rows)
|
||||
@@ -611,12 +613,14 @@ namespace OnDoc.DocMgmt
|
||||
grpVorlagen.Visible = true;
|
||||
grpFavoriten.Visible = false;
|
||||
grpVorlagen.Dock = DockStyle.Fill;
|
||||
this.Width = SaveFormWidth;
|
||||
}
|
||||
if (RibbonButtonVorlagen.Checked == false & RibbonButtonFavoriten.Checked == true)
|
||||
{
|
||||
grpVorlagen.Visible = false;
|
||||
grpFavoriten.Visible = true;
|
||||
grpFavoriten.Dock = DockStyle.Fill;
|
||||
this.Width = SaveFormWidth; ;
|
||||
}
|
||||
if (RibbonButtonVorlagen.Checked == false & RibbonButtonFavoriten.Checked == false)
|
||||
{
|
||||
@@ -630,7 +634,8 @@ namespace OnDoc.DocMgmt
|
||||
grpFavoriten.Visible = true;
|
||||
grpVorlagen.Dock = DockStyle.Left;
|
||||
grpFavoriten.Dock = DockStyle.Left;
|
||||
grpVorlagen.Width = this.Width / 2;
|
||||
//grpVorlagen.Width = this.Width / 2;
|
||||
this.Width = SaveFormWidth * 2;
|
||||
grpFavoriten.Width = grpVorlagen.Width;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user