Update 20240807 - nach NUGET-Update Syncfusion
This commit is contained in:
@@ -37,6 +37,7 @@ namespace OnDoc.DocMgmt
|
||||
|
||||
public void load_standard(string filter)
|
||||
{
|
||||
Cursor = Cursors.WaitCursor;
|
||||
if (AppParams.connectionstring == "")
|
||||
{
|
||||
AppParams.init();
|
||||
@@ -65,7 +66,8 @@ namespace OnDoc.DocMgmt
|
||||
ds.Tables[0].TableName = "Struktur";
|
||||
ds.Tables.Add(vorlagen.Copy());
|
||||
ds.Relations.Add("TreeParentChild", ds.Tables[0].Columns["ID"], ds.Tables[0].Columns["ParentID"],false);
|
||||
ds.Relations.Add("VorlagenParent", ds.Tables[0].Columns["id"], ds.Tables[1].Columns["node"], false);
|
||||
ds.Relations.Add("VorlagenParent", ds.Tables[0].Columns["ID"], ds.Tables[1].Columns["node"], false);
|
||||
|
||||
|
||||
|
||||
foreach ( System.Data. DataRow dr in ds.Tables[0].Rows)
|
||||
@@ -93,6 +95,7 @@ namespace OnDoc.DocMgmt
|
||||
TreeViewAdvFindReplaceDialog dialog = new TreeViewAdvFindReplaceDialog(this.treeViewAdv1);
|
||||
dialog.Find(ExternalCall.struktur, Syncfusion.Windows.Forms.Tools.TreeViewSearchOption.MatchWholeText, Syncfusion.Windows.Forms.Tools.TreeViewSearchRange.TreeView);
|
||||
}
|
||||
Cursor = Cursors.Default;
|
||||
}
|
||||
void treeViewAdv1_OnNodeAfterFound(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvAfterFindArgs e)
|
||||
{
|
||||
@@ -117,7 +120,11 @@ namespace OnDoc.DocMgmt
|
||||
}
|
||||
public void PopulateTree(System.Data.DataRow dr, TreeNodeAdv pNode)
|
||||
{
|
||||
//To iterate through all the rows in the DataSet
|
||||
if (dr.GetChildRows("TreeParentChild").Count() == 0)
|
||||
{
|
||||
PopulateSubTree(dr, pNode);
|
||||
}
|
||||
//To iterate through all the rows in the DataSet
|
||||
foreach (System.Data.DataRow row in dr.GetChildRows("TreeParentChild"))
|
||||
{
|
||||
//Creating a TreeNode for each row
|
||||
|
||||
54
Client/DocMgmt/Dokumenterstellung.Designer.cs
generated
54
Client/DocMgmt/Dokumenterstellung.Designer.cs
generated
@@ -33,7 +33,6 @@
|
||||
this.sfButton3 = new Syncfusion.WinForms.Controls.SfButton();
|
||||
this.btnDokumenterstellen = new Syncfusion.WinForms.Controls.SfButton();
|
||||
this.PnlPreview = new System.Windows.Forms.Panel();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
this.GrpFnkt = new System.Windows.Forms.GroupBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
@@ -47,6 +46,7 @@
|
||||
this.lbledit = new System.Windows.Forms.Label();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
this.ucAllgemeineDokumentParam1 = new OnDoc.UIControls.UCAllgemeineDokumentParam();
|
||||
this.PnlPreview.SuspendLayout();
|
||||
this.GrpFnkt.SuspendLayout();
|
||||
@@ -76,20 +76,12 @@
|
||||
//
|
||||
this.PnlPreview.Controls.Add(this.docPreview1);
|
||||
this.PnlPreview.Controls.Add(this.GrpFnkt);
|
||||
this.PnlPreview.Location = new System.Drawing.Point(63, 5);
|
||||
this.PnlPreview.Location = new System.Drawing.Point(254, 108);
|
||||
this.PnlPreview.Name = "PnlPreview";
|
||||
this.PnlPreview.Size = new System.Drawing.Size(1047, 643);
|
||||
this.PnlPreview.Size = new System.Drawing.Size(668, 415);
|
||||
this.PnlPreview.TabIndex = 19;
|
||||
this.PnlPreview.Visible = false;
|
||||
//
|
||||
// docPreview1
|
||||
//
|
||||
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.docPreview1.Location = new System.Drawing.Point(117, 0);
|
||||
this.docPreview1.Name = "docPreview1";
|
||||
this.docPreview1.Size = new System.Drawing.Size(930, 643);
|
||||
this.docPreview1.TabIndex = 1;
|
||||
//
|
||||
// GrpFnkt
|
||||
//
|
||||
this.GrpFnkt.BackColor = System.Drawing.Color.SeaShell;
|
||||
@@ -105,10 +97,10 @@
|
||||
this.GrpFnkt.Controls.Add(this.lbledit);
|
||||
this.GrpFnkt.Controls.Add(this.button2);
|
||||
this.GrpFnkt.Controls.Add(this.button1);
|
||||
this.GrpFnkt.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.GrpFnkt.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.GrpFnkt.Location = new System.Drawing.Point(0, 0);
|
||||
this.GrpFnkt.Name = "GrpFnkt";
|
||||
this.GrpFnkt.Size = new System.Drawing.Size(117, 643);
|
||||
this.GrpFnkt.Size = new System.Drawing.Size(668, 123);
|
||||
this.GrpFnkt.TabIndex = 2;
|
||||
this.GrpFnkt.TabStop = false;
|
||||
this.GrpFnkt.Text = "Funktionen";
|
||||
@@ -116,7 +108,7 @@
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(11, 526);
|
||||
this.label6.Location = new System.Drawing.Point(334, 99);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(79, 13);
|
||||
this.label6.TabIndex = 11;
|
||||
@@ -125,7 +117,7 @@
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(22, 513);
|
||||
this.label5.Location = new System.Drawing.Point(345, 86);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(60, 13);
|
||||
this.label5.TabIndex = 10;
|
||||
@@ -134,7 +126,7 @@
|
||||
// button5
|
||||
//
|
||||
this.button5.Image = ((System.Drawing.Image)(resources.GetObject("button5.Image")));
|
||||
this.button5.Location = new System.Drawing.Point(15, 442);
|
||||
this.button5.Location = new System.Drawing.Point(338, 15);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(75, 81);
|
||||
this.button5.TabIndex = 9;
|
||||
@@ -145,7 +137,7 @@
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(22, 411);
|
||||
this.label4.Location = new System.Drawing.Point(264, 84);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(60, 13);
|
||||
this.label4.TabIndex = 8;
|
||||
@@ -154,7 +146,7 @@
|
||||
// button4
|
||||
//
|
||||
this.button4.Image = ((System.Drawing.Image)(resources.GetObject("button4.Image")));
|
||||
this.button4.Location = new System.Drawing.Point(15, 340);
|
||||
this.button4.Location = new System.Drawing.Point(257, 13);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(75, 81);
|
||||
this.button4.TabIndex = 7;
|
||||
@@ -165,7 +157,7 @@
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(18, 310);
|
||||
this.label3.Location = new System.Drawing.Point(179, 101);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(72, 13);
|
||||
this.label3.TabIndex = 6;
|
||||
@@ -174,7 +166,7 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(28, 297);
|
||||
this.label2.Location = new System.Drawing.Point(189, 88);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(48, 13);
|
||||
this.label2.TabIndex = 5;
|
||||
@@ -183,9 +175,9 @@
|
||||
// button3
|
||||
//
|
||||
this.button3.Image = ((System.Drawing.Image)(resources.GetObject("button3.Image")));
|
||||
this.button3.Location = new System.Drawing.Point(15, 224);
|
||||
this.button3.Location = new System.Drawing.Point(176, 15);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(75, 81);
|
||||
this.button3.Size = new System.Drawing.Size(75, 79);
|
||||
this.button3.TabIndex = 4;
|
||||
this.button3.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
@@ -194,7 +186,7 @@
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(28, 196);
|
||||
this.label1.Location = new System.Drawing.Point(108, 86);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(48, 13);
|
||||
this.label1.TabIndex = 3;
|
||||
@@ -203,7 +195,7 @@
|
||||
// lbledit
|
||||
//
|
||||
this.lbledit.AutoSize = true;
|
||||
this.lbledit.Location = new System.Drawing.Point(22, 92);
|
||||
this.lbledit.Location = new System.Drawing.Point(24, 86);
|
||||
this.lbledit.Name = "lbledit";
|
||||
this.lbledit.Size = new System.Drawing.Size(58, 13);
|
||||
this.lbledit.TabIndex = 2;
|
||||
@@ -212,7 +204,7 @@
|
||||
// button2
|
||||
//
|
||||
this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
|
||||
this.button2.Location = new System.Drawing.Point(15, 123);
|
||||
this.button2.Location = new System.Drawing.Point(95, 13);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 81);
|
||||
this.button2.TabIndex = 1;
|
||||
@@ -223,14 +215,22 @@
|
||||
// button1
|
||||
//
|
||||
this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
|
||||
this.button1.Location = new System.Drawing.Point(15, 18);
|
||||
this.button1.Location = new System.Drawing.Point(15, 15);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 84);
|
||||
this.button1.Size = new System.Drawing.Size(74, 79);
|
||||
this.button1.TabIndex = 0;
|
||||
this.button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// docPreview1
|
||||
//
|
||||
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.docPreview1.Location = new System.Drawing.Point(0, 123);
|
||||
this.docPreview1.Name = "docPreview1";
|
||||
this.docPreview1.Size = new System.Drawing.Size(668, 292);
|
||||
this.docPreview1.TabIndex = 1;
|
||||
//
|
||||
// ucAllgemeineDokumentParam1
|
||||
//
|
||||
this.ucAllgemeineDokumentParam1.checkpartner = true;
|
||||
|
||||
Reference in New Issue
Block a user