update 20240826

This commit is contained in:
Stefan Hutter
2024-08-27 08:00:04 +02:00
parent 32fce2ef24
commit 19d3a65dfd
88 changed files with 4723 additions and 156 deletions

View File

@@ -41,6 +41,16 @@
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.GrpUnterschrifte = new System.Windows.Forms.GroupBox();
this.lblStandard = new System.Windows.Forms.Label();
this.lbUnterschriftStandard = new System.Windows.Forms.ListBox();
this.cbUnterschriftrechts = new System.Windows.Forms.CheckBox();
this.cbFormularOhneUnterschrift = new System.Windows.Forms.CheckBox();
this.cbDigitaleUnterschrift = new System.Windows.Forms.CheckBox();
this.cbUnterschriftlinks = new System.Windows.Forms.CheckBox();
this.GrpBewilligung = new System.Windows.Forms.GroupBox();
this.chkBewilligungFaksimileUnterschriften = new System.Windows.Forms.CheckBox();
this.chkBewilliigungZwingend = new System.Windows.Forms.CheckBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.cbPDFDirekteArchivierung = new System.Windows.Forms.CheckBox();
@@ -50,15 +60,11 @@
this.TreeDokumentArt = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
this.GroupBox2 = new System.Windows.Forms.GroupBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.cbDigitaleUnterschrift = new System.Windows.Forms.CheckBox();
this.cbFormularOhneUnterschrift = new System.Windows.Forms.CheckBox();
this.vbDokumenterstellungPerson = new System.Windows.Forms.RadioButton();
this.rbDokumenterstellungBP = new System.Windows.Forms.RadioButton();
this.cbAnzeigeVorlagenauswahl = new System.Windows.Forms.CheckBox();
this.cbbezeichnungmutierbar = new System.Windows.Forms.CheckBox();
this.cbVertrag = new System.Windows.Forms.CheckBox();
this.cbUnterschriftrechts = new System.Windows.Forms.CheckBox();
this.cbUnterschriftlinks = new System.Windows.Forms.CheckBox();
this.Grp1 = new System.Windows.Forms.GroupBox();
this.cbboxFachverantwortung = new Syncfusion.WinForms.ListView.SfComboBox();
this.cbboxOwner = new Syncfusion.WinForms.ListView.SfComboBox();
@@ -73,9 +79,47 @@
this.TxTBezeichnung = new System.Windows.Forms.TextBox();
this.Label1 = new System.Windows.Forms.Label();
this.tabPageAdv2 = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();
this.grpVorlagenfeld = new System.Windows.Forms.GroupBox();
this.txtTechbezeichnung = new System.Windows.Forms.TextBox();
this.label13 = new System.Windows.Forms.Label();
this.txtUIDescription = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.txtessimageheight = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.txtessimagewidth = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.txtessimageleft = new System.Windows.Forms.TextBox();
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.txtessclass = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.txtBookmarkEnd = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.txtbookmarkstart = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtfeldname = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.chkzwingend = new System.Windows.Forms.CheckBox();
this.lbelzwingend = new System.Windows.Forms.Label();
this.txtSort = new System.Windows.Forms.TextBox();
this.lblsort = new System.Windows.Forms.Label();
this.chkui = new System.Windows.Forms.CheckBox();
this.lbluidesc = new System.Windows.Forms.Label();
this.lblfeldregelid = new System.Windows.Forms.Label();
this.lblfeldregeliddesc = new System.Windows.Forms.Label();
this.lblID = new System.Windows.Forms.Label();
this.lbliddesc = new System.Windows.Forms.Label();
this.lblFeldregel = new System.Windows.Forms.TextBox();
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
this.tabControlAdv1.SuspendLayout();
this.tabPageAdv1.SuspendLayout();
this.GrpUnterschrifte.SuspendLayout();
this.GrpBewilligung.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TreeDokumentArt)).BeginInit();
@@ -84,21 +128,30 @@
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).BeginInit();
this.tabPageAdv2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
this.grpVorlagenfeld.SuspendLayout();
this.SuspendLayout();
//
// tabControlAdv1
//
this.tabControlAdv1.BeforeTouchSize = new System.Drawing.Size(1178, 659);
this.tabControlAdv1.BeforeTouchSize = new System.Drawing.Size(1286, 641);
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.Name = "tabControlAdv1";
this.tabControlAdv1.Size = new System.Drawing.Size(1178, 659);
this.tabControlAdv1.Size = new System.Drawing.Size(1286, 641);
this.tabControlAdv1.TabIndex = 0;
//
// tabPageAdv1
//
this.tabPageAdv1.Controls.Add(this.GrpUnterschrifte);
this.tabPageAdv1.Controls.Add(this.GrpBewilligung);
this.tabPageAdv1.Controls.Add(this.groupBox4);
this.tabPageAdv1.Controls.Add(this.groupBox3);
this.tabPageAdv1.Controls.Add(this.GroupBox2);
@@ -108,18 +161,117 @@
this.tabPageAdv1.Location = new System.Drawing.Point(1, 25);
this.tabPageAdv1.Name = "tabPageAdv1";
this.tabPageAdv1.ShowCloseButton = true;
this.tabPageAdv1.Size = new System.Drawing.Size(1175, 632);
this.tabPageAdv1.Size = new System.Drawing.Size(1283, 614);
this.tabPageAdv1.TabIndex = 1;
this.tabPageAdv1.Text = "Allgemein";
this.tabPageAdv1.ThemesEnabled = false;
//
// GrpUnterschrifte
//
this.GrpUnterschrifte.Controls.Add(this.lblStandard);
this.GrpUnterschrifte.Controls.Add(this.lbUnterschriftStandard);
this.GrpUnterschrifte.Controls.Add(this.cbUnterschriftrechts);
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, 305);
this.GrpUnterschrifte.Name = "GrpUnterschrifte";
this.GrpUnterschrifte.Size = new System.Drawing.Size(488, 100);
this.GrpUnterschrifte.TabIndex = 26;
this.GrpUnterschrifte.TabStop = false;
this.GrpUnterschrifte.Text = "Unterschriften";
//
// lblStandard
//
this.lblStandard.AutoSize = true;
this.lblStandard.Location = new System.Drawing.Point(352, 28);
this.lblStandard.Name = "lblStandard";
this.lblStandard.Size = new System.Drawing.Size(50, 13);
this.lblStandard.TabIndex = 26;
this.lblStandard.Text = "Standard";
//
// lbUnterschriftStandard
//
this.lbUnterschriftStandard.FormattingEnabled = true;
this.lbUnterschriftStandard.Items.AddRange(new object[] {
"Unterschriften",
"Faksimle Unterschriften",
"Formular ohne Unterschrift"});
this.lbUnterschriftStandard.Location = new System.Drawing.Point(352, 49);
this.lbUnterschriftStandard.Name = "lbUnterschriftStandard";
this.lbUnterschriftStandard.Size = new System.Drawing.Size(120, 43);
this.lbUnterschriftStandard.TabIndex = 25;
//
// cbUnterschriftrechts
//
this.cbUnterschriftrechts.Location = new System.Drawing.Point(130, 28);
this.cbUnterschriftrechts.Name = "cbUnterschriftrechts";
this.cbUnterschriftrechts.Size = new System.Drawing.Size(216, 24);
this.cbUnterschriftrechts.TabIndex = 6;
this.cbUnterschriftrechts.Text = "Unterschrift rechts";
//
// cbFormularOhneUnterschrift
//
this.cbFormularOhneUnterschrift.Location = new System.Drawing.Point(15, 70);
this.cbFormularOhneUnterschrift.Name = "cbFormularOhneUnterschrift";
this.cbFormularOhneUnterschrift.Size = new System.Drawing.Size(216, 24);
this.cbFormularOhneUnterschrift.TabIndex = 23;
this.cbFormularOhneUnterschrift.Text = "Formular ohne Unterschrift";
//
// cbDigitaleUnterschrift
//
this.cbDigitaleUnterschrift.Location = new System.Drawing.Point(15, 49);
this.cbDigitaleUnterschrift.Name = "cbDigitaleUnterschrift";
this.cbDigitaleUnterschrift.Size = new System.Drawing.Size(216, 24);
this.cbDigitaleUnterschrift.TabIndex = 24;
this.cbDigitaleUnterschrift.Text = "Faksimie Unterschrift";
//
// cbUnterschriftlinks
//
this.cbUnterschriftlinks.Location = new System.Drawing.Point(15, 28);
this.cbUnterschriftlinks.Name = "cbUnterschriftlinks";
this.cbUnterschriftlinks.Size = new System.Drawing.Size(216, 24);
this.cbUnterschriftlinks.TabIndex = 5;
this.cbUnterschriftlinks.Text = "Unterschrift links";
//
// GrpBewilligung
//
this.GrpBewilligung.Controls.Add(this.chkBewilligungFaksimileUnterschriften);
this.GrpBewilligung.Controls.Add(this.chkBewilliigungZwingend);
this.GrpBewilligung.Location = new System.Drawing.Point(13, 411);
this.GrpBewilligung.Name = "GrpBewilligung";
this.GrpBewilligung.Size = new System.Drawing.Size(488, 71);
this.GrpBewilligung.TabIndex = 25;
this.GrpBewilligung.TabStop = false;
this.GrpBewilligung.Text = "Bewilligung";
//
// chkBewilligungFaksimileUnterschriften
//
this.chkBewilligungFaksimileUnterschriften.AutoSize = true;
this.chkBewilligungFaksimileUnterschriften.Location = new System.Drawing.Point(19, 43);
this.chkBewilligungFaksimileUnterschriften.Name = "chkBewilligungFaksimileUnterschriften";
this.chkBewilligungFaksimileUnterschriften.Size = new System.Drawing.Size(191, 17);
this.chkBewilligungFaksimileUnterschriften.TabIndex = 1;
this.chkBewilligungFaksimileUnterschriften.Text = "Bewilligung faksimile Unterschriften";
this.chkBewilligungFaksimileUnterschriften.UseVisualStyleBackColor = true;
//
// chkBewilliigungZwingend
//
this.chkBewilliigungZwingend.AutoSize = true;
this.chkBewilliigungZwingend.Location = new System.Drawing.Point(19, 20);
this.chkBewilliigungZwingend.Name = "chkBewilliigungZwingend";
this.chkBewilliigungZwingend.Size = new System.Drawing.Size(179, 17);
this.chkBewilliigungZwingend.TabIndex = 0;
this.chkBewilliigungZwingend.Text = "Bewilligung Dokument zwingend";
this.chkBewilliigungZwingend.UseVisualStyleBackColor = true;
//
// groupBox4
//
this.groupBox4.Controls.Add(this.checkBox1);
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, 374);
this.groupBox4.Location = new System.Drawing.Point(13, 489);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(488, 102);
this.groupBox4.TabIndex = 24;
@@ -129,9 +281,9 @@
// checkBox1
//
this.checkBox1.Enabled = false;
this.checkBox1.Location = new System.Drawing.Point(202, 19);
this.checkBox1.Location = new System.Drawing.Point(259, 19);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(280, 24);
this.checkBox1.Size = new System.Drawing.Size(221, 24);
this.checkBox1.TabIndex = 9;
this.checkBox1.Text = "Bearbeitung zwingend";
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
@@ -144,6 +296,7 @@
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
this.cbPDFDirekteArchivierung.TabIndex = 8;
this.cbPDFDirekteArchivierung.Text = "Direkte OnBase-Archvierung";
this.cbPDFDirekteArchivierung.Visible = false;
//
// cbPDFDokument
//
@@ -323,46 +476,26 @@
// GroupBox2
//
this.GroupBox2.Controls.Add(this.checkBox3);
this.GroupBox2.Controls.Add(this.cbDigitaleUnterschrift);
this.GroupBox2.Controls.Add(this.cbFormularOhneUnterschrift);
this.GroupBox2.Controls.Add(this.vbDokumenterstellungPerson);
this.GroupBox2.Controls.Add(this.rbDokumenterstellungBP);
this.GroupBox2.Controls.Add(this.cbAnzeigeVorlagenauswahl);
this.GroupBox2.Controls.Add(this.cbbezeichnungmutierbar);
this.GroupBox2.Controls.Add(this.cbVertrag);
this.GroupBox2.Controls.Add(this.cbUnterschriftrechts);
this.GroupBox2.Controls.Add(this.cbUnterschriftlinks);
this.GroupBox2.Location = new System.Drawing.Point(13, 186);
this.GroupBox2.Name = "GroupBox2";
this.GroupBox2.Size = new System.Drawing.Size(488, 182);
this.GroupBox2.Size = new System.Drawing.Size(488, 113);
this.GroupBox2.TabIndex = 4;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "Diverses";
//
// checkBox3
//
this.checkBox3.Location = new System.Drawing.Point(293, 152);
this.checkBox3.Location = new System.Drawing.Point(291, 78);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(189, 24);
this.checkBox3.TabIndex = 25;
this.checkBox3.Text = "Aktiv";
//
// cbDigitaleUnterschrift
//
this.cbDigitaleUnterschrift.Location = new System.Drawing.Point(16, 132);
this.cbDigitaleUnterschrift.Name = "cbDigitaleUnterschrift";
this.cbDigitaleUnterschrift.Size = new System.Drawing.Size(216, 24);
this.cbDigitaleUnterschrift.TabIndex = 24;
this.cbDigitaleUnterschrift.Text = "Faxsimie Signatur";
//
// cbFormularOhneUnterschrift
//
this.cbFormularOhneUnterschrift.Location = new System.Drawing.Point(16, 152);
this.cbFormularOhneUnterschrift.Name = "cbFormularOhneUnterschrift";
this.cbFormularOhneUnterschrift.Size = new System.Drawing.Size(216, 24);
this.cbFormularOhneUnterschrift.TabIndex = 23;
this.cbFormularOhneUnterschrift.Text = "Formular ohne Unterschrift";
//
// vbDokumenterstellungPerson
//
this.vbDokumenterstellungPerson.AutoSize = true;
@@ -409,22 +542,6 @@
this.cbVertrag.TabIndex = 10;
this.cbVertrag.Text = "Vertragscharakter (mit Barcode)";
//
// cbUnterschriftrechts
//
this.cbUnterschriftrechts.Location = new System.Drawing.Point(16, 113);
this.cbUnterschriftrechts.Name = "cbUnterschriftrechts";
this.cbUnterschriftrechts.Size = new System.Drawing.Size(216, 24);
this.cbUnterschriftrechts.TabIndex = 6;
this.cbUnterschriftrechts.Text = "Unterschrift rechts";
//
// cbUnterschriftlinks
//
this.cbUnterschriftlinks.Location = new System.Drawing.Point(16, 93);
this.cbUnterschriftlinks.Name = "cbUnterschriftlinks";
this.cbUnterschriftlinks.Size = new System.Drawing.Size(216, 24);
this.cbUnterschriftlinks.TabIndex = 5;
this.cbUnterschriftlinks.Text = "Unterschrift links";
//
// Grp1
//
this.Grp1.Controls.Add(this.cbboxFachverantwortung);
@@ -550,21 +667,386 @@
//
// tabPageAdv2
//
this.tabPageAdv2.Controls.Add(this.splitContainer1);
this.tabPageAdv2.Image = null;
this.tabPageAdv2.ImageSize = new System.Drawing.Size(16, 16);
this.tabPageAdv2.Location = new System.Drawing.Point(1, 25);
this.tabPageAdv2.Name = "tabPageAdv2";
this.tabPageAdv2.ShowCloseButton = true;
this.tabPageAdv2.Size = new System.Drawing.Size(1175, 632);
this.tabPageAdv2.Size = new System.Drawing.Size(1283, 614);
this.tabPageAdv2.TabIndex = 2;
this.tabPageAdv2.Text = "Voralgenfelder";
this.tabPageAdv2.ThemesEnabled = false;
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.sfDataGrid1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.grpVorlagenfeld);
this.splitContainer1.Size = new System.Drawing.Size(1283, 614);
this.splitContainer1.SplitterDistance = 930;
this.splitContainer1.TabIndex = 0;
//
// sfDataGrid1
//
this.sfDataGrid1.AccessibleName = "Table";
this.sfDataGrid1.AllowFiltering = true;
this.sfDataGrid1.AllowGrouping = false;
this.sfDataGrid1.AllowResizingColumns = true;
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, 0);
this.sfDataGrid1.Name = "sfDataGrid1";
this.sfDataGrid1.SelectionMode = Syncfusion.WinForms.DataGrid.Enums.GridSelectionMode.Extended;
this.sfDataGrid1.Size = new System.Drawing.Size(930, 614);
this.sfDataGrid1.TabIndex = 1;
this.sfDataGrid1.CellClick += new Syncfusion.WinForms.DataGrid.Events.CellClickEventHandler(this.sfDataGrid1_CellClick);
//
// grpVorlagenfeld
//
this.grpVorlagenfeld.Controls.Add(this.lblFeldregel);
this.grpVorlagenfeld.Controls.Add(this.txtTechbezeichnung);
this.grpVorlagenfeld.Controls.Add(this.label13);
this.grpVorlagenfeld.Controls.Add(this.txtUIDescription);
this.grpVorlagenfeld.Controls.Add(this.label12);
this.grpVorlagenfeld.Controls.Add(this.txtessimageheight);
this.grpVorlagenfeld.Controls.Add(this.label11);
this.grpVorlagenfeld.Controls.Add(this.txtessimagewidth);
this.grpVorlagenfeld.Controls.Add(this.label10);
this.grpVorlagenfeld.Controls.Add(this.txtessimageleft);
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.txtessclass);
this.grpVorlagenfeld.Controls.Add(this.label9);
this.grpVorlagenfeld.Controls.Add(this.txtBookmarkEnd);
this.grpVorlagenfeld.Controls.Add(this.label6);
this.grpVorlagenfeld.Controls.Add(this.txtbookmarkstart);
this.grpVorlagenfeld.Controls.Add(this.label5);
this.grpVorlagenfeld.Controls.Add(this.txtfeldname);
this.grpVorlagenfeld.Controls.Add(this.label4);
this.grpVorlagenfeld.Controls.Add(this.chkzwingend);
this.grpVorlagenfeld.Controls.Add(this.lbelzwingend);
this.grpVorlagenfeld.Controls.Add(this.txtSort);
this.grpVorlagenfeld.Controls.Add(this.lblsort);
this.grpVorlagenfeld.Controls.Add(this.chkui);
this.grpVorlagenfeld.Controls.Add(this.lbluidesc);
this.grpVorlagenfeld.Controls.Add(this.lblfeldregelid);
this.grpVorlagenfeld.Controls.Add(this.lblfeldregeliddesc);
this.grpVorlagenfeld.Controls.Add(this.lblID);
this.grpVorlagenfeld.Controls.Add(this.lbliddesc);
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, 614);
this.grpVorlagenfeld.TabIndex = 0;
this.grpVorlagenfeld.TabStop = false;
this.grpVorlagenfeld.Text = "Vorlagenfeld";
//
// txtTechbezeichnung
//
this.txtTechbezeichnung.Location = new System.Drawing.Point(135, 230);
this.txtTechbezeichnung.Name = "txtTechbezeichnung";
this.txtTechbezeichnung.Size = new System.Drawing.Size(134, 20);
this.txtTechbezeichnung.TabIndex = 32;
this.txtTechbezeichnung.Leave += new System.EventHandler(this.txtSort_Leave);
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(18, 230);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(97, 13);
this.label13.TabIndex = 31;
this.label13.Text = "Tech-Bezeichnung";
//
// txtUIDescription
//
this.txtUIDescription.Location = new System.Drawing.Point(135, 204);
this.txtUIDescription.Name = "txtUIDescription";
this.txtUIDescription.Size = new System.Drawing.Size(134, 20);
this.txtUIDescription.TabIndex = 30;
this.txtUIDescription.Leave += new System.EventHandler(this.txtSort_Leave);
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(18, 204);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(88, 13);
this.label12.TabIndex = 29;
this.label12.Text = "Feldbezeichnung";
//
// txtessimageheight
//
this.txtessimageheight.Location = new System.Drawing.Point(135, 531);
this.txtessimageheight.Name = "txtessimageheight";
this.txtessimageheight.Size = new System.Drawing.Size(134, 20);
this.txtessimageheight.TabIndex = 28;
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.Name = "label11";
this.label11.Size = new System.Drawing.Size(92, 13);
this.label11.TabIndex = 27;
this.label11.Text = "ESS-Image height";
//
// txtessimagewidth
//
this.txtessimagewidth.Location = new System.Drawing.Point(135, 505);
this.txtessimagewidth.Name = "txtessimagewidth";
this.txtessimagewidth.Size = new System.Drawing.Size(134, 20);
this.txtessimagewidth.TabIndex = 26;
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.Name = "label10";
this.label10.Size = new System.Drawing.Size(88, 13);
this.label10.TabIndex = 25;
this.label10.Text = "ESS-Image width";
//
// txtessimageleft
//
this.txtessimageleft.Location = new System.Drawing.Point(135, 479);
this.txtessimageleft.Name = "txtessimageleft";
this.txtessimageleft.Size = new System.Drawing.Size(134, 20);
this.txtessimageleft.TabIndex = 24;
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.Name = "label8";
this.label8.Size = new System.Drawing.Size(77, 13);
this.label8.TabIndex = 23;
this.label8.Text = "ESS-Image left";
//
// txtessimagetop
//
this.txtessimagetop.Location = new System.Drawing.Point(135, 453);
this.txtessimagetop.Name = "txtessimagetop";
this.txtessimagetop.Size = new System.Drawing.Size(134, 20);
this.txtessimagetop.TabIndex = 22;
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.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.Name = "txtessfieldname";
this.txtessfieldname.Size = new System.Drawing.Size(77, 13);
this.txtessfieldname.TabIndex = 19;
this.txtessfieldname.Text = "ESS-Feldname";
//
// txtessclass
//
this.txtessclass.Location = new System.Drawing.Point(135, 401);
this.txtessclass.Name = "txtessclass";
this.txtessclass.Size = new System.Drawing.Size(187, 20);
this.txtessclass.TabIndex = 18;
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.Name = "label9";
this.label9.Size = new System.Drawing.Size(62, 13);
this.label9.TabIndex = 17;
this.label9.Text = "ESS-Klasse";
//
// txtBookmarkEnd
//
this.txtBookmarkEnd.Location = new System.Drawing.Point(135, 330);
this.txtBookmarkEnd.Name = "txtBookmarkEnd";
this.txtBookmarkEnd.Size = new System.Drawing.Size(187, 20);
this.txtBookmarkEnd.TabIndex = 16;
this.txtBookmarkEnd.Leave += new System.EventHandler(this.txtSort_Leave);
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(18, 330);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(82, 13);
this.label6.TabIndex = 15;
this.label6.Text = "Ende-Texmarke";
//
// txtbookmarkstart
//
this.txtbookmarkstart.Location = new System.Drawing.Point(135, 304);
this.txtbookmarkstart.Name = "txtbookmarkstart";
this.txtbookmarkstart.Size = new System.Drawing.Size(187, 20);
this.txtbookmarkstart.TabIndex = 14;
this.txtbookmarkstart.Leave += new System.EventHandler(this.txtSort_Leave);
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(18, 304);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(90, 13);
this.label5.TabIndex = 13;
this.label5.Text = "Beginn-Texmarke";
//
// txtfeldname
//
this.txtfeldname.Location = new System.Drawing.Point(135, 278);
this.txtfeldname.Name = "txtfeldname";
this.txtfeldname.Size = new System.Drawing.Size(187, 20);
this.txtfeldname.TabIndex = 12;
this.txtfeldname.TextChanged += new System.EventHandler(this.txtfeldname_TextChanged);
this.txtfeldname.Leave += new System.EventHandler(this.txtSort_Leave);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(18, 278);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 13);
this.label4.TabIndex = 11;
this.label4.Text = "Feldname";
//
// chkzwingend
//
this.chkzwingend.AutoSize = true;
this.chkzwingend.Location = new System.Drawing.Point(135, 152);
this.chkzwingend.Name = "chkzwingend";
this.chkzwingend.Size = new System.Drawing.Size(15, 14);
this.chkzwingend.TabIndex = 10;
this.chkzwingend.UseVisualStyleBackColor = true;
//
// lbelzwingend
//
this.lbelzwingend.AutoSize = true;
this.lbelzwingend.Location = new System.Drawing.Point(18, 153);
this.lbelzwingend.Name = "lbelzwingend";
this.lbelzwingend.Size = new System.Drawing.Size(54, 13);
this.lbelzwingend.TabIndex = 9;
this.lbelzwingend.Text = "Zwingend";
//
// txtSort
//
this.txtSort.Location = new System.Drawing.Point(135, 178);
this.txtSort.Name = "txtSort";
this.txtSort.Size = new System.Drawing.Size(134, 20);
this.txtSort.TabIndex = 8;
this.txtSort.Leave += new System.EventHandler(this.txtSort_Leave);
//
// lblsort
//
this.lblsort.AutoSize = true;
this.lblsort.Location = new System.Drawing.Point(18, 178);
this.lblsort.Name = "lblsort";
this.lblsort.Size = new System.Drawing.Size(111, 13);
this.lblsort.TabIndex = 7;
this.lblsort.Text = "Sortier-Reihenfolge UI";
//
// chkui
//
this.chkui.AutoSize = true;
this.chkui.Enabled = false;
this.chkui.Location = new System.Drawing.Point(135, 129);
this.chkui.Name = "chkui";
this.chkui.Size = new System.Drawing.Size(15, 14);
this.chkui.TabIndex = 6;
this.chkui.UseVisualStyleBackColor = true;
//
// lbluidesc
//
this.lbluidesc.AutoSize = true;
this.lbluidesc.Location = new System.Drawing.Point(18, 129);
this.lbluidesc.Name = "lbluidesc";
this.lbluidesc.Size = new System.Drawing.Size(18, 13);
this.lbluidesc.TabIndex = 5;
this.lbluidesc.Text = "UI";
//
// lblfeldregelid
//
this.lblfeldregelid.AutoSize = true;
this.lblfeldregelid.Location = new System.Drawing.Point(132, 40);
this.lblfeldregelid.Name = "lblfeldregelid";
this.lblfeldregelid.Size = new System.Drawing.Size(50, 13);
this.lblfeldregelid.TabIndex = 3;
this.lblfeldregelid.Text = "Feldregel";
//
// lblfeldregeliddesc
//
this.lblfeldregeliddesc.AutoSize = true;
this.lblfeldregeliddesc.Location = new System.Drawing.Point(18, 43);
this.lblfeldregeliddesc.Name = "lblfeldregeliddesc";
this.lblfeldregeliddesc.Size = new System.Drawing.Size(50, 13);
this.lblfeldregeliddesc.TabIndex = 2;
this.lblfeldregeliddesc.Text = "Feldregel";
//
// lblID
//
this.lblID.AutoSize = true;
this.lblID.Location = new System.Drawing.Point(132, 17);
this.lblID.Name = "lblID";
this.lblID.Size = new System.Drawing.Size(18, 13);
this.lblID.TabIndex = 1;
this.lblID.Text = "ID";
//
// lbliddesc
//
this.lbliddesc.AutoSize = true;
this.lbliddesc.Location = new System.Drawing.Point(18, 20);
this.lbliddesc.Name = "lbliddesc";
this.lbliddesc.Size = new System.Drawing.Size(18, 13);
this.lbliddesc.TabIndex = 0;
this.lbliddesc.Text = "ID";
//
// lblFeldregel
//
this.lblFeldregel.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lblFeldregel.Location = new System.Drawing.Point(135, 56);
this.lblFeldregel.Multiline = true;
this.lblFeldregel.Name = "lblFeldregel";
this.lblFeldregel.ReadOnly = true;
this.lblFeldregel.Size = new System.Drawing.Size(201, 63);
this.lblFeldregel.TabIndex = 33;
//
// Dokumenttyp
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1182, 663);
this.ClientSize = new System.Drawing.Size(1290, 645);
this.Controls.Add(this.tabControlAdv1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Dokumenttyp";
@@ -575,6 +1057,10 @@
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
this.tabControlAdv1.ResumeLayout(false);
this.tabPageAdv1.ResumeLayout(false);
this.GrpUnterschrifte.ResumeLayout(false);
this.GrpUnterschrifte.PerformLayout();
this.GrpBewilligung.ResumeLayout(false);
this.GrpBewilligung.PerformLayout();
this.groupBox4.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.TreeDokumentArt)).EndInit();
@@ -585,6 +1071,14 @@
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).EndInit();
this.tabPageAdv2.ResumeLayout(false);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
this.grpVorlagenfeld.ResumeLayout(false);
this.grpVorlagenfeld.PerformLayout();
this.ResumeLayout(false);
}
@@ -625,5 +1119,47 @@
private Syncfusion.WinForms.ListView.SfComboBox cbboxOwner;
internal System.Windows.Forms.CheckBox checkBox1;
private Syncfusion.WinForms.ListView.SfComboBox cbboxFachverantwortung;
private System.Windows.Forms.GroupBox GrpUnterschrifte;
private System.Windows.Forms.GroupBox GrpBewilligung;
private System.Windows.Forms.CheckBox chkBewilligungFaksimileUnterschriften;
private System.Windows.Forms.CheckBox chkBewilliigungZwingend;
private System.Windows.Forms.Label lblStandard;
private System.Windows.Forms.ListBox lbUnterschriftStandard;
private System.Windows.Forms.SplitContainer splitContainer1;
private Syncfusion.WinForms.DataGrid.SfDataGrid sfDataGrid1;
private System.Windows.Forms.GroupBox grpVorlagenfeld;
private System.Windows.Forms.CheckBox chkui;
private System.Windows.Forms.Label lbluidesc;
private System.Windows.Forms.Label lblfeldregelid;
private System.Windows.Forms.Label lblfeldregeliddesc;
private System.Windows.Forms.Label lblID;
private System.Windows.Forms.Label lbliddesc;
private System.Windows.Forms.TextBox txtfeldname;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.CheckBox chkzwingend;
private System.Windows.Forms.Label lbelzwingend;
private System.Windows.Forms.TextBox txtSort;
private System.Windows.Forms.Label lblsort;
private System.Windows.Forms.TextBox txtessimageheight;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtessimagewidth;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox txtessimageleft;
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 txtessclass;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox txtBookmarkEnd;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtbookmarkstart;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtTechbezeichnung;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtUIDescription;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.TextBox lblFeldregel;
}
}

View File

@@ -11,12 +11,16 @@ using OnDoc.Klassen;
using Syncfusion.WinForms.Controls;
using Syncfusion.WinForms.Controls.Styles;
using Database;
using Helper;
namespace OnDoc.UIControls.Administrator
{
public partial class Dokumenttyp : SfForm
{
private int dokumenttypnr = 0;
System.Data.DataRow Origin;
public Dokumenttyp()
{
InitializeComponent();
@@ -41,11 +45,18 @@ namespace OnDoc.UIControls.Administrator
cbboxFachverantwortung.DisplayMember = "MA";
cbboxFachverantwortung.ValueMember = "id";
cbboxOwner.DataSource=db.dsdaten.Tables[0];
cbboxOwner.DisplayMember = "MA";
cbboxOwner.ValueMember = "id";
db.Get_Tabledata("Select * from dokumenttyp where dokumenttypnr = "+dokumenttypnr.ToString(),false,true);
DataRow r = db.dsdaten.Tables[0].Rows[0];
this.TxTBezeichnung.Text = r["bezeichnung"].ToString();
this.TxTBeschreibung.Text = r["beschreibung"].ToString() ;
db.Get_Tabledata("Select * from View_Vorlagenfelder_Relaunch where doktypid=" + dokumenttypnr.ToString(),false,true);
this.sfDataGrid1.DataSource=db.dsdaten.Tables[0];
}
@@ -58,5 +69,80 @@ namespace OnDoc.UIControls.Administrator
{
}
private void sfDataGrid1_CellClick(object sender, Syncfusion.WinForms.DataGrid.Events.CellClickEventArgs e)
{
string vorlagenfeldnr = "";
try
{
var selectedItem = e.DataRow;
var dataRow = (e.DataRow.RowData as DataRowView).Row;
Origin = (e.DataRow.RowData as DataRowView).Row;
vorlagenfeldnr = dataRow["id"].ToString();
Update_Vorlagenfeld(dataRow);
}
catch
{
vorlagenfeldnr = "0";
return;
}
}
private void Update_Vorlagenfeld(DataRow dr)
{
//Origin = dr;
lblID.Text=dr["ID"].ToString();
lblfeldregelid.Text = dr["Feldregelid"].ToString();
lblFeldregel.Text = dr["feldregel"].ToString();
txtfeldname.Text = dr["feldname"].ToString();
txtbookmarkstart.Text = dr["BTM"].ToString();
txtBookmarkEnd.Text = dr["ETM"].ToString();
txtessclass.Text = dr["essclass"].ToString();
txtessfieldname.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();
txtessimagewidth.Text = dr["ess_img_height"].ToString();
txtSort.Text = dr["reihenfolge"].ToString();
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;
}
else
{
chkui.Checked = false;
chkui.Checked = false;
txtSort.Enabled = false;
txtUIDescription.Enabled = false;
txtTechbezeichnung.Enabled = false;
}
}
private void txtfeldname_TextChanged(object sender, EventArgs e)
{
}
private void txtSort_Leave(object sender, EventArgs e)
{
TextBox tmptxtbox = new TextBox();
tmptxtbox = sender as TextBox;
Origin["BTM"]=tmptxtbox.Text;
var record = sfDataGrid1.View.Records.GetItemAt(sfDataGrid1.SelectedIndex);
this.sfDataGrid1.View.GetPropertyAccessProvider().SetValue(record, "BTM", tmptxtbox.Text);
Origin.AcceptChanges();
sfDataGrid1.Update();
}
}
}

524
Client/UIControls/Approval.Designer.cs generated Normal file
View File

@@ -0,0 +1,524 @@
namespace OnDoc.UIControls
{
partial class Approval
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Komponenten-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv3 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv4 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.treeViewAdv1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
this.grpDetails = new System.Windows.Forms.GroupBox();
this.label4 = new System.Windows.Forms.Label();
this.sfListView1 = new Syncfusion.WinForms.ListView.SfListView();
this.txtNote = new System.Windows.Forms.TextBox();
this.txtnotewriter = new System.Windows.Forms.TextBox();
this.txtVerantwortlich = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.txtmutiertam = new System.Windows.Forms.TextBox();
this.txtmutierer = new System.Windows.Forms.TextBox();
this.txtersteller = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txterstelltam = new System.Windows.Forms.TextBox();
this.Erstellung = new System.Windows.Forms.Label();
this.txtPartner = new System.Windows.Forms.TextBox();
this.txtPartnerNr = new System.Windows.Forms.TextBox();
this.lblPartner = new System.Windows.Forms.Label();
this.txtbezeichnung = new System.Windows.Forms.TextBox();
this.Bezeichnung = new System.Windows.Forms.Label();
this.txtdokumentid = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.docPreview1 = new OnDoc.UIControls.DocPreview();
this.ribbon3 = new System.Windows.Forms.Ribbon();
this.ribbonTab1 = new System.Windows.Forms.RibbonTab();
this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
this.ribbonButtonApproved = new System.Windows.Forms.RibbonButton();
this.ribbonButtonNotApproved = new System.Windows.Forms.RibbonButton();
this.panel1 = new System.Windows.Forms.Panel();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).BeginInit();
this.grpDetails.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Panel2.Controls.Add(this.grpDetails);
this.splitContainer1.Panel2.Controls.Add(this.docPreview1);
this.splitContainer1.Panel2.Controls.Add(this.ribbon3);
this.splitContainer1.Size = new System.Drawing.Size(1629, 876);
this.splitContainer1.SplitterDistance = 542;
this.splitContainer1.TabIndex = 1;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.treeViewAdv1);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(0, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(542, 876);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Dokumente zum Bewilligen";
//
// treeViewAdv1
//
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
this.treeViewAdv1.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
this.treeViewAdv1.BeforeTouchSize = new System.Drawing.Size(536, 857);
this.treeViewAdv1.Dock = System.Windows.Forms.DockStyle.Fill;
//
//
//
this.treeViewAdv1.HelpTextControl.BaseThemeName = null;
this.treeViewAdv1.HelpTextControl.Location = new System.Drawing.Point(0, 0);
this.treeViewAdv1.HelpTextControl.Name = "";
this.treeViewAdv1.HelpTextControl.Size = new System.Drawing.Size(392, 112);
this.treeViewAdv1.HelpTextControl.TabIndex = 0;
this.treeViewAdv1.HelpTextControl.Visible = true;
this.treeViewAdv1.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
this.treeViewAdv1.Location = new System.Drawing.Point(3, 16);
this.treeViewAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
this.treeViewAdv1.Name = "treeViewAdv1";
treeNodeAdv1.ChildStyle.CheckBoxTickThickness = 1;
treeNodeAdv1.ChildStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
treeNodeAdv1.ChildStyle.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv1.ChildStyle.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv1.ChildStyle.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdv1.EnsureDefaultOptionedChild = true;
treeNodeAdv1.Expanded = true;
treeNodeAdv1.MultiLine = true;
treeNodeAdv2.ChildStyle.CheckBoxTickThickness = 1;
treeNodeAdv2.ChildStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv2.ChildStyle.EnsureDefaultOptionedChild = true;
treeNodeAdv2.ChildStyle.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv2.ChildStyle.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv2.ChildStyle.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdv2.EnsureDefaultOptionedChild = true;
treeNodeAdv2.Expanded = true;
treeNodeAdv2.MultiLine = true;
treeNodeAdv3.ChildStyle.CheckBoxTickThickness = 1;
treeNodeAdv3.ChildStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv3.ChildStyle.EnsureDefaultOptionedChild = true;
treeNodeAdv3.ChildStyle.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv3.ChildStyle.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv3.ChildStyle.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdv3.EnsureDefaultOptionedChild = true;
treeNodeAdv3.MultiLine = true;
treeNodeAdv3.Name = "";
treeNodeAdv3.Optioned = true;
treeNodeAdv3.ShowLine = true;
treeNodeAdv3.Tag = "OFFEDK0002024002448514";
treeNodeAdv3.Text = "Jugendkonto Kontoeröffnung (OFFEDK0002024002448514)";
treeNodeAdv2.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
treeNodeAdv3});
treeNodeAdv2.Optioned = true;
treeNodeAdv2.ShowLine = true;
treeNodeAdv2.Text = "25297725 - Stefan Hutter Bülach";
treeNodeAdv1.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
treeNodeAdv2});
treeNodeAdv1.ShowLine = true;
treeNodeAdv1.Text = "Dokument-Inhalt";
treeNodeAdv4.ChildStyle.CheckBoxTickThickness = 1;
treeNodeAdv4.ChildStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv4.ChildStyle.EnsureDefaultOptionedChild = true;
treeNodeAdv4.ChildStyle.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv4.ChildStyle.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdv4.ChildStyle.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdv4.EnsureDefaultOptionedChild = true;
treeNodeAdv4.MultiLine = true;
treeNodeAdv4.ShowLine = true;
treeNodeAdv4.Text = "Faksimile Unterschrift";
this.treeViewAdv1.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
treeNodeAdv1,
treeNodeAdv4});
this.treeViewAdv1.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.treeViewAdv1.Size = new System.Drawing.Size(536, 857);
this.treeViewAdv1.TabIndex = 4;
this.treeViewAdv1.Text = "treeViewAdv1";
this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0;
this.treeViewAdv1.ThemeStyle.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true;
//
//
//
this.treeViewAdv1.ToolTipControl.BaseThemeName = null;
this.treeViewAdv1.ToolTipControl.Location = new System.Drawing.Point(0, 0);
this.treeViewAdv1.ToolTipControl.Name = "";
this.treeViewAdv1.ToolTipControl.Size = new System.Drawing.Size(392, 112);
this.treeViewAdv1.ToolTipControl.TabIndex = 0;
this.treeViewAdv1.ToolTipControl.Visible = true;
this.treeViewAdv1.NodeMouseClick += new Syncfusion.Windows.Forms.Tools.TreeNodeAdvMouseClickArgs(this.treeViewAdv1_NodeMouseClick);
this.treeViewAdv1.Click += new System.EventHandler(this.treeViewAdv1_Click);
//
// grpDetails
//
this.grpDetails.Controls.Add(this.label4);
this.grpDetails.Controls.Add(this.sfListView1);
this.grpDetails.Controls.Add(this.txtNote);
this.grpDetails.Controls.Add(this.txtnotewriter);
this.grpDetails.Controls.Add(this.txtVerantwortlich);
this.grpDetails.Controls.Add(this.label3);
this.grpDetails.Controls.Add(this.txtmutiertam);
this.grpDetails.Controls.Add(this.txtmutierer);
this.grpDetails.Controls.Add(this.txtersteller);
this.grpDetails.Controls.Add(this.label2);
this.grpDetails.Controls.Add(this.txterstelltam);
this.grpDetails.Controls.Add(this.Erstellung);
this.grpDetails.Controls.Add(this.txtPartner);
this.grpDetails.Controls.Add(this.txtPartnerNr);
this.grpDetails.Controls.Add(this.lblPartner);
this.grpDetails.Controls.Add(this.txtbezeichnung);
this.grpDetails.Controls.Add(this.Bezeichnung);
this.grpDetails.Controls.Add(this.txtdokumentid);
this.grpDetails.Controls.Add(this.label1);
this.grpDetails.Dock = System.Windows.Forms.DockStyle.Right;
this.grpDetails.Location = new System.Drawing.Point(751, 86);
this.grpDetails.Name = "grpDetails";
this.grpDetails.Size = new System.Drawing.Size(332, 790);
this.grpDetails.TabIndex = 3;
this.grpDetails.TabStop = false;
this.grpDetails.Text = "Details";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label4.Location = new System.Drawing.Point(3, 356);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(43, 13);
this.label4.TabIndex = 37;
this.label4.Text = "Notizen";
//
// sfListView1
//
this.sfListView1.AccessibleName = "ScrollControl";
this.sfListView1.BackColor = System.Drawing.SystemColors.Window;
this.sfListView1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.sfListView1.Location = new System.Drawing.Point(3, 369);
this.sfListView1.Name = "sfListView1";
this.sfListView1.ShowToolTip = true;
this.sfListView1.Size = new System.Drawing.Size(326, 310);
this.sfListView1.TabIndex = 36;
this.sfListView1.Text = "sfListView1";
this.sfListView1.ToolTipOpening += new System.EventHandler<Syncfusion.WinForms.ListView.Events.ToolTipOpeningEventArgs>(this.sfListView1_ToolTipOpening);
this.sfListView1.ToolTipOpened += new System.EventHandler<Syncfusion.WinForms.ListView.Events.ToolTipOpenedEventArgs>(this.sfListView1_ToolTipOpened);
//
// txtNote
//
this.txtNote.BackColor = System.Drawing.Color.Cornsilk;
this.txtNote.Dock = System.Windows.Forms.DockStyle.Bottom;
this.txtNote.Location = new System.Drawing.Point(3, 679);
this.txtNote.Multiline = true;
this.txtNote.Name = "txtNote";
this.txtNote.ReadOnly = true;
this.txtNote.Size = new System.Drawing.Size(326, 88);
this.txtNote.TabIndex = 38;
//
// txtnotewriter
//
this.txtnotewriter.BackColor = System.Drawing.Color.Cornsilk;
this.txtnotewriter.Dock = System.Windows.Forms.DockStyle.Bottom;
this.txtnotewriter.Location = new System.Drawing.Point(3, 767);
this.txtnotewriter.Name = "txtnotewriter";
this.txtnotewriter.ReadOnly = true;
this.txtnotewriter.Size = new System.Drawing.Size(326, 20);
this.txtnotewriter.TabIndex = 39;
//
// txtVerantwortlich
//
this.txtVerantwortlich.Location = new System.Drawing.Point(88, 294);
this.txtVerantwortlich.Name = "txtVerantwortlich";
this.txtVerantwortlich.ReadOnly = true;
this.txtVerantwortlich.Size = new System.Drawing.Size(230, 20);
this.txtVerantwortlich.TabIndex = 35;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(3, 294);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(76, 13);
this.label3.TabIndex = 34;
this.label3.Text = "Verantwortung";
//
// txtmutiertam
//
this.txtmutiertam.Location = new System.Drawing.Point(88, 251);
this.txtmutiertam.Name = "txtmutiertam";
this.txtmutiertam.ReadOnly = true;
this.txtmutiertam.Size = new System.Drawing.Size(230, 20);
this.txtmutiertam.TabIndex = 33;
//
// txtmutierer
//
this.txtmutierer.Location = new System.Drawing.Point(88, 225);
this.txtmutierer.Name = "txtmutierer";
this.txtmutierer.ReadOnly = true;
this.txtmutierer.Size = new System.Drawing.Size(230, 20);
this.txtmutierer.TabIndex = 32;
//
// txtersteller
//
this.txtersteller.Location = new System.Drawing.Point(88, 189);
this.txtersteller.Name = "txtersteller";
this.txtersteller.ReadOnly = true;
this.txtersteller.Size = new System.Drawing.Size(230, 20);
this.txtersteller.TabIndex = 31;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 225);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 13);
this.label2.TabIndex = 30;
this.label2.Text = "Änderung";
//
// txterstelltam
//
this.txterstelltam.Location = new System.Drawing.Point(88, 163);
this.txterstelltam.Name = "txterstelltam";
this.txterstelltam.ReadOnly = true;
this.txterstelltam.Size = new System.Drawing.Size(230, 20);
this.txterstelltam.TabIndex = 29;
//
// Erstellung
//
this.Erstellung.AutoSize = true;
this.Erstellung.Location = new System.Drawing.Point(3, 166);
this.Erstellung.Name = "Erstellung";
this.Erstellung.Size = new System.Drawing.Size(53, 13);
this.Erstellung.TabIndex = 28;
this.Erstellung.Text = "Erstellung";
//
// txtPartner
//
this.txtPartner.Location = new System.Drawing.Point(88, 117);
this.txtPartner.Name = "txtPartner";
this.txtPartner.ReadOnly = true;
this.txtPartner.Size = new System.Drawing.Size(230, 20);
this.txtPartner.TabIndex = 27;
//
// txtPartnerNr
//
this.txtPartnerNr.Location = new System.Drawing.Point(88, 91);
this.txtPartnerNr.Name = "txtPartnerNr";
this.txtPartnerNr.ReadOnly = true;
this.txtPartnerNr.Size = new System.Drawing.Size(163, 20);
this.txtPartnerNr.TabIndex = 26;
//
// lblPartner
//
this.lblPartner.AutoSize = true;
this.lblPartner.Location = new System.Drawing.Point(3, 94);
this.lblPartner.Name = "lblPartner";
this.lblPartner.Size = new System.Drawing.Size(41, 13);
this.lblPartner.TabIndex = 25;
this.lblPartner.Text = "Partner";
//
// txtbezeichnung
//
this.txtbezeichnung.Location = new System.Drawing.Point(88, 50);
this.txtbezeichnung.Name = "txtbezeichnung";
this.txtbezeichnung.ReadOnly = true;
this.txtbezeichnung.Size = new System.Drawing.Size(230, 20);
this.txtbezeichnung.TabIndex = 24;
//
// Bezeichnung
//
this.Bezeichnung.AutoSize = true;
this.Bezeichnung.Location = new System.Drawing.Point(3, 53);
this.Bezeichnung.Name = "Bezeichnung";
this.Bezeichnung.Size = new System.Drawing.Size(69, 13);
this.Bezeichnung.TabIndex = 23;
this.Bezeichnung.Text = "Bezeichnung";
//
// txtdokumentid
//
this.txtdokumentid.Location = new System.Drawing.Point(88, 24);
this.txtdokumentid.Name = "txtdokumentid";
this.txtdokumentid.ReadOnly = true;
this.txtdokumentid.Size = new System.Drawing.Size(163, 20);
this.txtdokumentid.TabIndex = 22;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 27);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(70, 13);
this.label1.TabIndex = 21;
this.label1.Text = "Dokument-ID";
//
// docPreview1
//
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.docPreview1.Location = new System.Drawing.Point(0, 86);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(1083, 790);
this.docPreview1.TabIndex = 0;
//
// ribbon3
//
this.ribbon3.CaptionBarVisible = false;
this.ribbon3.Font = new System.Drawing.Font("Segoe UI", 9F);
this.ribbon3.Location = new System.Drawing.Point(0, 0);
this.ribbon3.Minimized = false;
this.ribbon3.Name = "ribbon3";
//
//
//
this.ribbon3.OrbDropDown.BorderRoundness = 8;
this.ribbon3.OrbDropDown.Location = new System.Drawing.Point(0, 0);
this.ribbon3.OrbDropDown.Name = "";
this.ribbon3.OrbDropDown.Size = new System.Drawing.Size(527, 447);
this.ribbon3.OrbDropDown.TabIndex = 0;
this.ribbon3.OrbStyle = System.Windows.Forms.RibbonOrbStyle.Office_2013;
this.ribbon3.OrbVisible = false;
this.ribbon3.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
this.ribbon3.Size = new System.Drawing.Size(1083, 86);
this.ribbon3.TabIndex = 2;
this.ribbon3.Tabs.Add(this.ribbonTab1);
this.ribbon3.TabSpacing = 4;
this.ribbon3.Text = "ribbon3";
//
// ribbonTab1
//
this.ribbonTab1.Name = "ribbonTab1";
this.ribbonTab1.Panels.Add(this.ribbonPanel1);
this.ribbonTab1.Text = "";
//
// ribbonPanel1
//
this.ribbonPanel1.ButtonMoreVisible = false;
this.ribbonPanel1.Items.Add(this.ribbonButtonApproved);
this.ribbonPanel1.Items.Add(this.ribbonButtonNotApproved);
this.ribbonPanel1.Name = "ribbonPanel1";
this.ribbonPanel1.Text = "";
//
// ribbonButtonApproved
//
this.ribbonButtonApproved.Image = global::OnDoc.Properties.Resources.Approval_OK_32x32_32;
this.ribbonButtonApproved.LargeImage = global::OnDoc.Properties.Resources.Approval_OK_32x32_32;
this.ribbonButtonApproved.Name = "ribbonButtonApproved";
this.ribbonButtonApproved.SmallImage = global::OnDoc.Properties.Resources.Approval_OK_24x24_32;
this.ribbonButtonApproved.Text = "Bewilligt";
//
// ribbonButtonNotApproved
//
this.ribbonButtonNotApproved.Image = global::OnDoc.Properties.Resources.Approval_NOK_32x32_32;
this.ribbonButtonNotApproved.LargeImage = global::OnDoc.Properties.Resources.Approval_NOK_32x32_32;
this.ribbonButtonNotApproved.Name = "ribbonButtonNotApproved";
this.ribbonButtonNotApproved.SmallImage = global::OnDoc.Properties.Resources.Approval_NOK_24x24_32;
this.ribbonButtonNotApproved.Text = "Abgelehnt";
//
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
this.panel1.Location = new System.Drawing.Point(741, 86);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(10, 790);
this.panel1.TabIndex = 4;
//
// Approval
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.splitContainer1);
this.Name = "Approval";
this.Size = new System.Drawing.Size(1629, 876);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).EndInit();
this.grpDetails.ResumeLayout(false);
this.grpDetails.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.GroupBox groupBox1;
private Syncfusion.Windows.Forms.Tools.TreeViewAdv treeViewAdv1;
private System.Windows.Forms.RibbonTab ribbonTab1;
private DocPreview docPreview1;
private System.Windows.Forms.Ribbon ribbon3;
private System.Windows.Forms.RibbonPanel ribbonPanel1;
private System.Windows.Forms.RibbonButton ribbonButtonApproved;
private System.Windows.Forms.RibbonButton ribbonButtonNotApproved;
private System.Windows.Forms.GroupBox grpDetails;
private System.Windows.Forms.Label label4;
private Syncfusion.WinForms.ListView.SfListView sfListView1;
private System.Windows.Forms.TextBox txtVerantwortlich;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtmutiertam;
private System.Windows.Forms.TextBox txtmutierer;
private System.Windows.Forms.TextBox txtersteller;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txterstelltam;
private System.Windows.Forms.Label Erstellung;
private System.Windows.Forms.TextBox txtPartner;
private System.Windows.Forms.TextBox txtPartnerNr;
private System.Windows.Forms.Label lblPartner;
private System.Windows.Forms.TextBox txtbezeichnung;
private System.Windows.Forms.Label Bezeichnung;
private System.Windows.Forms.TextBox txtdokumentid;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtNote;
private System.Windows.Forms.TextBox txtnotewriter;
private System.Windows.Forms.Panel panel1;
}
}

View File

@@ -0,0 +1,94 @@
using OnDoc.Klassen;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OnDoc.UIControls
{
public partial class Approval : UserControl
{
public Approval()
{
InitializeComponent();
}
private void treeViewAdv1_Click(object sender, EventArgs e)
{
try
{
}
catch { }
}
private System.Data.DataTable notes = new System.Data.DataTable();
private void AddNote(string datum, string betreff, string note, string ersteller )
{
DataRow dr = notes.NewRow();
dr[0] = datum + " / " + betreff;
dr[1] = note;
dr[2] = ersteller;
notes.Rows.Add(dr);
}
private void treeViewAdv1_NodeMouseClick(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvMouseClickEventArgs e)
{
notes.Rows.Clear(); ;
notes.Columns.Clear();
notes.AcceptChanges();
notes.Columns.Add("Betreff");
notes.Columns.Add("Note");
notes.Columns.Add("Notewriter");
this.docPreview1.Show_Doc(e.Node.Tag as string);
Database.DB db = new Database.DB(AppParams.connectionstring);
db.Get_Tabledata("Select * from View_Relaunach_Approval_Doc where dokumentid='" + e.Node.Tag as string+"'", false, true);
this.txtdokumentid.Text = db.dsdaten.Tables[0].Rows[0]["Dokumentid"].ToString();
this.txtbezeichnung.Text = db.dsdaten.Tables[0].Rows[0]["bezeichnung"].ToString();
this.txtPartnerNr.Text = db.dsdaten.Tables[0].Rows[0]["nrpar00"].ToString();
this.txtPartner.Text = db.dsdaten.Tables[0].Rows[0]["bkpar00"].ToString();
this.txterstelltam.Text = db.dsdaten.Tables[0].Rows[0]["erstelltam"].ToString();
this.txtersteller.Text = db.dsdaten.Tables[0].Rows[0]["ersteller"].ToString();
this.txtmutiertam.Text = db.dsdaten.Tables[0].Rows[0]["mutiertam"].ToString();
this.txtmutierer.Text = db.dsdaten.Tables[0].Rows[0]["mutierer"].ToString();
this.txtVerantwortlich.Text = db.dsdaten.Tables[0].Rows[0]["verantwortlich"].ToString();
foreach(DataRow dr in db.dsdaten.Tables[0].Rows)
{
try
{
if (Convert.ToBoolean(dr["aktiv"]))
{
AddNote(dr["erstellt_am"].ToString(), dr["betreff"].ToString(), dr["note"].ToString(), dr["Notizersteller"].ToString());
}
}
catch { }
}
sfListView1.DataSource = notes;
sfListView1.DisplayMember = "Betreff";
sfListView1.ValueMember = "note";
}
private void sfListView1_ToolTipOpened(object sender, Syncfusion.WinForms.ListView.Events.ToolTipOpenedEventArgs e)
{
}
private void sfListView1_ToolTipOpening(object sender, Syncfusion.WinForms.ListView.Events.ToolTipOpeningEventArgs e)
{
var dataRow = (e.ItemData as DataRowView).Row;
this.txtNote.Text = dataRow["note"].ToString();
this.txtnotewriter.Text= dataRow["notewriter"].ToString();
}
}
}

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -76,6 +76,7 @@
this.pdfViewerControl1.VerticalScrollOffset = 0;
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Office2016DarkGray;
this.pdfViewerControl1.ZoomMode = Syncfusion.Windows.Forms.PdfViewer.ZoomMode.Default;
this.pdfViewerControl1.Click += new System.EventHandler(this.pdfViewerControl1_Click);
//
// pnlEdit
//

View File

@@ -118,5 +118,10 @@ namespace OnDoc.UIControls
return dok;
}
private void pdfViewerControl1_Click(object sender, EventArgs e)
{
}
}
}

View File

@@ -49,6 +49,7 @@
this.tsbtnpreviewbottom = new System.Windows.Forms.ToolStripButton();
this.tsbtnpreviewright = new System.Windows.Forms.ToolStripButton();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.docPreview1 = new OnDoc.UIControls.DocPreview();
this.panel2 = new System.Windows.Forms.Panel();
this.lblTitel = new System.Windows.Forms.Label();
this.ribbonPanel2 = new System.Windows.Forms.RibbonPanel();
@@ -63,9 +64,13 @@
this.RibbonBtnVorschauSepparat = new System.Windows.Forms.RibbonButton();
this.RibbonPanelBearbeiten = new System.Windows.Forms.RibbonPanel();
this.RibbonButtonNewDoc = new System.Windows.Forms.RibbonButton();
this.RibbonButtonFavoriten = new System.Windows.Forms.RibbonButton();
this.RibbonButtonEditEditDoc = new System.Windows.Forms.RibbonButton();
this.RibbonButtonEditDelete = new System.Windows.Forms.RibbonButton();
this.RibbonButtonZuweisen = new System.Windows.Forms.RibbonButton();
this.ribbonButtonToApproval = new System.Windows.Forms.RibbonButton();
this.RibbonPannelAproval = new System.Windows.Forms.RibbonPanel();
this.ribbonButtonApproval = new System.Windows.Forms.RibbonButton();
this.RibbonPanelArchiv = new System.Windows.Forms.RibbonPanel();
this.RibbonButtonArchivToOnBase = new System.Windows.Forms.RibbonButton();
this.ribbonButtonVersandstrasse = new System.Windows.Forms.RibbonButton();
@@ -102,8 +107,7 @@
this.RibbonButtonBerechtigungsgruppe = new System.Windows.Forms.RibbonButton();
this.pdfConfig1 = new Syncfusion.Pdf.PdfConfig();
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
this.RibbonButtonFavoriten = new System.Windows.Forms.RibbonButton();
this.docPreview1 = new OnDoc.UIControls.DocPreview();
this.labelToApprove = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
this.ctxMenuDokList.SuspendLayout();
this.toolStrip1.SuspendLayout();
@@ -127,7 +131,7 @@
this.sfDataGrid1.Name = "sfDataGrid1";
this.sfDataGrid1.SelectionMode = Syncfusion.WinForms.DataGrid.Enums.GridSelectionMode.Extended;
this.sfDataGrid1.ShowGroupDropArea = true;
this.sfDataGrid1.Size = new System.Drawing.Size(1556, 343);
this.sfDataGrid1.Size = new System.Drawing.Size(1709, 343);
this.sfDataGrid1.TabIndex = 0;
this.sfDataGrid1.DrawCell += new Syncfusion.WinForms.DataGrid.Events.DrawCellEventHandler(this.sfDataGrid1_DrawCell);
this.sfDataGrid1.CellClick += new Syncfusion.WinForms.DataGrid.Events.CellClickEventHandler(this.sfDataGrid1_CellClick);
@@ -305,10 +309,19 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.docPreview1);
this.splitContainer1.Size = new System.Drawing.Size(1556, 694);
this.splitContainer1.Size = new System.Drawing.Size(1709, 694);
this.splitContainer1.SplitterDistance = 343;
this.splitContainer1.TabIndex = 2;
//
// docPreview1
//
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.docPreview1.Location = new System.Drawing.Point(0, 0);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(1709, 347);
this.docPreview1.TabIndex = 0;
//
// panel2
//
this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
@@ -317,7 +330,7 @@
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
this.panel2.Location = new System.Drawing.Point(0, 131);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(1556, 22);
this.panel2.Size = new System.Drawing.Size(1709, 22);
this.panel2.TabIndex = 3;
//
// lblTitel
@@ -327,7 +340,7 @@
this.lblTitel.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblTitel.Location = new System.Drawing.Point(0, 0);
this.lblTitel.Name = "lblTitel";
this.lblTitel.Size = new System.Drawing.Size(1556, 22);
this.lblTitel.Size = new System.Drawing.Size(1709, 22);
this.lblTitel.TabIndex = 2;
this.lblTitel.Text = "Pendente Dokumente";
this.lblTitel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -359,13 +372,12 @@
this.ribbon2.OrbText = "";
this.ribbon2.OrbVisible = false;
this.ribbon2.RibbonTabFont = new System.Drawing.Font("Trebuchet MS", 9F);
this.ribbon2.Size = new System.Drawing.Size(1556, 131);
this.ribbon2.Size = new System.Drawing.Size(1709, 131);
this.ribbon2.TabIndex = 5;
this.ribbon2.Tabs.Add(this.RibbonTabUserFunctions);
this.ribbon2.Tabs.Add(this.RibbonTabAdmin);
this.ribbon2.TabSpacing = 4;
this.ribbon2.Text = "ribbon2";
this.ribbon2.Click += new System.EventHandler(this.ribbon2_Click);
//
// RibbonTabUserFunctions
//
@@ -373,6 +385,7 @@
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelExit);
this.RibbonTabUserFunctions.Panels.Add(this.ribbonPanelVorschau);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelBearbeiten);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPannelAproval);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelArchiv);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelProfil);
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelCreate);
@@ -455,6 +468,7 @@
this.RibbonPanelBearbeiten.Items.Add(this.RibbonButtonEditEditDoc);
this.RibbonPanelBearbeiten.Items.Add(this.RibbonButtonEditDelete);
this.RibbonPanelBearbeiten.Items.Add(this.RibbonButtonZuweisen);
this.RibbonPanelBearbeiten.Items.Add(this.ribbonButtonToApproval);
this.RibbonPanelBearbeiten.Name = "RibbonPanelBearbeiten";
this.RibbonPanelBearbeiten.Text = "Dokument";
//
@@ -467,6 +481,15 @@
this.RibbonButtonNewDoc.Text = "Neu";
this.RibbonButtonNewDoc.Click += new System.EventHandler(this.RibbonButtonNewDoc_Click);
//
// RibbonButtonFavoriten
//
this.RibbonButtonFavoriten.Image = global::OnDoc.Properties.Resources.Favoriten_32x32_32;
this.RibbonButtonFavoriten.LargeImage = global::OnDoc.Properties.Resources.Favoriten_32x32_32;
this.RibbonButtonFavoriten.Name = "RibbonButtonFavoriten";
this.RibbonButtonFavoriten.SmallImage = global::OnDoc.Properties.Resources.Favoriten_24x24_32;
this.RibbonButtonFavoriten.Text = "Neu Favorit";
this.RibbonButtonFavoriten.Click += new System.EventHandler(this.RibbonButtonFavoriten_Click);
//
// RibbonButtonEditEditDoc
//
this.RibbonButtonEditEditDoc.Image = global::OnDoc.Properties.Resources.EditDoc_32x32_32;
@@ -494,6 +517,31 @@
this.RibbonButtonZuweisen.Text = "Zuweisen";
this.RibbonButtonZuweisen.Click += new System.EventHandler(this.RibbonButtonZuweisen_Click);
//
// ribbonButtonToApproval
//
this.ribbonButtonToApproval.Image = global::OnDoc.Properties.Resources.Approval_32x32_32;
this.ribbonButtonToApproval.LargeImage = global::OnDoc.Properties.Resources.Approval_32x32_32;
this.ribbonButtonToApproval.Name = "ribbonButtonToApproval";
this.ribbonButtonToApproval.SmallImage = global::OnDoc.Properties.Resources.Approval_24x24_32;
this.ribbonButtonToApproval.Text = "zur Bewilligung";
this.ribbonButtonToApproval.Click += new System.EventHandler(this.ribbonButtonToApproval_Click);
//
// RibbonPannelAproval
//
this.RibbonPannelAproval.ButtonMoreVisible = false;
this.RibbonPannelAproval.Items.Add(this.ribbonButtonApproval);
this.RibbonPannelAproval.Name = "RibbonPannelAproval";
this.RibbonPannelAproval.Text = "";
//
// ribbonButtonApproval
//
this.ribbonButtonApproval.Image = global::OnDoc.Properties.Resources.Approval_32x32_32;
this.ribbonButtonApproval.LargeImage = global::OnDoc.Properties.Resources.Approval_32x32_32;
this.ribbonButtonApproval.Name = "ribbonButtonApproval";
this.ribbonButtonApproval.SmallImage = global::OnDoc.Properties.Resources.Approval_24x24_32;
this.ribbonButtonApproval.Text = "Bewilligen";
this.ribbonButtonApproval.Click += new System.EventHandler(this.ribbonButtonApproval_Click);
//
// RibbonPanelArchiv
//
this.RibbonPanelArchiv.ButtonMoreVisible = false;
@@ -773,33 +821,27 @@
this.RibbonButtonCreateNewDoc.Text = "Dokument";
this.RibbonButtonCreateNewDoc.Click += new System.EventHandler(this.RibbonButtonCreateNewDoc_Click);
//
// RibbonButtonFavoriten
// labelToApprove
//
this.RibbonButtonFavoriten.Image = global::OnDoc.Properties.Resources.Favoriten_32x32_32;
this.RibbonButtonFavoriten.LargeImage = global::OnDoc.Properties.Resources.Favoriten_32x32_32;
this.RibbonButtonFavoriten.Name = "RibbonButtonFavoriten";
this.RibbonButtonFavoriten.SmallImage = global::OnDoc.Properties.Resources.Favoriten_24x24_32;
this.RibbonButtonFavoriten.Text = "Neu Favorit";
this.RibbonButtonFavoriten.Click += new System.EventHandler(this.RibbonButtonFavoriten_Click);
//
// docPreview1
//
this.docPreview1.BackColor = System.Drawing.SystemColors.Control;
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
this.docPreview1.Location = new System.Drawing.Point(0, 0);
this.docPreview1.Name = "docPreview1";
this.docPreview1.Size = new System.Drawing.Size(1556, 347);
this.docPreview1.TabIndex = 0;
this.labelToApprove.AutoSize = true;
this.labelToApprove.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelToApprove.ForeColor = System.Drawing.Color.Red;
this.labelToApprove.Location = new System.Drawing.Point(615, 90);
this.labelToApprove.Name = "labelToApprove";
this.labelToApprove.Size = new System.Drawing.Size(17, 18);
this.labelToApprove.TabIndex = 6;
this.labelToApprove.Text = "1";
//
// DokList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.labelToApprove);
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.ribbon2);
this.Name = "DokList";
this.Size = new System.Drawing.Size(1556, 847);
this.Size = new System.Drawing.Size(1709, 847);
this.Load += new System.EventHandler(this.DokList_Load);
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
this.ctxMenuDokList.ResumeLayout(false);
@@ -812,6 +854,7 @@
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -891,5 +934,9 @@
private System.Windows.Forms.ToolStripMenuItem dokumentAnVersandstrasseToolStripMenuItem;
private System.Windows.Forms.RibbonButton ribbonButtonVersandstrasse;
private System.Windows.Forms.RibbonButton RibbonButtonFavoriten;
private System.Windows.Forms.RibbonPanel RibbonPannelAproval;
private System.Windows.Forms.RibbonButton ribbonButtonApproval;
private System.Windows.Forms.Label labelToApprove;
private System.Windows.Forms.RibbonButton ribbonButtonToApproval;
}
}

View File

@@ -48,7 +48,7 @@ namespace OnDoc.UICintrols
{
public int partnernr { get; set; } = 0;
public int forMaNr { get; set; } = 0;
public int docartnr { get; set; }
public int docartnr { get; set; }
public int profilnr { get; set; }
public int mitarbeiternr { get; set; }
@@ -427,7 +427,7 @@ namespace OnDoc.UICintrols
if (dokumenttypnr == 0)
{
DokTypSelect DokTypSelect = new DokTypSelect(Favoriten);
DokTypSelect.vorlagentype = 0;
DokTypSelect.vorlagentype = 1;
DokTypSelect.ShowDialog(this);
if (DokTypSelect.DialogResult == DialogResult.OK)
{
@@ -551,10 +551,7 @@ namespace OnDoc.UICintrols
createnewdoc(0, 0);
}
private void ribbon2_Click(object sender, EventArgs e)
{
}
public void hide_panels()
{
this.RibbonPanelExit.Visible = false;
@@ -568,7 +565,8 @@ namespace OnDoc.UICintrols
this.RibbonPanelDoklist.Visible=false;
this.RibbonBtnVorschauNo.Visible = false;
this.RibbonButtonVorschauRechts.Visible=false;
this.RibbonBtnVorschauUnten.Visible=false;
this.RibbonBtnVorschauUnten.Visible=false
;
}
private void sfDataGrid1_DrawCell(object sender, DrawCellEventArgs e)
@@ -762,5 +760,17 @@ namespace OnDoc.UICintrols
{
createnewdoc(0, 0, true);
}
private void ribbonButtonApproval_Click(object sender, EventArgs e)
{
frmBewilligung bw = new frmBewilligung();
bw.Show();
}
private void ribbonButtonToApproval_Click(object sender, EventArgs e)
{
frmToApproval fa = new frmToApproval();
fa.ShowDialog();
}
}
}