update 20260727

This commit is contained in:
Stefan Hutter
2026-07-27 13:06:08 +02:00
parent ebc8101626
commit 19dc5ccdfd
301 changed files with 89723 additions and 223 deletions
+34 -45
View File
@@ -103,8 +103,7 @@ namespace OnDoc.DocMgmt
//
this.ribbon1.CaptionBarVisible = false;
this.ribbon1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.ribbon1.Location = new System.Drawing.Point(3, 2);
this.ribbon1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.ribbon1.Location = new System.Drawing.Point(2, 2);
this.ribbon1.Minimized = false;
this.ribbon1.Name = "ribbon1";
//
@@ -118,7 +117,7 @@ namespace OnDoc.DocMgmt
this.ribbon1.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
this.ribbon1.OrbVisible = false;
this.ribbon1.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
this.ribbon1.Size = new System.Drawing.Size(663, 91);
this.ribbon1.Size = new System.Drawing.Size(498, 74);
this.ribbon1.TabIndex = 0;
this.ribbon1.Tabs.Add(this.ribbonTab1);
this.ribbon1.TabSpacing = 4;
@@ -268,11 +267,9 @@ namespace OnDoc.DocMgmt
this.sfListView1.BackColor = System.Drawing.SystemColors.Window;
this.sfListView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.sfListView1.HotTracking = true;
this.sfListView1.Location = new System.Drawing.Point(3, 93);
this.sfListView1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.sfListView1.Location = new System.Drawing.Point(2, 76);
this.sfListView1.Name = "sfListView1";
this.sfListView1.Padding = new System.Windows.Forms.Padding(11, 0, 0, 0);
this.sfListView1.Size = new System.Drawing.Size(663, 719);
this.sfListView1.Size = new System.Drawing.Size(498, 583);
this.sfListView1.TabIndex = 1;
this.sfListView1.Text = "sfListView1";
this.sfListView1.VerticalScrollIncrement = 20;
@@ -302,12 +299,11 @@ namespace OnDoc.DocMgmt
this.treeViewAdv1.HelpTextControl.TabIndex = 0;
this.treeViewAdv1.HelpTextControl.Visible = true;
this.treeViewAdv1.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
this.treeViewAdv1.Location = new System.Drawing.Point(4, 78);
this.treeViewAdv1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.treeViewAdv1.Location = new System.Drawing.Point(3, 64);
this.treeViewAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
this.treeViewAdv1.Name = "treeViewAdv1";
this.treeViewAdv1.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdv1.Size = new System.Drawing.Size(659, 637);
this.treeViewAdv1.Size = new System.Drawing.Size(494, 516);
this.treeViewAdv1.TabIndex = 2;
this.treeViewAdv1.Text = "treeViewAdv1";
this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
@@ -397,13 +393,12 @@ namespace OnDoc.DocMgmt
this.treeViewAdv2.HelpTextControl.TabIndex = 0;
this.treeViewAdv2.HelpTextControl.Visible = true;
this.treeViewAdv2.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
this.treeViewAdv2.Location = new System.Drawing.Point(0, 74);
this.treeViewAdv2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.treeViewAdv2.Location = new System.Drawing.Point(0, 61);
this.treeViewAdv2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
this.treeViewAdv2.Name = "treeViewAdv2";
this.treeViewAdv2.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdv2.ShouldSelectNodeOnEnter = false;
this.treeViewAdv2.Size = new System.Drawing.Size(664, 645);
this.treeViewAdv2.Size = new System.Drawing.Size(498, 522);
this.treeViewAdv2.TabIndex = 3;
this.treeViewAdv2.Text = "treeViewAdv2";
this.treeViewAdv2.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
@@ -480,31 +475,29 @@ namespace OnDoc.DocMgmt
this.grpFavoriten.Controls.Add(this.treeViewAdv2);
this.grpFavoriten.Controls.Add(this.toolStrip1);
this.grpFavoriten.Dock = System.Windows.Forms.DockStyle.Left;
this.grpFavoriten.Location = new System.Drawing.Point(670, 93);
this.grpFavoriten.Location = new System.Drawing.Point(502, 76);
this.grpFavoriten.Margin = new System.Windows.Forms.Padding(0);
this.grpFavoriten.Name = "grpFavoriten";
this.grpFavoriten.Padding = new System.Windows.Forms.Padding(0);
this.grpFavoriten.Size = new System.Drawing.Size(664, 719);
this.grpFavoriten.Size = new System.Drawing.Size(498, 583);
this.grpFavoriten.TabIndex = 4;
this.grpFavoriten.TabStop = false;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(355, 49);
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label3.Location = new System.Drawing.Point(266, 40);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(194, 16);
this.label3.Size = new System.Drawing.Size(153, 13);
this.label3.TabIndex = 7;
this.label3.Text = "- Mit Speichersymbol speichern";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(355, 32);
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label2.Location = new System.Drawing.Point(266, 26);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(274, 16);
this.label2.Size = new System.Drawing.Size(225, 13);
this.label2.TabIndex = 6;
this.label2.Text = "- Element anwählen und Tasten Ctrl Up/Down";
//
@@ -512,8 +505,7 @@ namespace OnDoc.DocMgmt
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(355, 16);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Location = new System.Drawing.Point(266, 13);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(69, 13);
this.label1.TabIndex = 5;
@@ -532,9 +524,9 @@ namespace OnDoc.DocMgmt
this.toolStripSeparator3,
this.toolStripButton3,
this.toolStripLabel3});
this.toolStrip1.Location = new System.Drawing.Point(0, 15);
this.toolStrip1.Location = new System.Drawing.Point(0, 13);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(664, 59);
this.toolStrip1.Size = new System.Drawing.Size(498, 48);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
@@ -577,7 +569,7 @@ namespace OnDoc.DocMgmt
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 59);
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 48);
//
// tsbtndelete
//
@@ -594,7 +586,7 @@ namespace OnDoc.DocMgmt
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 59);
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 48);
//
// toolStripButton3
//
@@ -612,18 +604,16 @@ namespace OnDoc.DocMgmt
// toolStripLabel3
//
this.toolStripLabel3.Name = "toolStripLabel3";
this.toolStripLabel3.Size = new System.Drawing.Size(0, 56);
this.toolStripLabel3.Size = new System.Drawing.Size(0, 45);
//
// grpVorlagen
//
this.grpVorlagen.Controls.Add(this.treeViewAdv1);
this.grpVorlagen.Controls.Add(this.toolStrip2);
this.grpVorlagen.Dock = System.Windows.Forms.DockStyle.Left;
this.grpVorlagen.Location = new System.Drawing.Point(3, 93);
this.grpVorlagen.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.grpVorlagen.Location = new System.Drawing.Point(2, 76);
this.grpVorlagen.Name = "grpVorlagen";
this.grpVorlagen.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.grpVorlagen.Size = new System.Drawing.Size(667, 719);
this.grpVorlagen.Size = new System.Drawing.Size(500, 583);
this.grpVorlagen.TabIndex = 5;
this.grpVorlagen.TabStop = false;
//
@@ -642,23 +632,23 @@ namespace OnDoc.DocMgmt
this.toolStripLabel2,
this.toolstripCombobox_Fachverantwortung,
this.toolStripButton4});
this.toolStrip2.Location = new System.Drawing.Point(4, 19);
this.toolStrip2.Location = new System.Drawing.Point(3, 16);
this.toolStrip2.Name = "toolStrip2";
this.toolStrip2.Size = new System.Drawing.Size(659, 59);
this.toolStrip2.Size = new System.Drawing.Size(494, 48);
this.toolStrip2.TabIndex = 5;
this.toolStrip2.Text = "toolStrip2";
//
// toolStripLabel1
//
this.toolStripLabel1.Name = "toolStripLabel1";
this.toolStripLabel1.Size = new System.Drawing.Size(49, 56);
this.toolStripLabel1.Size = new System.Drawing.Size(49, 45);
this.toolStripLabel1.Text = "Suchen:";
//
// toolstriptextboxsearch
//
this.toolstriptextboxsearch.Font = new System.Drawing.Font("Segoe UI", 9F);
this.toolstriptextboxsearch.Name = "toolstriptextboxsearch";
this.toolstriptextboxsearch.Size = new System.Drawing.Size(132, 59);
this.toolstriptextboxsearch.Size = new System.Drawing.Size(100, 48);
this.toolstriptextboxsearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolstriptextboxsearch_KeyDown);
//
// toolStripButton1
@@ -667,7 +657,7 @@ namespace OnDoc.DocMgmt
this.toolStripButton1.Image = global::OnDoc.Properties.Resources.Search_24x24_32;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(24, 56);
this.toolStripButton1.Size = new System.Drawing.Size(24, 45);
this.toolStripButton1.Text = "Suchen";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
@@ -677,26 +667,26 @@ namespace OnDoc.DocMgmt
this.toolStripButton2.Image = global::OnDoc.Properties.Resources.CloseApplication_24x24_32;
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(24, 56);
this.toolStripButton2.Size = new System.Drawing.Size(24, 45);
this.toolStripButton2.Text = "Suchfeld initialisieren";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 59);
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 48);
this.toolStripSeparator2.Visible = false;
//
// toolStripLabel2
//
this.toolStripLabel2.Name = "toolStripLabel2";
this.toolStripLabel2.Size = new System.Drawing.Size(110, 56);
this.toolStripLabel2.Size = new System.Drawing.Size(110, 45);
this.toolStripLabel2.Text = "Fachverantwortung";
//
// toolstripCombobox_Fachverantwortung
//
this.toolstripCombobox_Fachverantwortung.Name = "toolstripCombobox_Fachverantwortung";
this.toolstripCombobox_Fachverantwortung.Size = new System.Drawing.Size(129, 59);
this.toolstripCombobox_Fachverantwortung.Size = new System.Drawing.Size(98, 48);
this.toolstripCombobox_Fachverantwortung.SelectedIndexChanged += new System.EventHandler(this.toolstripCombobox_Fachverantwortung_SelectedIndexChanged);
//
// toolStripButton4
@@ -705,22 +695,21 @@ namespace OnDoc.DocMgmt
this.toolStripButton4.Image = global::OnDoc.Properties.Resources.CloseApplication_24x24_32;
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(24, 56);
this.toolStripButton4.Size = new System.Drawing.Size(24, 45);
this.toolStripButton4.Text = "Fachverantwortung initialisieren";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// DokTypSelect
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(669, 814);
this.ClientSize = new System.Drawing.Size(502, 661);
this.Controls.Add(this.grpFavoriten);
this.Controls.Add(this.grpVorlagen);
this.Controls.Add(this.sfListView1);
this.Controls.Add(this.ribbon1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "DokTypSelect";
this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
this.Style.MdiChild.IconVerticalAlignment = System.Windows.Forms.VisualStyles.VerticalAlignment.Center;
+14
View File
@@ -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();
}
+1 -1
View File
@@ -283,7 +283,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABm
DgAAAk1TRnQBSQFMAgEBCAEAAeABAQHgAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
DgAAAk1TRnQBSQFMAgEBCAEAAfABAQHwAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA