update vor Syncfusion-Aktualisierung
This commit is contained in:
319
Client/UIControls/Administrator/Dokumenttyp.Designer.cs
generated
319
Client/UIControls/Administrator/Dokumenttyp.Designer.cs
generated
@@ -41,6 +41,9 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dokumenttyp));
|
||||
this.tabControlAdv1 = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
|
||||
this.tabPageAdv1 = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.cbebanking_moeglich = new System.Windows.Forms.CheckBox();
|
||||
this.cbversandstrasse_moeglich = new System.Windows.Forms.CheckBox();
|
||||
this.toolStrip2 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.GrpUnterschrifte = new System.Windows.Forms.GroupBox();
|
||||
@@ -82,7 +85,10 @@
|
||||
this.Label1 = new System.Windows.Forms.Label();
|
||||
this.tabPageAdv2 = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.groupBox6 = new System.Windows.Forms.GroupBox();
|
||||
this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();
|
||||
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.grpVorlagenfeld = new System.Windows.Forms.GroupBox();
|
||||
@@ -99,8 +105,8 @@
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.txtessimagetop = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.txtessfieldname = new System.Windows.Forms.Label();
|
||||
this.txtessfieldname = new System.Windows.Forms.TextBox();
|
||||
this.lblessfieldname = new System.Windows.Forms.Label();
|
||||
this.txtessclass = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.txtBookmarkEnd = new System.Windows.Forms.TextBox();
|
||||
@@ -119,9 +125,19 @@
|
||||
this.lblfeldregeliddesc = new System.Windows.Forms.Label();
|
||||
this.lblID = new System.Windows.Forms.Label();
|
||||
this.lbliddesc = new System.Windows.Forms.Label();
|
||||
this.chkaktiv = new System.Windows.Forms.CheckBox();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.groupBox7 = new System.Windows.Forms.GroupBox();
|
||||
this.rbBezeichnung = new System.Windows.Forms.RadioButton();
|
||||
this.rbNr = new System.Windows.Forms.RadioButton();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.txtFilter = new System.Windows.Forms.TextBox();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
|
||||
this.tabControlAdv1.SuspendLayout();
|
||||
this.tabPageAdv1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.toolStrip2.SuspendLayout();
|
||||
this.GrpUnterschrifte.SuspendLayout();
|
||||
this.GrpBewilligung.SuspendLayout();
|
||||
@@ -138,24 +154,29 @@
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.groupBox6.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||
this.groupBox5.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.grpVorlagenfeld.SuspendLayout();
|
||||
this.groupBox7.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tabControlAdv1
|
||||
//
|
||||
this.tabControlAdv1.BeforeTouchSize = new System.Drawing.Size(1286, 671);
|
||||
this.tabControlAdv1.BeforeTouchSize = new System.Drawing.Size(1019, 760);
|
||||
this.tabControlAdv1.Controls.Add(this.tabPageAdv1);
|
||||
this.tabControlAdv1.Controls.Add(this.tabPageAdv2);
|
||||
this.tabControlAdv1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tabControlAdv1.Location = new System.Drawing.Point(2, 2);
|
||||
this.tabControlAdv1.Location = new System.Drawing.Point(284, 2);
|
||||
this.tabControlAdv1.Name = "tabControlAdv1";
|
||||
this.tabControlAdv1.Size = new System.Drawing.Size(1286, 671);
|
||||
this.tabControlAdv1.Size = new System.Drawing.Size(1019, 760);
|
||||
this.tabControlAdv1.TabIndex = 0;
|
||||
//
|
||||
// tabPageAdv1
|
||||
//
|
||||
this.tabPageAdv1.Controls.Add(this.groupBox1);
|
||||
this.tabPageAdv1.Controls.Add(this.toolStrip2);
|
||||
this.tabPageAdv1.Controls.Add(this.GrpUnterschrifte);
|
||||
this.tabPageAdv1.Controls.Add(this.GrpBewilligung);
|
||||
@@ -168,11 +189,42 @@
|
||||
this.tabPageAdv1.Location = new System.Drawing.Point(1, 25);
|
||||
this.tabPageAdv1.Name = "tabPageAdv1";
|
||||
this.tabPageAdv1.ShowCloseButton = true;
|
||||
this.tabPageAdv1.Size = new System.Drawing.Size(1283, 644);
|
||||
this.tabPageAdv1.Size = new System.Drawing.Size(1016, 733);
|
||||
this.tabPageAdv1.TabIndex = 1;
|
||||
this.tabPageAdv1.Text = "Allgemein";
|
||||
this.tabPageAdv1.ThemesEnabled = false;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.cbebanking_moeglich);
|
||||
this.groupBox1.Controls.Add(this.cbversandstrasse_moeglich);
|
||||
this.groupBox1.Location = new System.Drawing.Point(15, 628);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(488, 75);
|
||||
this.groupBox1.TabIndex = 26;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Versandstrasse";
|
||||
//
|
||||
// cbebanking_moeglich
|
||||
//
|
||||
this.cbebanking_moeglich.AutoSize = true;
|
||||
this.cbebanking_moeglich.Location = new System.Drawing.Point(19, 43);
|
||||
this.cbebanking_moeglich.Name = "cbebanking_moeglich";
|
||||
this.cbebanking_moeglich.Size = new System.Drawing.Size(131, 17);
|
||||
this.cbebanking_moeglich.TabIndex = 1;
|
||||
this.cbebanking_moeglich.Text = "E-Banking zugelassen";
|
||||
this.cbebanking_moeglich.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbversandstrasse_moeglich
|
||||
//
|
||||
this.cbversandstrasse_moeglich.AutoSize = true;
|
||||
this.cbversandstrasse_moeglich.Location = new System.Drawing.Point(19, 20);
|
||||
this.cbversandstrasse_moeglich.Name = "cbversandstrasse_moeglich";
|
||||
this.cbversandstrasse_moeglich.Size = new System.Drawing.Size(79, 17);
|
||||
this.cbversandstrasse_moeglich.TabIndex = 0;
|
||||
this.cbversandstrasse_moeglich.Text = "zugelassen";
|
||||
this.cbversandstrasse_moeglich.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// toolStrip2
|
||||
//
|
||||
this.toolStrip2.AutoSize = false;
|
||||
@@ -180,7 +232,7 @@
|
||||
this.toolStripButton1});
|
||||
this.toolStrip2.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip2.Name = "toolStrip2";
|
||||
this.toolStrip2.Size = new System.Drawing.Size(1283, 42);
|
||||
this.toolStrip2.Size = new System.Drawing.Size(1016, 42);
|
||||
this.toolStrip2.TabIndex = 27;
|
||||
this.toolStrip2.Text = "toolStrip2";
|
||||
//
|
||||
@@ -204,7 +256,7 @@
|
||||
this.GrpUnterschrifte.Controls.Add(this.cbFormularOhneUnterschrift);
|
||||
this.GrpUnterschrifte.Controls.Add(this.cbDigitaleUnterschrift);
|
||||
this.GrpUnterschrifte.Controls.Add(this.cbUnterschriftlinks);
|
||||
this.GrpUnterschrifte.Location = new System.Drawing.Point(13, 347);
|
||||
this.GrpUnterschrifte.Location = new System.Drawing.Point(15, 337);
|
||||
this.GrpUnterschrifte.Name = "GrpUnterschrifte";
|
||||
this.GrpUnterschrifte.Size = new System.Drawing.Size(488, 128);
|
||||
this.GrpUnterschrifte.TabIndex = 26;
|
||||
@@ -277,13 +329,12 @@
|
||||
// GrpBewilligung
|
||||
//
|
||||
this.GrpBewilligung.Controls.Add(this.chkBewilliigungZwingend);
|
||||
this.GrpBewilligung.Location = new System.Drawing.Point(13, 481);
|
||||
this.GrpBewilligung.Location = new System.Drawing.Point(15, 471);
|
||||
this.GrpBewilligung.Name = "GrpBewilligung";
|
||||
this.GrpBewilligung.Size = new System.Drawing.Size(488, 43);
|
||||
this.GrpBewilligung.TabIndex = 25;
|
||||
this.GrpBewilligung.TabStop = false;
|
||||
this.GrpBewilligung.Text = "Unterschriftenprüfung";
|
||||
this.GrpBewilligung.Visible = false;
|
||||
//
|
||||
// chkBewilliigungZwingend
|
||||
//
|
||||
@@ -301,7 +352,7 @@
|
||||
this.groupBox4.Controls.Add(this.cbPDFDirekteArchivierung);
|
||||
this.groupBox4.Controls.Add(this.cbPDFDokument);
|
||||
this.groupBox4.Controls.Add(this.cbOfficeDokument);
|
||||
this.groupBox4.Location = new System.Drawing.Point(13, 530);
|
||||
this.groupBox4.Location = new System.Drawing.Point(15, 520);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Size = new System.Drawing.Size(488, 102);
|
||||
this.groupBox4.TabIndex = 24;
|
||||
@@ -345,9 +396,9 @@
|
||||
// groupBox3
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.TreeDokumentArt);
|
||||
this.groupBox3.Location = new System.Drawing.Point(519, 51);
|
||||
this.groupBox3.Location = new System.Drawing.Point(521, 41);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(651, 581);
|
||||
this.groupBox3.Size = new System.Drawing.Size(255, 581);
|
||||
this.groupBox3.TabIndex = 24;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Struktur";
|
||||
@@ -508,7 +559,7 @@
|
||||
this.GroupBox2.Controls.Add(this.cbAnzeigeVorlagenauswahl);
|
||||
this.GroupBox2.Controls.Add(this.cbbezeichnungmutierbar);
|
||||
this.GroupBox2.Controls.Add(this.cbVertrag);
|
||||
this.GroupBox2.Location = new System.Drawing.Point(13, 228);
|
||||
this.GroupBox2.Location = new System.Drawing.Point(15, 218);
|
||||
this.GroupBox2.Name = "GroupBox2";
|
||||
this.GroupBox2.Size = new System.Drawing.Size(488, 113);
|
||||
this.GroupBox2.TabIndex = 4;
|
||||
@@ -517,7 +568,7 @@
|
||||
//
|
||||
// cbaktiv
|
||||
//
|
||||
this.cbaktiv.Location = new System.Drawing.Point(291, 78);
|
||||
this.cbaktiv.Location = new System.Drawing.Point(293, 53);
|
||||
this.cbaktiv.Name = "cbaktiv";
|
||||
this.cbaktiv.Size = new System.Drawing.Size(189, 24);
|
||||
this.cbaktiv.TabIndex = 25;
|
||||
@@ -583,7 +634,7 @@
|
||||
this.Grp1.Controls.Add(this.TxTBeschreibung);
|
||||
this.Grp1.Controls.Add(this.TxTBezeichnung);
|
||||
this.Grp1.Controls.Add(this.Label1);
|
||||
this.Grp1.Location = new System.Drawing.Point(13, 55);
|
||||
this.Grp1.Location = new System.Drawing.Point(15, 45);
|
||||
this.Grp1.Name = "Grp1";
|
||||
this.Grp1.Size = new System.Drawing.Size(488, 167);
|
||||
this.Grp1.TabIndex = 2;
|
||||
@@ -701,7 +752,7 @@
|
||||
this.tabPageAdv2.Location = new System.Drawing.Point(1, 25);
|
||||
this.tabPageAdv2.Name = "tabPageAdv2";
|
||||
this.tabPageAdv2.ShowCloseButton = true;
|
||||
this.tabPageAdv2.Size = new System.Drawing.Size(1283, 644);
|
||||
this.tabPageAdv2.Size = new System.Drawing.Size(1016, 733);
|
||||
this.tabPageAdv2.TabIndex = 2;
|
||||
this.tabPageAdv2.Text = "Voralgenfelder";
|
||||
this.tabPageAdv2.ThemesEnabled = false;
|
||||
@@ -714,16 +765,28 @@
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.sfDataGrid1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.groupBox6);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.groupBox5);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.toolStrip1);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.grpVorlagenfeld);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1283, 644);
|
||||
this.splitContainer1.SplitterDistance = 930;
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1016, 733);
|
||||
this.splitContainer1.SplitterDistance = 735;
|
||||
this.splitContainer1.TabIndex = 0;
|
||||
//
|
||||
// groupBox6
|
||||
//
|
||||
this.groupBox6.Controls.Add(this.sfDataGrid1);
|
||||
this.groupBox6.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.groupBox6.Location = new System.Drawing.Point(200, 42);
|
||||
this.groupBox6.Name = "groupBox6";
|
||||
this.groupBox6.Size = new System.Drawing.Size(535, 691);
|
||||
this.groupBox6.TabIndex = 31;
|
||||
this.groupBox6.TabStop = false;
|
||||
this.groupBox6.Text = "Verwendete Vorlagenfelder";
|
||||
//
|
||||
// sfDataGrid1
|
||||
//
|
||||
this.sfDataGrid1.AccessibleName = "Table";
|
||||
@@ -733,12 +796,33 @@
|
||||
this.sfDataGrid1.AutoSizeColumnsMode = Syncfusion.WinForms.DataGrid.Enums.AutoSizeColumnsMode.AllCells;
|
||||
this.sfDataGrid1.CopyOption = Syncfusion.WinForms.DataGrid.Enums.CopyOptions.None;
|
||||
this.sfDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.sfDataGrid1.Location = new System.Drawing.Point(0, 42);
|
||||
this.sfDataGrid1.Location = new System.Drawing.Point(3, 16);
|
||||
this.sfDataGrid1.Name = "sfDataGrid1";
|
||||
this.sfDataGrid1.Size = new System.Drawing.Size(930, 602);
|
||||
this.sfDataGrid1.Size = new System.Drawing.Size(529, 672);
|
||||
this.sfDataGrid1.TabIndex = 1;
|
||||
this.sfDataGrid1.CellClick += new Syncfusion.WinForms.DataGrid.Events.CellClickEventHandler(this.sfDataGrid1_CellClick);
|
||||
//
|
||||
// groupBox5
|
||||
//
|
||||
this.groupBox5.Controls.Add(this.listBox1);
|
||||
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox5.Location = new System.Drawing.Point(0, 42);
|
||||
this.groupBox5.Name = "groupBox5";
|
||||
this.groupBox5.Size = new System.Drawing.Size(200, 691);
|
||||
this.groupBox5.TabIndex = 30;
|
||||
this.groupBox5.TabStop = false;
|
||||
this.groupBox5.Text = "Vorhandene Vorlagenfelder";
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(3, 16);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(194, 672);
|
||||
this.listBox1.TabIndex = 29;
|
||||
this.listBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDoubleClick);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.AutoSize = false;
|
||||
@@ -746,7 +830,7 @@
|
||||
this.toolStripButton2});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(930, 42);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(735, 42);
|
||||
this.toolStrip1.TabIndex = 28;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
//
|
||||
@@ -762,6 +846,8 @@
|
||||
//
|
||||
// grpVorlagenfeld
|
||||
//
|
||||
this.grpVorlagenfeld.Controls.Add(this.chkaktiv);
|
||||
this.grpVorlagenfeld.Controls.Add(this.label14);
|
||||
this.grpVorlagenfeld.Controls.Add(this.lblFeldregel);
|
||||
this.grpVorlagenfeld.Controls.Add(this.txtTechbezeichnung);
|
||||
this.grpVorlagenfeld.Controls.Add(this.label13);
|
||||
@@ -775,8 +861,8 @@
|
||||
this.grpVorlagenfeld.Controls.Add(this.label8);
|
||||
this.grpVorlagenfeld.Controls.Add(this.txtessimagetop);
|
||||
this.grpVorlagenfeld.Controls.Add(this.label7);
|
||||
this.grpVorlagenfeld.Controls.Add(this.textBox2);
|
||||
this.grpVorlagenfeld.Controls.Add(this.txtessfieldname);
|
||||
this.grpVorlagenfeld.Controls.Add(this.lblessfieldname);
|
||||
this.grpVorlagenfeld.Controls.Add(this.txtessclass);
|
||||
this.grpVorlagenfeld.Controls.Add(this.label9);
|
||||
this.grpVorlagenfeld.Controls.Add(this.txtBookmarkEnd);
|
||||
@@ -798,7 +884,7 @@
|
||||
this.grpVorlagenfeld.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.grpVorlagenfeld.Location = new System.Drawing.Point(0, 0);
|
||||
this.grpVorlagenfeld.Name = "grpVorlagenfeld";
|
||||
this.grpVorlagenfeld.Size = new System.Drawing.Size(349, 644);
|
||||
this.grpVorlagenfeld.Size = new System.Drawing.Size(277, 733);
|
||||
this.grpVorlagenfeld.TabIndex = 0;
|
||||
this.grpVorlagenfeld.TabStop = false;
|
||||
this.grpVorlagenfeld.Text = "Vorlagenfeld";
|
||||
@@ -819,6 +905,7 @@
|
||||
this.txtTechbezeichnung.Name = "txtTechbezeichnung";
|
||||
this.txtTechbezeichnung.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtTechbezeichnung.TabIndex = 32;
|
||||
this.txtTechbezeichnung.Tag = "TechBezeichnung";
|
||||
this.txtTechbezeichnung.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label13
|
||||
@@ -836,6 +923,7 @@
|
||||
this.txtUIDescription.Name = "txtUIDescription";
|
||||
this.txtUIDescription.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtUIDescription.TabIndex = 30;
|
||||
this.txtUIDescription.Tag = "Feldbezeichnung";
|
||||
this.txtUIDescription.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label12
|
||||
@@ -849,16 +937,17 @@
|
||||
//
|
||||
// txtessimageheight
|
||||
//
|
||||
this.txtessimageheight.Location = new System.Drawing.Point(135, 531);
|
||||
this.txtessimageheight.Location = new System.Drawing.Point(135, 513);
|
||||
this.txtessimageheight.Name = "txtessimageheight";
|
||||
this.txtessimageheight.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtessimageheight.TabIndex = 28;
|
||||
this.txtessimageheight.Tag = "ess_img_height";
|
||||
this.txtessimageheight.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(18, 531);
|
||||
this.label11.Location = new System.Drawing.Point(18, 513);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(92, 13);
|
||||
this.label11.TabIndex = 27;
|
||||
@@ -866,16 +955,17 @@
|
||||
//
|
||||
// txtessimagewidth
|
||||
//
|
||||
this.txtessimagewidth.Location = new System.Drawing.Point(135, 505);
|
||||
this.txtessimagewidth.Location = new System.Drawing.Point(135, 487);
|
||||
this.txtessimagewidth.Name = "txtessimagewidth";
|
||||
this.txtessimagewidth.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtessimagewidth.TabIndex = 26;
|
||||
this.txtessimagewidth.Tag = "ess_img_wdth";
|
||||
this.txtessimagewidth.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(18, 505);
|
||||
this.label10.Location = new System.Drawing.Point(18, 487);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(88, 13);
|
||||
this.label10.TabIndex = 25;
|
||||
@@ -883,16 +973,17 @@
|
||||
//
|
||||
// txtessimageleft
|
||||
//
|
||||
this.txtessimageleft.Location = new System.Drawing.Point(135, 479);
|
||||
this.txtessimageleft.Location = new System.Drawing.Point(135, 461);
|
||||
this.txtessimageleft.Name = "txtessimageleft";
|
||||
this.txtessimageleft.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtessimageleft.TabIndex = 24;
|
||||
this.txtessimageleft.Tag = "ess_img_left";
|
||||
this.txtessimageleft.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(18, 479);
|
||||
this.label8.Location = new System.Drawing.Point(18, 461);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(77, 13);
|
||||
this.label8.TabIndex = 23;
|
||||
@@ -900,50 +991,54 @@
|
||||
//
|
||||
// txtessimagetop
|
||||
//
|
||||
this.txtessimagetop.Location = new System.Drawing.Point(135, 453);
|
||||
this.txtessimagetop.Location = new System.Drawing.Point(135, 435);
|
||||
this.txtessimagetop.Name = "txtessimagetop";
|
||||
this.txtessimagetop.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtessimagetop.TabIndex = 22;
|
||||
this.txtessimagetop.Tag = "ess_img_top";
|
||||
this.txtessimagetop.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(18, 453);
|
||||
this.label7.Location = new System.Drawing.Point(18, 435);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(82, 13);
|
||||
this.label7.TabIndex = 21;
|
||||
this.label7.Text = "ESS-Image Top";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(135, 427);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(187, 20);
|
||||
this.textBox2.TabIndex = 20;
|
||||
this.textBox2.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// txtessfieldname
|
||||
//
|
||||
this.txtessfieldname.AutoSize = true;
|
||||
this.txtessfieldname.Location = new System.Drawing.Point(18, 427);
|
||||
this.txtessfieldname.Location = new System.Drawing.Point(135, 409);
|
||||
this.txtessfieldname.Name = "txtessfieldname";
|
||||
this.txtessfieldname.Size = new System.Drawing.Size(77, 13);
|
||||
this.txtessfieldname.TabIndex = 19;
|
||||
this.txtessfieldname.Text = "ESS-Feldname";
|
||||
this.txtessfieldname.Size = new System.Drawing.Size(187, 20);
|
||||
this.txtessfieldname.TabIndex = 20;
|
||||
this.txtessfieldname.Tag = "ess_feldname";
|
||||
this.txtessfieldname.TextChanged += new System.EventHandler(this.textBox2_TextChanged);
|
||||
this.txtessfieldname.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// lblessfieldname
|
||||
//
|
||||
this.lblessfieldname.AutoSize = true;
|
||||
this.lblessfieldname.Location = new System.Drawing.Point(18, 409);
|
||||
this.lblessfieldname.Name = "lblessfieldname";
|
||||
this.lblessfieldname.Size = new System.Drawing.Size(77, 13);
|
||||
this.lblessfieldname.TabIndex = 19;
|
||||
this.lblessfieldname.Text = "ESS-Feldname";
|
||||
//
|
||||
// txtessclass
|
||||
//
|
||||
this.txtessclass.Location = new System.Drawing.Point(135, 401);
|
||||
this.txtessclass.Location = new System.Drawing.Point(135, 383);
|
||||
this.txtessclass.Name = "txtessclass";
|
||||
this.txtessclass.Size = new System.Drawing.Size(187, 20);
|
||||
this.txtessclass.TabIndex = 18;
|
||||
this.txtessclass.Tag = "ESSClass";
|
||||
this.txtessclass.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(18, 401);
|
||||
this.label9.Location = new System.Drawing.Point(18, 383);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(62, 13);
|
||||
this.label9.TabIndex = 17;
|
||||
@@ -955,6 +1050,7 @@
|
||||
this.txtBookmarkEnd.Name = "txtBookmarkEnd";
|
||||
this.txtBookmarkEnd.Size = new System.Drawing.Size(187, 20);
|
||||
this.txtBookmarkEnd.TabIndex = 16;
|
||||
this.txtBookmarkEnd.Tag = "etm";
|
||||
this.txtBookmarkEnd.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label6
|
||||
@@ -972,6 +1068,7 @@
|
||||
this.txtbookmarkstart.Name = "txtbookmarkstart";
|
||||
this.txtbookmarkstart.Size = new System.Drawing.Size(187, 20);
|
||||
this.txtbookmarkstart.TabIndex = 14;
|
||||
this.txtbookmarkstart.Tag = "btm";
|
||||
this.txtbookmarkstart.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// label5
|
||||
@@ -989,6 +1086,7 @@
|
||||
this.txtfeldname.Name = "txtfeldname";
|
||||
this.txtfeldname.Size = new System.Drawing.Size(187, 20);
|
||||
this.txtfeldname.TabIndex = 12;
|
||||
this.txtfeldname.Tag = "feldname";
|
||||
this.txtfeldname.TextChanged += new System.EventHandler(this.txtfeldname_TextChanged);
|
||||
this.txtfeldname.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
@@ -1008,7 +1106,9 @@
|
||||
this.chkzwingend.Name = "chkzwingend";
|
||||
this.chkzwingend.Size = new System.Drawing.Size(15, 14);
|
||||
this.chkzwingend.TabIndex = 10;
|
||||
this.chkzwingend.Tag = "Zwingend";
|
||||
this.chkzwingend.UseVisualStyleBackColor = true;
|
||||
this.chkzwingend.CheckedChanged += new System.EventHandler(this.chkui_CheckedChanged);
|
||||
//
|
||||
// lbelzwingend
|
||||
//
|
||||
@@ -1025,6 +1125,7 @@
|
||||
this.txtSort.Name = "txtSort";
|
||||
this.txtSort.Size = new System.Drawing.Size(134, 20);
|
||||
this.txtSort.TabIndex = 8;
|
||||
this.txtSort.Tag = "reihenfolge";
|
||||
this.txtSort.Leave += new System.EventHandler(this.txtSort_Leave);
|
||||
//
|
||||
// lblsort
|
||||
@@ -1044,7 +1145,9 @@
|
||||
this.chkui.Name = "chkui";
|
||||
this.chkui.Size = new System.Drawing.Size(15, 14);
|
||||
this.chkui.TabIndex = 6;
|
||||
this.chkui.Tag = "UI";
|
||||
this.chkui.UseVisualStyleBackColor = true;
|
||||
this.chkui.CheckedChanged += new System.EventHandler(this.chkui_CheckedChanged);
|
||||
//
|
||||
// lbluidesc
|
||||
//
|
||||
@@ -1091,12 +1194,104 @@
|
||||
this.lbliddesc.TabIndex = 0;
|
||||
this.lbliddesc.Text = "ID";
|
||||
//
|
||||
// chkaktiv
|
||||
//
|
||||
this.chkaktiv.AutoSize = true;
|
||||
this.chkaktiv.Location = new System.Drawing.Point(135, 576);
|
||||
this.chkaktiv.Name = "chkaktiv";
|
||||
this.chkaktiv.Size = new System.Drawing.Size(15, 14);
|
||||
this.chkaktiv.TabIndex = 35;
|
||||
this.chkaktiv.Tag = "aktiv";
|
||||
this.chkaktiv.UseVisualStyleBackColor = true;
|
||||
this.chkaktiv.CheckedChanged += new System.EventHandler(this.chkui_CheckedChanged);
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(18, 577);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(31, 13);
|
||||
this.label14.TabIndex = 34;
|
||||
this.label14.Text = "Aktiv";
|
||||
//
|
||||
// groupBox7
|
||||
//
|
||||
this.groupBox7.Controls.Add(this.panel1);
|
||||
this.groupBox7.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox7.Location = new System.Drawing.Point(2, 2);
|
||||
this.groupBox7.Name = "groupBox7";
|
||||
this.groupBox7.Size = new System.Drawing.Size(282, 760);
|
||||
this.groupBox7.TabIndex = 1;
|
||||
this.groupBox7.TabStop = false;
|
||||
this.groupBox7.Text = "sflk";
|
||||
//
|
||||
// rbBezeichnung
|
||||
//
|
||||
this.rbBezeichnung.AutoSize = true;
|
||||
this.rbBezeichnung.Location = new System.Drawing.Point(111, 40);
|
||||
this.rbBezeichnung.Name = "rbBezeichnung";
|
||||
this.rbBezeichnung.Size = new System.Drawing.Size(87, 17);
|
||||
this.rbBezeichnung.TabIndex = 9;
|
||||
this.rbBezeichnung.Text = "Bezeichnung";
|
||||
this.rbBezeichnung.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbNr
|
||||
//
|
||||
this.rbNr.AutoSize = true;
|
||||
this.rbNr.Checked = true;
|
||||
this.rbNr.Location = new System.Drawing.Point(69, 39);
|
||||
this.rbNr.Name = "rbNr";
|
||||
this.rbNr.Size = new System.Drawing.Size(36, 17);
|
||||
this.rbNr.TabIndex = 8;
|
||||
this.rbNr.TabStop = true;
|
||||
this.rbNr.Text = "Nr";
|
||||
this.rbNr.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label15
|
||||
//
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(12, 37);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(26, 13);
|
||||
this.label15.TabIndex = 7;
|
||||
this.label15.Text = "Sort";
|
||||
//
|
||||
// txtFilter
|
||||
//
|
||||
this.txtFilter.Location = new System.Drawing.Point(69, 12);
|
||||
this.txtFilter.Name = "txtFilter";
|
||||
this.txtFilter.Size = new System.Drawing.Size(139, 20);
|
||||
this.txtFilter.TabIndex = 6;
|
||||
//
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(12, 15);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(29, 13);
|
||||
this.label16.TabIndex = 5;
|
||||
this.label16.Text = "Filter";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.txtFilter);
|
||||
this.panel1.Controls.Add(this.rbBezeichnung);
|
||||
this.panel1.Controls.Add(this.label16);
|
||||
this.panel1.Controls.Add(this.rbNr);
|
||||
this.panel1.Controls.Add(this.label15);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(3, 16);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(276, 71);
|
||||
this.panel1.TabIndex = 10;
|
||||
//
|
||||
// Dokumenttyp
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1290, 675);
|
||||
this.ClientSize = new System.Drawing.Size(1305, 764);
|
||||
this.Controls.Add(this.tabControlAdv1);
|
||||
this.Controls.Add(this.groupBox7);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "Dokumenttyp";
|
||||
this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
@@ -1106,6 +1301,8 @@
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
|
||||
this.tabControlAdv1.ResumeLayout(false);
|
||||
this.tabPageAdv1.ResumeLayout(false);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.toolStrip2.ResumeLayout(false);
|
||||
this.toolStrip2.PerformLayout();
|
||||
this.GrpUnterschrifte.ResumeLayout(false);
|
||||
@@ -1127,11 +1324,16 @@
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.groupBox6.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
|
||||
this.groupBox5.ResumeLayout(false);
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.grpVorlagenfeld.ResumeLayout(false);
|
||||
this.grpVorlagenfeld.PerformLayout();
|
||||
this.groupBox7.ResumeLayout(false);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1201,8 +1403,8 @@
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox txtessimagetop;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Label txtessfieldname;
|
||||
private System.Windows.Forms.TextBox txtessfieldname;
|
||||
private System.Windows.Forms.Label lblessfieldname;
|
||||
private System.Windows.Forms.TextBox txtessclass;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.TextBox txtBookmarkEnd;
|
||||
@@ -1218,5 +1420,20 @@
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.CheckBox cbebanking_moeglich;
|
||||
private System.Windows.Forms.CheckBox cbversandstrasse_moeglich;
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private System.Windows.Forms.GroupBox groupBox6;
|
||||
private System.Windows.Forms.GroupBox groupBox5;
|
||||
private System.Windows.Forms.CheckBox chkaktiv;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.GroupBox groupBox7;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.TextBox txtFilter;
|
||||
private System.Windows.Forms.RadioButton rbBezeichnung;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private System.Windows.Forms.RadioButton rbNr;
|
||||
private System.Windows.Forms.Label label15;
|
||||
}
|
||||
}
|
||||
@@ -13,11 +13,15 @@ using Syncfusion.WinForms.Controls.Styles;
|
||||
using Database;
|
||||
using Helper;
|
||||
using System.Windows.Forms.VisualStyles;
|
||||
using OnDoc.Helper;
|
||||
|
||||
namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
public partial class Dokumenttyp : SfForm
|
||||
{
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
|
||||
private int dokumenttypnr = 0;
|
||||
System.Data.DataRow Origin;
|
||||
|
||||
@@ -36,7 +40,6 @@ namespace OnDoc.UIControls.Administrator
|
||||
private void Dokumenttyp_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Get_Tabledata("Select office_vorlagenr, bezeichnung from office_vorlage", false, true);
|
||||
cbboxofficevorlage.DataSource = db.dsdaten.Tables[0];
|
||||
cbboxofficevorlage.DisplayMember = "Bezeichnung";
|
||||
@@ -100,9 +103,25 @@ namespace OnDoc.UIControls.Administrator
|
||||
cbOfficeDokument.Checked = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
this.cbversandstrasse_moeglich.Checked = r["versandstrasse_moeglich"].ToString() == "True";
|
||||
this.cbebanking_moeglich.Checked = r["ebanking_moeglich"].ToString() == "True";
|
||||
|
||||
db.Get_Tabledata("Select vorlagenfeldregelnr, bezeichnung from vorlagenfeldregel where aktiv=1 order by bezeichnung", false, true);
|
||||
this.listBox1.DataSource = db.dsdaten.Tables[0];
|
||||
this.listBox1.DisplayMember = "Bezeichnung";
|
||||
this.listBox1.ValueMember = "vorlagenfeldregelnr";
|
||||
|
||||
|
||||
Update_Vorlagenfelder();
|
||||
}
|
||||
private void Update_Vorlagenfelder() {
|
||||
db.Get_Tabledata("Select * from View_Vorlagenfelder_Relaunch where doktypid=" + dokumenttypnr.ToString(), false, true);
|
||||
this.sfDataGrid1.DataSource = db.dsdaten.Tables[0];
|
||||
DataTable dt = db.dsdaten.Tables[0];
|
||||
TableHelper.FormatTable(ref dt, "vorlagenfeld", ref this.sfDataGrid1);
|
||||
sfDataGrid1.Columns["Feldregel"].AllowTextWrapping = false;
|
||||
sfDataGrid1.Refresh();
|
||||
|
||||
}
|
||||
|
||||
@@ -146,7 +165,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
txtbookmarkstart.Text = dr["BTM"].ToString();
|
||||
txtBookmarkEnd.Text = dr["ETM"].ToString();
|
||||
txtessclass.Text = dr["essclass"].ToString();
|
||||
txtessfieldname.Text = dr["ess_feldname"].ToString();
|
||||
lblessfieldname.Text = dr["ess_feldname"].ToString();
|
||||
txtessimagetop.Text = dr["ess_img_top"].ToString();
|
||||
txtessimageleft.Text = dr["ess_img_left"].ToString();
|
||||
txtessimagewidth.Text = dr["ess_img_width"].ToString();
|
||||
@@ -155,12 +174,14 @@ namespace OnDoc.UIControls.Administrator
|
||||
txtUIDescription.Text = dr["feldbezeichnung"].ToString();
|
||||
txtTechbezeichnung.Text = dr["Techbezeichnung"].ToString();
|
||||
|
||||
|
||||
if (Convert.ToBoolean(dr["ui"]) == true)
|
||||
{
|
||||
chkui.Checked = true;
|
||||
txtSort.Enabled = true;
|
||||
txtUIDescription.Enabled = true;
|
||||
txtTechbezeichnung.Enabled = true;
|
||||
chkzwingend.Enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -169,6 +190,15 @@ namespace OnDoc.UIControls.Administrator
|
||||
txtSort.Enabled = false;
|
||||
txtUIDescription.Enabled = false;
|
||||
txtTechbezeichnung.Enabled = false;
|
||||
chkzwingend.Enabled = false;
|
||||
}
|
||||
if (Convert.ToBoolean(dr["aktiv"]) == true)
|
||||
{
|
||||
chkaktiv.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
chkaktiv.Checked = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,16 +209,22 @@ namespace OnDoc.UIControls.Administrator
|
||||
|
||||
private void txtSort_Leave(object sender, EventArgs e)
|
||||
{
|
||||
TextBox tmptxtbox = new TextBox();
|
||||
tmptxtbox = sender as TextBox;
|
||||
Origin["BTM"] = tmptxtbox.Text;
|
||||
try
|
||||
{
|
||||
|
||||
var record = sfDataGrid1.View.Records.GetItemAt(sfDataGrid1.SelectedIndex);
|
||||
TextBox tmptxtbox = new TextBox();
|
||||
tmptxtbox = sender as TextBox;
|
||||
|
||||
this.sfDataGrid1.View.GetPropertyAccessProvider().SetValue(record, "BTM", tmptxtbox.Text);
|
||||
Origin[tmptxtbox.Tag.ToString()] = tmptxtbox.Text;
|
||||
|
||||
Origin.AcceptChanges();
|
||||
sfDataGrid1.Update();
|
||||
var record = sfDataGrid1.View.Records.GetItemAt(sfDataGrid1.SelectedIndex);
|
||||
|
||||
this.sfDataGrid1.View.GetPropertyAccessProvider().SetValue(record, tmptxtbox.Tag.ToString(), tmptxtbox.Text);
|
||||
|
||||
Origin.AcceptChanges();
|
||||
sfDataGrid1.Update();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
@@ -213,19 +249,8 @@ namespace OnDoc.UIControls.Administrator
|
||||
r["aktiv"] = this.cbaktiv.Checked;
|
||||
r["mutierer"] = AppParams.CurrentMitarbieter;
|
||||
r["mutiert_am"]=DateTime.Now;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
r["versandstrasse_moeglich"] = cbversandstrasse_moeglich.Checked == true;
|
||||
r["ebanking_moeglich"] = cbebanking_moeglich.Checked == true;
|
||||
|
||||
|
||||
if (cbOfficeDokument.Checked) { r["genresultat_type"] = 1; }
|
||||
@@ -233,7 +258,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
if (cbPDFDirekteArchivierung.Checked) { r["genresultat_type"] = 3; }
|
||||
if (cbbearbeitungzwingend.Checked) { r["genresultat_type"] = 4; }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
db.Update_Data();
|
||||
@@ -253,5 +278,47 @@ namespace OnDoc.UIControls.Administrator
|
||||
db.Update_Data();
|
||||
ToastMessage.ShowToast("Speichern", "Dokumenttyp erfolgreich gespeichert");
|
||||
}
|
||||
|
||||
private void listBox1_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Insert_Vorlagenfeld(Convert.ToInt32(this.listBox1.SelectedValue), this.dokumenttypnr, AppParams.CurrentMitarbieter);
|
||||
db.Get_Tabledata("Select top 1 vorlagenfeldnr from vorlagenfeld order by vorlagenfeldnr desc", false, true);
|
||||
int newkey = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]);
|
||||
Update_Vorlagenfelder();
|
||||
pos_grid(newkey);
|
||||
db = null;
|
||||
|
||||
}
|
||||
|
||||
private void pos_grid(int newkey)
|
||||
{
|
||||
var records = this.sfDataGrid1.View.Records;
|
||||
|
||||
foreach (var record in records)
|
||||
{
|
||||
var obj = record.Data as DataRowView;
|
||||
if (obj["id"].ToString()==newkey.ToString())
|
||||
this.sfDataGrid1.SelectedItems.Add(obj);
|
||||
}
|
||||
}
|
||||
|
||||
private void textBox2_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void chkui_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
CheckBox tmpcheckbox = sender as CheckBox;
|
||||
Origin[tmpcheckbox.Tag.ToString()] = tmpcheckbox.Checked;
|
||||
|
||||
var record = sfDataGrid1.View.Records.GetItemAt(sfDataGrid1.SelectedIndex);
|
||||
|
||||
this.sfDataGrid1.View.GetPropertyAccessProvider().SetValue(record, tmpcheckbox.Tag.ToString(), tmpcheckbox.Checked);
|
||||
|
||||
Origin.AcceptChanges();
|
||||
sfDataGrid1.Update();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,6 +123,9 @@
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>227, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>25</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
||||
@@ -29,14 +29,20 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
|
||||
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings7 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
|
||||
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings7 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
|
||||
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings1 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
|
||||
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings1 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
|
||||
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings1 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OfficeVorlage));
|
||||
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings7 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.tsbtnClose = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox7 = new System.Windows.Forms.GroupBox();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.TreeOfficeVorlagen = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
this.GrpBarcodeInhalt = new System.Windows.Forms.GroupBox();
|
||||
@@ -103,14 +109,13 @@
|
||||
this.txtNrProduktion = new System.Windows.Forms.TextBox();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
|
||||
this.groupBox7 = new System.Windows.Forms.GroupBox();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox7.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.TreeOfficeVorlagen)).BeginInit();
|
||||
this.groupBox4.SuspendLayout();
|
||||
this.GrpBarcodeInhalt.SuspendLayout();
|
||||
@@ -120,7 +125,6 @@
|
||||
this.groupBox5.SuspendLayout();
|
||||
this.groupBox6.SuspendLayout();
|
||||
this.panel1.SuspendLayout();
|
||||
this.groupBox7.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// toolStrip1
|
||||
@@ -128,7 +132,11 @@
|
||||
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(32, 32);
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.tsbtnClose,
|
||||
this.toolStripButton1});
|
||||
this.toolStripButton1,
|
||||
this.toolStripSplitButton1,
|
||||
this.toolStripLabel1,
|
||||
this.toolStripTextBox1,
|
||||
this.toolStripButton2});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(2, 2);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1566, 39);
|
||||
@@ -169,6 +177,76 @@
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Office-Vorlagen";
|
||||
//
|
||||
// groupBox7
|
||||
//
|
||||
this.groupBox7.Controls.Add(this.label20);
|
||||
this.groupBox7.Controls.Add(this.label19);
|
||||
this.groupBox7.Controls.Add(this.label18);
|
||||
this.groupBox7.Controls.Add(this.comboBox1);
|
||||
this.groupBox7.Controls.Add(this.label17);
|
||||
this.groupBox7.Location = new System.Drawing.Point(313, 296);
|
||||
this.groupBox7.Name = "groupBox7";
|
||||
this.groupBox7.Size = new System.Drawing.Size(534, 256);
|
||||
this.groupBox7.TabIndex = 14;
|
||||
this.groupBox7.TabStop = false;
|
||||
this.groupBox7.Text = "PDF-Generierung";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(17, 150);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(56, 13);
|
||||
this.label20.TabIndex = 4;
|
||||
this.label20.Text = "Exemplare";
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(22, 26);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(113, 13);
|
||||
this.label19.TabIndex = 3;
|
||||
this.label19.Text = "Text löschen/ersetzen";
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(207, 127);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(40, 13);
|
||||
this.label18.TabIndex = 2;
|
||||
this.label18.Text = "Secion";
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Items.AddRange(new object[] {
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10"});
|
||||
this.comboBox1.Location = new System.Drawing.Point(263, 124);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(121, 21);
|
||||
this.comboBox1.TabIndex = 1;
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(18, 127);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(102, 13);
|
||||
this.label17.TabIndex = 0;
|
||||
this.label17.Text = "Dokument aufteilen ";
|
||||
//
|
||||
// TreeOfficeVorlagen
|
||||
//
|
||||
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
|
||||
@@ -659,17 +737,17 @@
|
||||
this.pdfViewerControl1.IsTextSearchEnabled = true;
|
||||
this.pdfViewerControl1.IsTextSelectionEnabled = true;
|
||||
this.pdfViewerControl1.Location = new System.Drawing.Point(3, 227);
|
||||
messageBoxSettings7.EnableNotification = true;
|
||||
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings7;
|
||||
messageBoxSettings1.EnableNotification = true;
|
||||
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings1;
|
||||
this.pdfViewerControl1.MinimumZoomPercentage = 50;
|
||||
this.pdfViewerControl1.Name = "pdfViewerControl1";
|
||||
this.pdfViewerControl1.PageBorderThickness = 1;
|
||||
pdfViewerPrinterSettings7.Copies = 1;
|
||||
pdfViewerPrinterSettings7.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
|
||||
pdfViewerPrinterSettings7.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
|
||||
pdfViewerPrinterSettings7.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings7.PrintLocation")));
|
||||
pdfViewerPrinterSettings7.ShowPrintStatusDialog = true;
|
||||
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings7;
|
||||
pdfViewerPrinterSettings1.Copies = 1;
|
||||
pdfViewerPrinterSettings1.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
|
||||
pdfViewerPrinterSettings1.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
|
||||
pdfViewerPrinterSettings1.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings1.PrintLocation")));
|
||||
pdfViewerPrinterSettings1.ShowPrintStatusDialog = true;
|
||||
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings1;
|
||||
this.pdfViewerControl1.ReferencePath = null;
|
||||
this.pdfViewerControl1.ScrollDisplacementValue = 0;
|
||||
this.pdfViewerControl1.ShowHorizontalScrollBar = true;
|
||||
@@ -679,10 +757,10 @@
|
||||
this.pdfViewerControl1.SpaceBetweenPages = 8;
|
||||
this.pdfViewerControl1.TabIndex = 1;
|
||||
this.pdfViewerControl1.Text = "pdfViewerControl1";
|
||||
textSearchSettings7.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
|
||||
textSearchSettings7.HighlightAllInstance = true;
|
||||
textSearchSettings7.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
|
||||
this.pdfViewerControl1.TextSearchSettings = textSearchSettings7;
|
||||
textSearchSettings1.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
|
||||
textSearchSettings1.HighlightAllInstance = true;
|
||||
textSearchSettings1.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
|
||||
this.pdfViewerControl1.TextSearchSettings = textSearchSettings1;
|
||||
this.pdfViewerControl1.ThemeName = "Default";
|
||||
this.pdfViewerControl1.VerticalScrollOffset = 0;
|
||||
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
|
||||
@@ -863,75 +941,36 @@
|
||||
//
|
||||
this.openFileDialog1.FileName = "openFileDialog1";
|
||||
//
|
||||
// groupBox7
|
||||
// toolStripSplitButton1
|
||||
//
|
||||
this.groupBox7.Controls.Add(this.label20);
|
||||
this.groupBox7.Controls.Add(this.label19);
|
||||
this.groupBox7.Controls.Add(this.label18);
|
||||
this.groupBox7.Controls.Add(this.comboBox1);
|
||||
this.groupBox7.Controls.Add(this.label17);
|
||||
this.groupBox7.Location = new System.Drawing.Point(313, 296);
|
||||
this.groupBox7.Name = "groupBox7";
|
||||
this.groupBox7.Size = new System.Drawing.Size(534, 256);
|
||||
this.groupBox7.TabIndex = 14;
|
||||
this.groupBox7.TabStop = false;
|
||||
this.groupBox7.Text = "PDF-Generierung";
|
||||
this.toolStripSplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
|
||||
this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripSplitButton1.Name = "toolStripSplitButton1";
|
||||
this.toolStripSplitButton1.Size = new System.Drawing.Size(48, 36);
|
||||
this.toolStripSplitButton1.Text = "toolStripSplitButton1";
|
||||
//
|
||||
// label17
|
||||
// toolStripLabel1
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(18, 127);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(102, 13);
|
||||
this.label17.TabIndex = 0;
|
||||
this.label17.Text = "Dokument aufteilen ";
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(101, 36);
|
||||
this.toolStripLabel1.Text = "Suche in Vorlagen";
|
||||
//
|
||||
// comboBox1
|
||||
// toolStripTextBox1
|
||||
//
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Items.AddRange(new object[] {
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8",
|
||||
"9",
|
||||
"10"});
|
||||
this.comboBox1.Location = new System.Drawing.Point(263, 124);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(121, 21);
|
||||
this.comboBox1.TabIndex = 1;
|
||||
this.toolStripTextBox1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.toolStripTextBox1.Name = "toolStripTextBox1";
|
||||
this.toolStripTextBox1.Size = new System.Drawing.Size(100, 39);
|
||||
//
|
||||
// label18
|
||||
// toolStripButton2
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Location = new System.Drawing.Point(207, 127);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(40, 13);
|
||||
this.label18.TabIndex = 2;
|
||||
this.label18.Text = "Secion";
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Location = new System.Drawing.Point(22, 26);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(113, 13);
|
||||
this.label19.TabIndex = 3;
|
||||
this.label19.Text = "Text löschen/ersetzen";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(17, 150);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(56, 13);
|
||||
this.label20.TabIndex = 4;
|
||||
this.label20.Text = "Exemplare";
|
||||
this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton2.Name = "toolStripButton2";
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(36, 36);
|
||||
this.toolStripButton2.Text = "toolStripButton2";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// OfficeVorlage
|
||||
//
|
||||
@@ -949,6 +988,8 @@
|
||||
this.toolStrip1.ResumeLayout(false);
|
||||
this.toolStrip1.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox7.ResumeLayout(false);
|
||||
this.groupBox7.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.TreeOfficeVorlagen)).EndInit();
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
this.groupBox4.PerformLayout();
|
||||
@@ -964,8 +1005,6 @@
|
||||
this.groupBox6.PerformLayout();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.groupBox7.ResumeLayout(false);
|
||||
this.groupBox7.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -1049,5 +1088,9 @@
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.ToolStripSplitButton toolStripSplitButton1;
|
||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
||||
private System.Windows.Forms.ToolStripTextBox toolStripTextBox1;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,7 @@ using System.Windows.Forms;
|
||||
using System.Xml.Linq;
|
||||
using Barcoded.qr;
|
||||
using DOCGEN.Klassen;
|
||||
using Microsoft.Office.Interop.Word;
|
||||
using Model;
|
||||
using NLog;
|
||||
using OnDoc.Helper;
|
||||
@@ -25,7 +26,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
public partial class OfficeVorlage : SfForm
|
||||
{
|
||||
DataTable treedata = new DataTable();
|
||||
System.Data.DataTable treedata = new System.Data.DataTable();
|
||||
public OfficeVorlage()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -56,7 +57,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
_sqlOrder = "Office_Vorlagenr ";
|
||||
}
|
||||
|
||||
DataTable _newDataTable = treedata.Select(_sqlWhere, _sqlOrder).CopyToDataTable();
|
||||
System.Data.DataTable _newDataTable = treedata.Select(_sqlWhere, _sqlOrder).CopyToDataTable();
|
||||
//DataView dv = new DataView(treedata);
|
||||
//dv.RowFilter = "bezeichnung like '%"+txtFilter.Text+"%'";
|
||||
foreach (DataRow r in _newDataTable.Rows)
|
||||
@@ -66,7 +67,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
nodeAdv.Tag = r["office_vorlagenr"].ToString();
|
||||
if (Convert.ToBoolean(r["aktiv"]) == false)
|
||||
{
|
||||
nodeAdv.Font = new Font(nodeAdv.Font, FontStyle.Strikeout);
|
||||
nodeAdv.Font = new System.Drawing.Font(nodeAdv.Font, FontStyle.Strikeout);
|
||||
}
|
||||
TreeOfficeVorlagen.Nodes.Add(nodeAdv);
|
||||
}
|
||||
@@ -250,6 +251,58 @@ namespace OnDoc.UIControls.Administrator
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
Database.DB db = new Database.DB(AppParams.connectionstring);
|
||||
db.Get_Tabledata("SELECT dbo.office_vorlage.office_vorlagenr AS ID, dbo.Office_Vorlage_Datei.dateiname FROM dbo.office_vorlage INNER JOIN dbo.Office_Vorlage_Datei ON dbo.office_vorlage.office_vorlagenr = dbo.Office_Vorlage_Datei.office_vorlage_dateinr", false, true);
|
||||
System.Data.DataTable vorlagen = db.dsdaten.Tables[0];
|
||||
foreach (DataRow dr in vorlagen.Rows)
|
||||
{
|
||||
db.Get_Tabledata("Select dbo.binarytobase64(vorlage) from office_vorlage_datei where office_vorlage_dateinr = " + dr[0].ToString(), false, true);
|
||||
string base64 = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
db.Get_ApplicationType_from_Vorlage(Convert.ToInt32(dr[0].ToString()));
|
||||
string Apptype = "";
|
||||
try
|
||||
{
|
||||
Apptype = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
}
|
||||
catch
|
||||
{
|
||||
Apptype = "";
|
||||
}
|
||||
switch (Apptype.ToUpper())
|
||||
{
|
||||
case "DOCX":
|
||||
case "DOCM":
|
||||
case "DOC":
|
||||
case "DOT":
|
||||
case "WORD":
|
||||
case "DOTM":
|
||||
SynFWord sfword = new SynFWord();
|
||||
if (sfword.FindText(base64, this.toolStripTextBox1.Text) == true) { MessageBox.Show(dr[1].ToString()); }
|
||||
break;
|
||||
case "XLSM":
|
||||
case "XLSX":
|
||||
case "XLST":
|
||||
case "XLS":
|
||||
case "XLT":
|
||||
break;
|
||||
//break;
|
||||
case "PDF":
|
||||
case "ACROBAT":
|
||||
case "FORMULAR":
|
||||
case "DOKUMENT":
|
||||
//break ;
|
||||
|
||||
default:
|
||||
break;
|
||||
//break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,7 +120,38 @@
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="pdfViewerPrinterSettings7.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="toolStripSplitButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
|
||||
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
|
||||
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
|
||||
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
|
||||
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
|
||||
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
|
||||
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
|
||||
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
|
||||
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
|
||||
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="pdfViewerPrinterSettings1.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
|
||||
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
|
||||
|
||||
@@ -23,6 +23,7 @@ namespace OnDoc.UIControls
|
||||
{
|
||||
|
||||
public int partnernr = 0;
|
||||
public string partnerkurzname = "";
|
||||
public Partnersuche()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -64,6 +65,7 @@ namespace OnDoc.UIControls
|
||||
try
|
||||
{
|
||||
partnernr = Convert.ToInt32(TableHelper.GetCellCValue(ref trefferlistedata, "nrpar00"));
|
||||
partnerkurzname = TableHelper.GetCellCValue(ref this.trefferlistedata, "bkpar00");
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
@@ -83,6 +85,7 @@ namespace OnDoc.UIControls
|
||||
try
|
||||
{
|
||||
partnernr = Convert.ToInt32(TableHelper.GetCellCValue(ref trefferlistedata, "nrpar00"));
|
||||
partnerkurzname = TableHelper.GetCellCValue(ref this.trefferlistedata, "bkpar00");
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
@@ -92,6 +95,7 @@ namespace OnDoc.UIControls
|
||||
try
|
||||
{
|
||||
partnernr = Convert.ToInt32(TableHelper.GetCellCValue(ref this.trefferlistedata, "nrpar00"));
|
||||
partnerkurzname = TableHelper.GetCellCValue(ref this.trefferlistedata, "bkpar00");
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
@@ -101,6 +105,7 @@ namespace OnDoc.UIControls
|
||||
private void sfButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
partnernr = Convert.ToInt32(TableHelper.GetCellCValue(ref this.trefferlistedata, "nrpar00"));
|
||||
partnerkurzname = TableHelper.GetCellCValue(ref this.trefferlistedata, "bkpar00");
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
@@ -118,6 +123,7 @@ namespace OnDoc.UIControls
|
||||
try
|
||||
{
|
||||
partnernr = Convert.ToInt32(TableHelper.GetCellCValue(ref this.trefferlistedata, "nrpar00"));
|
||||
partnerkurzname = TableHelper.GetCellCValue(ref this.trefferlistedata, "bkpar00");
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
@@ -253,6 +253,8 @@
|
||||
this.gridDokwertlist.Size = new System.Drawing.Size(456, 376);
|
||||
this.gridDokwertlist.TabIndex = 0;
|
||||
this.gridDokwertlist.Text = "sfDataGrid1";
|
||||
this.gridDokwertlist.CellClick += new Syncfusion.WinForms.DataGrid.Events.CellClickEventHandler(this.gridDokwertlist_CellClick);
|
||||
this.gridDokwertlist.CellDoubleClick += new Syncfusion.WinForms.DataGrid.Events.CellClickEventHandler(this.gridDokwertlist_CellDoubleClick);
|
||||
//
|
||||
// lblBezeichnung
|
||||
//
|
||||
|
||||
@@ -13,6 +13,9 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Database;
|
||||
using Syncfusion.Pdf.Graphics;
|
||||
using Windows.UI.WebUI;
|
||||
using OnDoc.Diverses;
|
||||
using System.Web.Security;
|
||||
|
||||
namespace OnDoc.UIControls
|
||||
{
|
||||
@@ -79,17 +82,17 @@ namespace OnDoc.UIControls
|
||||
this.txtbezeichnung.Enabled = Convert.ToBoolean(dr["bezeichnungmut"]);
|
||||
this.cbboxunterschriftlinks.Enabled = Convert.ToBoolean(dr["unterschrift_links"]) == true;
|
||||
this.cbboxunterschriftrechts.Enabled = Convert.ToBoolean(dr["unterschrift_rechts"]) == true;
|
||||
this.cbformularohneunterschrfit.Enabled=Convert.ToBoolean(dr["unterschrift_ohne"]) == true;
|
||||
this.cbformularohneunterschrfit.Enabled = Convert.ToBoolean(dr["unterschrift_ohne"]) == true;
|
||||
this.cbfaksimile.Enabled = Convert.ToBoolean(dr["unterschrift_faksimile"]) == true;
|
||||
this.cbfaksimile.Checked = false;
|
||||
this.cbformularohneunterschrfit.Checked=false;
|
||||
if (Convert.ToInt32(dr["Unterschrift_Standard"].ToString()) ==1) { cbfaksimile.Checked=true; }
|
||||
this.cbformularohneunterschrfit.Checked = false;
|
||||
if (Convert.ToInt32(dr["Unterschrift_Standard"].ToString()) == 1) { cbfaksimile.Checked = true; }
|
||||
if (Convert.ToInt32(dr["Unterschrift_Standard"].ToString()) == 2) { cbformularohneunterschrfit.Checked = true; }
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
if (profilnr != 0)
|
||||
{
|
||||
@@ -112,12 +115,12 @@ namespace OnDoc.UIControls
|
||||
|
||||
System.Data.DataTable dokwertlist = new System.Data.DataTable();
|
||||
dokwertlist = db.Get_DokumentWertList("", dokumenttypnr);
|
||||
if (EDK_Data.toexecute==true)
|
||||
if (EDK_Data.toexecute == true)
|
||||
{
|
||||
foreach(System.Data.DataRow dr in dokwertlist.Rows)
|
||||
foreach (System.Data.DataRow dr in dokwertlist.Rows)
|
||||
{
|
||||
string val = EDK_Data.GetAVQ_Value(dr[0].ToString(), dr[12].ToString());
|
||||
if (val != ""){ dr[2] = val; }
|
||||
if (val != "") { dr[2] = val; }
|
||||
}
|
||||
dokwertlist.AcceptChanges();
|
||||
}
|
||||
@@ -139,7 +142,7 @@ namespace OnDoc.UIControls
|
||||
this.cbboxteam.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
public void update_partner()
|
||||
public void update_partner()
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
|
||||
@@ -153,11 +156,11 @@ namespace OnDoc.UIControls
|
||||
string s = "";
|
||||
for (int i = 1; i < 8; i++)
|
||||
{
|
||||
txtPartnerInhaber.Text = txtPartnerInhaber.Text + db.dsdaten.Tables[0].Rows[0]["d" + i.ToString()].ToString()+"\r\n";
|
||||
txtPartnerInhaber.Text = txtPartnerInhaber.Text + db.dsdaten.Tables[0].Rows[0]["d" + i.ToString()].ToString() + "\r\n";
|
||||
txtPartnerZusteller.Text = txtPartnerZusteller.Text + db.dsdaten.Tables[0].Rows[0]["h" + i.ToString()].ToString() + "\r\n";
|
||||
s = s + db.dsdaten.Tables[0].Rows[0]["h" + i.ToString()].ToString();
|
||||
}
|
||||
if (s=="") { txtPartnerZusteller.Text=txtPartnerInhaber.Text; }
|
||||
if (s == "") { txtPartnerZusteller.Text = txtPartnerInhaber.Text; }
|
||||
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@partnernr", this.partnernr.ToString());
|
||||
@@ -227,7 +230,7 @@ namespace OnDoc.UIControls
|
||||
docgendata.unterschriftLinks = cbboxunterschriftlinks.SelectedValue.ToString();
|
||||
docgendata.unterschriftRehts = cbboxunterschriftrechts.SelectedValue.ToString();
|
||||
if (cbfaksimile.Checked) { docgendata.digitaleunterschrift = true; } else { docgendata.digitaleunterschrift = false; }
|
||||
if (cbformularohneunterschrfit.Checked) { docgendata.frormularOhneUnterschrift = true; } else { docgendata.frormularOhneUnterschrift = false;}
|
||||
if (cbformularohneunterschrfit.Checked) { docgendata.frormularOhneUnterschrift = true; } else { docgendata.frormularOhneUnterschrift = false; }
|
||||
docgendata.verantwortlich = cbboxverantwortlich.SelectedValue.ToString();
|
||||
docgendata.team = cbboxteam.SelectedValue.ToString();
|
||||
|
||||
@@ -266,8 +269,8 @@ namespace OnDoc.UIControls
|
||||
dokdata.DokumentDatum = docgendata.dokumentdatum;
|
||||
dokdata.Bezeichnung = docgendata.bezeichnung;
|
||||
if (docgendata.erstellungsart == Erstellungsart.DokumentAlsPDF) { dokdata.Result_as_PDF = "True"; } else { dokdata.Result_as_PDF = "False"; }
|
||||
if (docgendata.digitaleunterschrift == true) {dokdata.As_Faksimile = "True"; } else { dokdata.As_Faksimile= "False"; }
|
||||
|
||||
if (docgendata.digitaleunterschrift == true) { dokdata.As_Faksimile = "True"; } else { dokdata.As_Faksimile = "False"; }
|
||||
|
||||
}
|
||||
private void sfButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -289,5 +292,128 @@ namespace OnDoc.UIControls
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void gridDokwertlist_CellDoubleClick(object sender, Syncfusion.WinForms.DataGrid.Events.CellClickEventArgs e)
|
||||
{
|
||||
var selectedItem = e.DataRow;
|
||||
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
||||
string datenherkunft = dataRow["datenherkunft"].ToString();
|
||||
string feldtyp = dataRow["feldtyp"].ToString();
|
||||
if (datenherkunft != "")
|
||||
{
|
||||
dataRow["feldwert"] = data_select(datenherkunft, feldtyp);
|
||||
}
|
||||
}
|
||||
|
||||
private string data_select(string datenherkunft, string feldtyp)
|
||||
{
|
||||
switch (feldtyp.ToUpper())
|
||||
{
|
||||
case "DATUMSHORT":
|
||||
case "DATUMMEDIUM":
|
||||
case "DATUMLONG":
|
||||
break;
|
||||
frmCalendar f = new frmCalendar();
|
||||
f.ShowDialog();
|
||||
string res = "";
|
||||
if (f.DialogResult == DialogResult.OK)
|
||||
{
|
||||
|
||||
if (feldtyp.ToUpper() == "DATUMSHORT")
|
||||
{
|
||||
res = Helper.ConvertHelper.Datum(Convert.ToDateTime(f.sfCalendar1.SelectedDate), Helper.ConvertHelper.DateTimeFormat.datumshort);
|
||||
}
|
||||
if (feldtyp.ToUpper() == "DATUMMEDIUM")
|
||||
{
|
||||
res = Helper.ConvertHelper.Datum(Convert.ToDateTime(f.sfCalendar1.SelectedDate), Helper.ConvertHelper.DateTimeFormat.datummedium);
|
||||
}
|
||||
if (feldtyp.ToUpper() == "DATUMLONG")
|
||||
{
|
||||
res = Helper.ConvertHelper.Datum(Convert.ToDateTime(f.sfCalendar1.SelectedDate), Helper.ConvertHelper.DateTimeFormat.datummedium);
|
||||
}
|
||||
}
|
||||
f.Dispose();
|
||||
return res;
|
||||
break;
|
||||
case "TEXT":
|
||||
if (datenherkunft.Substring(0, 1) != "&") { return ""; }
|
||||
if (datenherkunft.Substring(0, 8).ToUpper() == "&PARTNER")
|
||||
{
|
||||
Partnersuche p = new Partnersuche();
|
||||
p.ShowDialog();
|
||||
if (p.partnernr != 0) { return p.partnernr.ToString() + " - " + p.partnerkurzname; } else { return ""; }
|
||||
|
||||
}
|
||||
valueselector vs = new valueselector();
|
||||
if (datenherkunft.ToUpper() == "&SekPartnerVV&")
|
||||
{
|
||||
var records = gridDokwertlist.View.Records;
|
||||
string s = "";
|
||||
foreach (var record in records)
|
||||
{
|
||||
var dataRowView = record.Data as DataRowView;
|
||||
if (dataRowView != null)
|
||||
{
|
||||
var selectedValue = dataRowView.Row["datenherkunft"];
|
||||
if (selectedValue== "&Partner&")
|
||||
{
|
||||
s = "";
|
||||
s = dataRowView.Row["feldwert"].ToString();
|
||||
int ii = 0;
|
||||
ii = s.IndexOf("-") - 1;
|
||||
if (ii < 1) return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
vs.partnernr = s.Substring(0, s.IndexOf("-") - 1);
|
||||
}
|
||||
if (datenherkunft.ToUpper() == "&TerPartnerVV&")
|
||||
{
|
||||
var records = gridDokwertlist.View.Records;
|
||||
string s = "";
|
||||
foreach (var record in records)
|
||||
{
|
||||
var dataRowView = record.Data as DataRowView;
|
||||
if (dataRowView != null)
|
||||
{
|
||||
var selectedValue = dataRowView.Row["datenherkunft"];
|
||||
if (selectedValue == "&Partner3&")
|
||||
{
|
||||
s = "";
|
||||
s = dataRowView.Row["feldwert"].ToString();
|
||||
int ii = 0;
|
||||
ii = s.IndexOf("-") - 1;
|
||||
if (ii < 1) return "";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
vs.partnernr = s.Substring(0, s.IndexOf("-") - 1);
|
||||
}
|
||||
vs.datenherkunft = datenherkunft;
|
||||
|
||||
break;
|
||||
default:
|
||||
return "";
|
||||
break;
|
||||
}
|
||||
return "";
|
||||
|
||||
}
|
||||
|
||||
private void gridDokwertlist_CellClick(object sender, Syncfusion.WinForms.DataGrid.Events.CellClickEventArgs e)
|
||||
{
|
||||
if (e.DataColumn.Index == 15)
|
||||
{
|
||||
var selectedItem = e.DataRow;
|
||||
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
||||
string datenherkunft = dataRow["datenherkunft"].ToString();
|
||||
string feldtyp = dataRow["feldtyp"].ToString();
|
||||
if (datenherkunft != "")
|
||||
{
|
||||
dataRow["feldwert"] = data_select(datenherkunft, feldtyp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user