update3 20260610
This commit is contained in:
@@ -87,6 +87,12 @@
|
||||
<Compile Include="Form2.Designer.cs">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Form3.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form3.Designer.cs">
|
||||
<DependentUpon>Form3.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
@@ -95,6 +101,9 @@
|
||||
<EmbeddedResource Include="Form2.resx">
|
||||
<DependentUpon>Form2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Form3.resx">
|
||||
<DependentUpon>Form3.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<value>x:\jsonfiles\</value>
|
||||
</setting>
|
||||
<setting name="Testumgebung" serializeAs="String">
|
||||
<value>Fachuserx</value>
|
||||
<value>Single</value>
|
||||
</setting>
|
||||
<setting name="ConnectionStringPrd" serializeAs="String">
|
||||
<value>data source=shu01\shu00;initial catalog=edoka_dms;packet size=4096;user id=sa;password=*shu29</value>
|
||||
|
||||
Generated
+110
-75
@@ -106,7 +106,7 @@
|
||||
this.toolStripButton3});
|
||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.toolStrip1.Name = "toolStrip1";
|
||||
this.toolStrip1.Size = new System.Drawing.Size(1724, 216);
|
||||
this.toolStrip1.Size = new System.Drawing.Size(2299, 266);
|
||||
this.toolStrip1.TabIndex = 0;
|
||||
this.toolStrip1.Text = "toolStrip1";
|
||||
this.toolStrip1.Visible = false;
|
||||
@@ -115,29 +115,29 @@
|
||||
//
|
||||
this.toolStripLabel1.Font = new System.Drawing.Font("Segoe UI", 13F);
|
||||
this.toolStripLabel1.Name = "toolStripLabel1";
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(40, 213);
|
||||
this.toolStripLabel1.Size = new System.Drawing.Size(49, 263);
|
||||
this.toolStripLabel1.Text = "Key";
|
||||
//
|
||||
// txtKey
|
||||
//
|
||||
this.txtKey.Font = new System.Drawing.Font("Segoe UI", 13F);
|
||||
this.txtKey.Name = "txtKey";
|
||||
this.txtKey.Size = new System.Drawing.Size(250, 216);
|
||||
this.txtKey.Size = new System.Drawing.Size(332, 266);
|
||||
//
|
||||
// toolStripSeparator1
|
||||
//
|
||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 216);
|
||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 266);
|
||||
//
|
||||
// toolStripSeparator4
|
||||
//
|
||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 216);
|
||||
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 266);
|
||||
//
|
||||
// toolStripComboBox1
|
||||
//
|
||||
this.toolStripComboBox1.Name = "toolStripComboBox1";
|
||||
this.toolStripComboBox1.Size = new System.Drawing.Size(150, 216);
|
||||
this.toolStripComboBox1.Size = new System.Drawing.Size(199, 266);
|
||||
this.toolStripComboBox1.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged);
|
||||
//
|
||||
// toolStripButton1
|
||||
@@ -147,14 +147,14 @@
|
||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton1.Name = "toolStripButton1";
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(63, 213);
|
||||
this.toolStripButton1.Size = new System.Drawing.Size(75, 263);
|
||||
this.toolStripButton1.Text = "Laden";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// toolStripSeparator2
|
||||
//
|
||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 216);
|
||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 266);
|
||||
//
|
||||
// toolStripButton4
|
||||
//
|
||||
@@ -163,7 +163,7 @@
|
||||
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
|
||||
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton4.Name = "toolStripButton4";
|
||||
this.toolStripButton4.Size = new System.Drawing.Size(93, 213);
|
||||
this.toolStripButton4.Size = new System.Drawing.Size(112, 263);
|
||||
this.toolStripButton4.Text = "FileExport";
|
||||
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
|
||||
//
|
||||
@@ -174,14 +174,14 @@
|
||||
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(93, 213);
|
||||
this.toolStripButton2.Size = new System.Drawing.Size(113, 263);
|
||||
this.toolStripButton2.Text = "Speichern";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// toolStripSeparator3
|
||||
//
|
||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 216);
|
||||
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 266);
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
@@ -190,14 +190,15 @@
|
||||
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
|
||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton3.Name = "toolStripButton3";
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(118, 213);
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(143, 263);
|
||||
this.toolStripButton3.Text = "PDF erstellen";
|
||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 170);
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 209);
|
||||
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
@@ -207,8 +208,9 @@
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.pdfViewerControl1);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1724, 718);
|
||||
this.splitContainer1.SplitterDistance = 574;
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1924, 846);
|
||||
this.splitContainer1.SplitterDistance = 640;
|
||||
this.splitContainer1.SplitterWidth = 5;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// editControl1
|
||||
@@ -226,21 +228,22 @@
|
||||
this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
|
||||
this.editControl1.LineNumbersColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
|
||||
this.editControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.editControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.editControl1.MarkerAreaWidth = 20;
|
||||
this.editControl1.Name = "editControl1";
|
||||
this.editControl1.RenderRightToLeft = false;
|
||||
this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0);
|
||||
this.editControl1.SelectionTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
|
||||
this.editControl1.ShowEndOfLine = false;
|
||||
this.editControl1.Size = new System.Drawing.Size(574, 718);
|
||||
this.editControl1.StatusBarSettings.CoordsPanel.Width = 150;
|
||||
this.editControl1.StatusBarSettings.EncodingPanel.Width = 100;
|
||||
this.editControl1.StatusBarSettings.FileNamePanel.Width = 100;
|
||||
this.editControl1.StatusBarSettings.InsertPanel.Width = 33;
|
||||
this.editControl1.Size = new System.Drawing.Size(640, 846);
|
||||
this.editControl1.StatusBarSettings.CoordsPanel.Width = 199;
|
||||
this.editControl1.StatusBarSettings.EncodingPanel.Width = 133;
|
||||
this.editControl1.StatusBarSettings.FileNamePanel.Width = 133;
|
||||
this.editControl1.StatusBarSettings.InsertPanel.Width = 43;
|
||||
this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
|
||||
this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
|
||||
this.editControl1.StatusBarSettings.StatusPanel.Width = 70;
|
||||
this.editControl1.StatusBarSettings.TextPanel.Width = 214;
|
||||
this.editControl1.StatusBarSettings.StatusPanel.Width = 93;
|
||||
this.editControl1.StatusBarSettings.TextPanel.Width = 285;
|
||||
this.editControl1.StatusBarSettings.VisualStyle = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
|
||||
this.editControl1.TabIndex = 0;
|
||||
this.editControl1.Text = "";
|
||||
@@ -260,6 +263,7 @@
|
||||
this.pdfViewerControl1.IsTextSearchEnabled = true;
|
||||
this.pdfViewerControl1.IsTextSelectionEnabled = true;
|
||||
this.pdfViewerControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.pdfViewerControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
messageBoxSettings1.EnableNotification = true;
|
||||
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings1;
|
||||
this.pdfViewerControl1.MinimumZoomPercentage = 50;
|
||||
@@ -276,7 +280,7 @@
|
||||
this.pdfViewerControl1.ShowHorizontalScrollBar = true;
|
||||
this.pdfViewerControl1.ShowToolBar = true;
|
||||
this.pdfViewerControl1.ShowVerticalScrollBar = true;
|
||||
this.pdfViewerControl1.Size = new System.Drawing.Size(1146, 718);
|
||||
this.pdfViewerControl1.Size = new System.Drawing.Size(1279, 846);
|
||||
this.pdfViewerControl1.SpaceBetweenPages = 8;
|
||||
this.pdfViewerControl1.TabIndex = 0;
|
||||
this.pdfViewerControl1.Text = "pdfViewerControl1";
|
||||
@@ -295,8 +299,9 @@
|
||||
this.panel1.Controls.Add(this.groupBox1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1724, 170);
|
||||
this.panel1.Size = new System.Drawing.Size(1924, 209);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// groupBox2
|
||||
@@ -312,9 +317,11 @@
|
||||
this.groupBox2.Controls.Add(this.txtfilekey);
|
||||
this.groupBox2.Controls.Add(this.label3);
|
||||
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox2.Location = new System.Drawing.Point(319, 0);
|
||||
this.groupBox2.Location = new System.Drawing.Point(425, 0);
|
||||
this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(1225, 170);
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBox2.Size = new System.Drawing.Size(1633, 209);
|
||||
this.groupBox2.TabIndex = 1;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Datei";
|
||||
@@ -323,9 +330,11 @@
|
||||
//
|
||||
this.groupBox3.Controls.Add(this.radioButton2);
|
||||
this.groupBox3.Controls.Add(this.radioButton1);
|
||||
this.groupBox3.Location = new System.Drawing.Point(12, 20);
|
||||
this.groupBox3.Location = new System.Drawing.Point(16, 25);
|
||||
this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBox3.Name = "groupBox3";
|
||||
this.groupBox3.Size = new System.Drawing.Size(308, 52);
|
||||
this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBox3.Size = new System.Drawing.Size(411, 64);
|
||||
this.groupBox3.TabIndex = 17;
|
||||
this.groupBox3.TabStop = false;
|
||||
this.groupBox3.Text = "Quelle";
|
||||
@@ -333,9 +342,10 @@
|
||||
// radioButton2
|
||||
//
|
||||
this.radioButton2.AutoSize = true;
|
||||
this.radioButton2.Location = new System.Drawing.Point(111, 20);
|
||||
this.radioButton2.Location = new System.Drawing.Point(148, 25);
|
||||
this.radioButton2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.radioButton2.Name = "radioButton2";
|
||||
this.radioButton2.Size = new System.Drawing.Size(76, 17);
|
||||
this.radioButton2.Size = new System.Drawing.Size(92, 20);
|
||||
this.radioButton2.TabIndex = 1;
|
||||
this.radioButton2.Text = "Produktion";
|
||||
this.radioButton2.UseVisualStyleBackColor = true;
|
||||
@@ -344,9 +354,10 @@
|
||||
//
|
||||
this.radioButton1.AutoSize = true;
|
||||
this.radioButton1.Checked = true;
|
||||
this.radioButton1.Location = new System.Drawing.Point(6, 20);
|
||||
this.radioButton1.Location = new System.Drawing.Point(8, 25);
|
||||
this.radioButton1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.radioButton1.Name = "radioButton1";
|
||||
this.radioButton1.Size = new System.Drawing.Size(75, 17);
|
||||
this.radioButton1.Size = new System.Drawing.Size(90, 20);
|
||||
this.radioButton1.TabIndex = 0;
|
||||
this.radioButton1.TabStop = true;
|
||||
this.radioButton1.Text = "Integration";
|
||||
@@ -358,78 +369,87 @@
|
||||
this.panel2.Controls.Add(this.label9);
|
||||
this.panel2.Controls.Add(this.label7);
|
||||
this.panel2.Controls.Add(this.label8);
|
||||
this.panel2.Location = new System.Drawing.Point(998, 92);
|
||||
this.panel2.Location = new System.Drawing.Point(1331, 113);
|
||||
this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(200, 72);
|
||||
this.panel2.Size = new System.Drawing.Size(267, 89);
|
||||
this.panel2.TabIndex = 16;
|
||||
this.panel2.Visible = false;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(14, 8);
|
||||
this.label6.Location = new System.Drawing.Point(19, 10);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(46, 13);
|
||||
this.label6.Size = new System.Drawing.Size(56, 16);
|
||||
this.label6.TabIndex = 12;
|
||||
this.label6.Text = "Quellen:";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(14, 34);
|
||||
this.label9.Location = new System.Drawing.Point(19, 42);
|
||||
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(157, 13);
|
||||
this.label9.Size = new System.Drawing.Size(198, 16);
|
||||
this.label9.TabIndex = 15;
|
||||
this.label9.Text = "- Ondoc_Versandstrasse_Paket";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(14, 21);
|
||||
this.label7.Location = new System.Drawing.Point(19, 26);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(120, 13);
|
||||
this.label7.Size = new System.Drawing.Size(148, 16);
|
||||
this.label7.TabIndex = 13;
|
||||
this.label7.Text = "- ProvDokuments (CLM)";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(14, 48);
|
||||
this.label8.Location = new System.Drawing.Point(19, 59);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(138, 13);
|
||||
this.label8.Size = new System.Drawing.Size(169, 16);
|
||||
this.label8.TabIndex = 14;
|
||||
this.label8.Text = "- _OnDoc_API_TestScripts ";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(578, 33);
|
||||
this.label5.Location = new System.Drawing.Point(771, 41);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(105, 13);
|
||||
this.label5.Size = new System.Drawing.Size(131, 16);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "Vorhandene Dateien";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(17, 98);
|
||||
this.label4.Location = new System.Drawing.Point(23, 121);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(58, 13);
|
||||
this.label4.Size = new System.Drawing.Size(73, 16);
|
||||
this.label4.TabIndex = 10;
|
||||
this.label4.Text = "Dateiname";
|
||||
//
|
||||
// txtfilename
|
||||
//
|
||||
this.txtfilename.Location = new System.Drawing.Point(110, 95);
|
||||
this.txtfilename.Location = new System.Drawing.Point(147, 117);
|
||||
this.txtfilename.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.txtfilename.Name = "txtfilename";
|
||||
this.txtfilename.Size = new System.Drawing.Size(377, 20);
|
||||
this.txtfilename.Size = new System.Drawing.Size(501, 22);
|
||||
this.txtfilename.TabIndex = 9;
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(977, 30);
|
||||
this.button5.Location = new System.Drawing.Point(1303, 37);
|
||||
this.button5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(131, 23);
|
||||
this.button5.Size = new System.Drawing.Size(175, 28);
|
||||
this.button5.TabIndex = 8;
|
||||
this.button5.Text = "PDF generieren";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
@@ -438,16 +458,19 @@
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(715, 33);
|
||||
this.listBox1.ItemHeight = 16;
|
||||
this.listBox1.Location = new System.Drawing.Point(953, 41);
|
||||
this.listBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.listBox1.Name = "listBox1";
|
||||
this.listBox1.Size = new System.Drawing.Size(235, 121);
|
||||
this.listBox1.Size = new System.Drawing.Size(312, 148);
|
||||
this.listBox1.TabIndex = 7;
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(110, 129);
|
||||
this.button3.Location = new System.Drawing.Point(147, 159);
|
||||
this.button3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(108, 23);
|
||||
this.button3.Size = new System.Drawing.Size(144, 28);
|
||||
this.button3.TabIndex = 6;
|
||||
this.button3.Text = "Datei-Export";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
@@ -455,17 +478,19 @@
|
||||
//
|
||||
// txtfilekey
|
||||
//
|
||||
this.txtfilekey.Location = new System.Drawing.Point(110, 72);
|
||||
this.txtfilekey.Location = new System.Drawing.Point(147, 89);
|
||||
this.txtfilekey.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.txtfilekey.Name = "txtfilekey";
|
||||
this.txtfilekey.Size = new System.Drawing.Size(377, 20);
|
||||
this.txtfilekey.Size = new System.Drawing.Size(501, 22);
|
||||
this.txtfilekey.TabIndex = 3;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(16, 75);
|
||||
this.label3.Location = new System.Drawing.Point(21, 92);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(76, 13);
|
||||
this.label3.Size = new System.Drawing.Size(96, 16);
|
||||
this.label3.TabIndex = 2;
|
||||
this.label3.Text = "ESS-Schlüssel";
|
||||
this.label3.Click += new System.EventHandler(this.label3_Click);
|
||||
@@ -481,17 +506,20 @@
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(319, 170);
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.groupBox1.Size = new System.Drawing.Size(425, 209);
|
||||
this.groupBox1.TabIndex = 0;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Datenbank";
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(91, 131);
|
||||
this.button4.Location = new System.Drawing.Point(121, 161);
|
||||
this.button4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(131, 23);
|
||||
this.button4.Size = new System.Drawing.Size(175, 28);
|
||||
this.button4.TabIndex = 7;
|
||||
this.button4.Text = "PDF generieren";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
@@ -499,9 +527,10 @@
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(228, 91);
|
||||
this.button2.Location = new System.Drawing.Point(304, 112);
|
||||
this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.Size = new System.Drawing.Size(100, 28);
|
||||
this.button2.TabIndex = 5;
|
||||
this.button2.Text = "Speichern";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
@@ -509,9 +538,10 @@
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(12, 91);
|
||||
this.button1.Location = new System.Drawing.Point(16, 112);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.Size = new System.Drawing.Size(100, 28);
|
||||
this.button1.TabIndex = 4;
|
||||
this.button1.Text = "Laden";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
@@ -520,45 +550,50 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(12, 57);
|
||||
this.label2.Location = new System.Drawing.Point(16, 70);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(64, 13);
|
||||
this.label2.Size = new System.Drawing.Size(80, 16);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "Gespeichert";
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(91, 57);
|
||||
this.comboBox1.Location = new System.Drawing.Point(121, 70);
|
||||
this.comboBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(212, 21);
|
||||
this.comboBox1.Size = new System.Drawing.Size(281, 24);
|
||||
this.comboBox1.TabIndex = 2;
|
||||
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
//
|
||||
// txtdbkey
|
||||
//
|
||||
this.txtdbkey.Location = new System.Drawing.Point(91, 30);
|
||||
this.txtdbkey.Location = new System.Drawing.Point(121, 37);
|
||||
this.txtdbkey.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.txtdbkey.Name = "txtdbkey";
|
||||
this.txtdbkey.Size = new System.Drawing.Size(212, 20);
|
||||
this.txtdbkey.Size = new System.Drawing.Size(281, 22);
|
||||
this.txtdbkey.TabIndex = 1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 33);
|
||||
this.label1.Location = new System.Drawing.Point(16, 41);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(52, 13);
|
||||
this.label1.Size = new System.Drawing.Size(65, 16);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Schlüssel";
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1724, 888);
|
||||
this.ClientSize = new System.Drawing.Size(1924, 1055);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Controls.Add(this.toolStrip1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "Form1";
|
||||
this.Text = "OnDoc-API-DocTest";
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
|
||||
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
|
||||
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
|
||||
@@ -139,7 +139,7 @@
|
||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
|
||||
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
|
||||
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
|
||||
@@ -154,7 +154,7 @@
|
||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
|
||||
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
|
||||
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
|
||||
@@ -169,7 +169,7 @@
|
||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIFSURBVDhPpZLtS1NhGMbPPxJmmlYSgqHiKzGU1EDxg4iK
|
||||
YKyG2WBogqMYJQOtCEVRFBGdTBCJfRnkS4VaaWNT5sqx1BUxRXxDHYxAJLvkusEeBaPAB+5z4Jzn+t3X
|
||||
/aLhnEfjo8m+dCoa+7/C3O2Hqe0zDC+8KG+cRZHZhdzaaWTVTCLDMIY0vfM04Nfh77/G/sEhwpEDbO3t
|
||||
I7TxE8urEVy99fT/AL5gWDLrTB/hnF4XsW0khCu5ln8DmJliT2AXrcNBsU1gj/MH4nMeKwBrPktM28xM
|
||||
|
||||
Generated
+211
@@ -0,0 +1,211 @@
|
||||
namespace API_DocTest
|
||||
{
|
||||
partial class Form3
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings messageBoxSettings2 = new Syncfusion.Windows.Forms.PdfViewer.MessageBoxSettings();
|
||||
Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings pdfViewerPrinterSettings2 = new Syncfusion.Windows.PdfViewer.PdfViewerPrinterSettings();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form3));
|
||||
Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings textSearchSettings2 = new Syncfusion.Windows.Forms.PdfViewer.TextSearchSettings();
|
||||
Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config2 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
|
||||
this.pdfViewerControl1 = new Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pdfViewerControl1
|
||||
//
|
||||
this.pdfViewerControl1.CursorMode = Syncfusion.Windows.Forms.PdfViewer.PdfViewerCursorMode.SelectTool;
|
||||
this.pdfViewerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.pdfViewerControl1.EnableContextMenu = true;
|
||||
this.pdfViewerControl1.EnableNotificationBar = true;
|
||||
this.pdfViewerControl1.HorizontalScrollOffset = 0;
|
||||
this.pdfViewerControl1.IsBookmarkEnabled = true;
|
||||
this.pdfViewerControl1.IsTextSearchEnabled = true;
|
||||
this.pdfViewerControl1.IsTextSelectionEnabled = true;
|
||||
this.pdfViewerControl1.Location = new System.Drawing.Point(0, 0);
|
||||
messageBoxSettings2.EnableNotification = true;
|
||||
this.pdfViewerControl1.MessageBoxSettings = messageBoxSettings2;
|
||||
this.pdfViewerControl1.MinimumZoomPercentage = 50;
|
||||
this.pdfViewerControl1.Name = "pdfViewerControl1";
|
||||
this.pdfViewerControl1.PageBorderThickness = 1;
|
||||
pdfViewerPrinterSettings2.Copies = 1;
|
||||
pdfViewerPrinterSettings2.PageOrientation = Syncfusion.Windows.PdfViewer.PdfViewerPrintOrientation.Auto;
|
||||
pdfViewerPrinterSettings2.PageSize = Syncfusion.Windows.PdfViewer.PdfViewerPrintSize.ActualSize;
|
||||
pdfViewerPrinterSettings2.PrintLocation = ((System.Drawing.PointF)(resources.GetObject("pdfViewerPrinterSettings2.PrintLocation")));
|
||||
pdfViewerPrinterSettings2.ShowPrintStatusDialog = true;
|
||||
this.pdfViewerControl1.PrinterSettings = pdfViewerPrinterSettings2;
|
||||
this.pdfViewerControl1.ReferencePath = null;
|
||||
this.pdfViewerControl1.ScrollDisplacementValue = 0;
|
||||
this.pdfViewerControl1.ShowHorizontalScrollBar = true;
|
||||
this.pdfViewerControl1.ShowToolBar = true;
|
||||
this.pdfViewerControl1.ShowVerticalScrollBar = true;
|
||||
this.pdfViewerControl1.Size = new System.Drawing.Size(615, 770);
|
||||
this.pdfViewerControl1.SpaceBetweenPages = 8;
|
||||
this.pdfViewerControl1.TabIndex = 3;
|
||||
this.pdfViewerControl1.Text = "pdfViewerControl1";
|
||||
textSearchSettings2.CurrentInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(255)))), ((int)(((byte)(171)))), ((int)(((byte)(64)))));
|
||||
textSearchSettings2.HighlightAllInstance = true;
|
||||
textSearchSettings2.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
|
||||
this.pdfViewerControl1.TextSearchSettings = textSearchSettings2;
|
||||
this.pdfViewerControl1.ThemeName = "Default";
|
||||
this.pdfViewerControl1.VerticalScrollOffset = 0;
|
||||
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
|
||||
this.pdfViewerControl1.ZoomMode = Syncfusion.Windows.Forms.PdfViewer.ZoomMode.Default;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.editControl1);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(425, 770);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// editControl1
|
||||
//
|
||||
this.editControl1.AllowZoom = false;
|
||||
this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
|
||||
this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100);
|
||||
this.editControl1.Configurator = config2;
|
||||
this.editControl1.ContextChoiceBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||
this.editControl1.ContextChoiceBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(166)))), ((int)(((byte)(50)))));
|
||||
this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText;
|
||||
this.editControl1.ContextPromptBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
|
||||
this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236))))));
|
||||
this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
|
||||
this.editControl1.LineNumbersColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
|
||||
this.editControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.editControl1.MarkerAreaWidth = 20;
|
||||
this.editControl1.Name = "editControl1";
|
||||
this.editControl1.RenderRightToLeft = false;
|
||||
this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0);
|
||||
this.editControl1.SelectionTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
|
||||
this.editControl1.ShowEndOfLine = false;
|
||||
this.editControl1.Size = new System.Drawing.Size(425, 770);
|
||||
this.editControl1.StatusBarSettings.CoordsPanel.Width = 150;
|
||||
this.editControl1.StatusBarSettings.EncodingPanel.Width = 100;
|
||||
this.editControl1.StatusBarSettings.FileNamePanel.Width = 100;
|
||||
this.editControl1.StatusBarSettings.InsertPanel.Width = 33;
|
||||
this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
|
||||
this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
|
||||
this.editControl1.StatusBarSettings.StatusPanel.Width = 70;
|
||||
this.editControl1.StatusBarSettings.TextPanel.Width = 214;
|
||||
this.editControl1.StatusBarSettings.VisualStyle = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
|
||||
this.editControl1.TabIndex = 26;
|
||||
this.editControl1.Text = "";
|
||||
this.editControl1.UseXPStyleBorder = true;
|
||||
this.editControl1.VisualColumn = 1;
|
||||
this.editControl1.VScrollMode = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
|
||||
this.editControl1.ZoomFactor = 1F;
|
||||
//
|
||||
// splitContainer1
|
||||
//
|
||||
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.splitContainer1.Name = "splitContainer1";
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.panel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.panel2);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
this.splitContainer1.Panel2.Controls.Add(this.pdfViewerControl1);
|
||||
this.splitContainer1.Size = new System.Drawing.Size(1180, 770);
|
||||
this.splitContainer1.SplitterDistance = 562;
|
||||
this.splitContainer1.SplitterWidth = 3;
|
||||
this.splitContainer1.TabIndex = 4;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.button5);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.panel2.Location = new System.Drawing.Point(425, 0);
|
||||
this.panel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(137, 770);
|
||||
this.panel2.TabIndex = 26;
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button5.Image = global::API_DocTest.Properties.Resources.PDF_128;
|
||||
this.button5.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.button5.Location = new System.Drawing.Point(3, 3);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(131, 168);
|
||||
this.button5.TabIndex = 25;
|
||||
this.button5.Text = "PDF generieren";
|
||||
this.button5.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.button5_Click);
|
||||
//
|
||||
// Form3
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1180, 770);
|
||||
this.Controls.Add(this.splitContainer1);
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Name = "Form3";
|
||||
this.Text = "API-Test";
|
||||
this.panel1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
|
||||
this.splitContainer1.Panel1.ResumeLayout(false);
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl pdfViewerControl1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private Syncfusion.Windows.Forms.Edit.EditControl editControl1;
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Button button5;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using Syncfusion.Windows.Forms.PdfViewer;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace API_DocTest
|
||||
{
|
||||
public partial class Form3 : Form
|
||||
{
|
||||
|
||||
static readonly string ApiUrl = Properties.Settings.Default.DogGenURI;
|
||||
static readonly string token = Properties.Settings.Default.Token;
|
||||
public Form3()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public static byte[] Generate(string json)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
using (var client = new HttpClient())
|
||||
{
|
||||
// 🔐 Bearer Token
|
||||
|
||||
client.DefaultRequestHeaders.Accept.Clear();
|
||||
client.DefaultRequestHeaders.Accept.Add(
|
||||
new MediaTypeWithQualityHeaderValue("application/json"));
|
||||
client.DefaultRequestHeaders.Authorization =
|
||||
new AuthenticationHeaderValue("Bearer", token);
|
||||
|
||||
var content = new StringContent(
|
||||
json,
|
||||
Encoding.UTF8,
|
||||
"application/json");
|
||||
|
||||
var response = client.PostAsync(ApiUrl, content).Result;
|
||||
|
||||
var responseText = response.Content.ReadAsStringAsync().Result;
|
||||
|
||||
if (!response.IsSuccessStatusCode)
|
||||
{
|
||||
// optional: Logging
|
||||
return null;
|
||||
}
|
||||
|
||||
var jsonResult = JObject.Parse(responseText);
|
||||
|
||||
var base64Pdf = jsonResult["file"]?.ToString();
|
||||
|
||||
if (string.IsNullOrEmpty(base64Pdf))
|
||||
return null;
|
||||
|
||||
return Convert.FromBase64String(base64Pdf);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
// Logging
|
||||
return null;
|
||||
}
|
||||
}
|
||||
private void button5_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
byte[] byteArray = Generate(editControl1.Text);
|
||||
string temp_inBase64 = Convert.ToBase64String(byteArray);
|
||||
var stream = new MemoryStream(Convert.FromBase64String(temp_inBase64));
|
||||
if (stream.Length > 0)
|
||||
{
|
||||
this.pdfViewerControl1.Load(stream);
|
||||
this.pdfViewerControl1.Visible = true;
|
||||
pdfViewerControl1.ZoomMode = ZoomMode.FitWidth;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
catch (Exception ex) { MessageBox.Show("Fehler beim Generieren." + ex.Message, "Generieren", MessageBoxButtons.OK, MessageBoxIcon.Error); }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
<?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>
|
||||
<data name="pdfViewerPrinterSettings2.PrintLocation" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
|
||||
dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAABVTeXN0ZW0uRHJh
|
||||
d2luZy5Qb2ludEYCAAAAAXgBeQAACwsCAAAAAAAAAAAAAAAL
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
+13
-7
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Syncfusion.Windows.Forms.Edit;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
@@ -16,14 +17,19 @@ namespace API_DocTest
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
if (Properties.Settings.Default.Testumgebung == "Fachuser")
|
||||
switch (Properties.Settings.Default.Testumgebung)
|
||||
{
|
||||
Application.Run(new Form2());
|
||||
}
|
||||
else
|
||||
{
|
||||
Application.Run(new Form1());
|
||||
case "Fachuser":
|
||||
Application.Run(new Form2());
|
||||
break;
|
||||
case "Single":
|
||||
Application.Run(new Form3());
|
||||
break;
|
||||
default:
|
||||
Application.Run(new Form1());
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+13
-13
@@ -12,7 +12,7 @@ namespace API_DocTest.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "18.6.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
@@ -74,18 +74,6 @@ namespace API_DocTest.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Fachuserx")]
|
||||
public string Testumgebung {
|
||||
get {
|
||||
return ((string)(this["Testumgebung"]));
|
||||
}
|
||||
set {
|
||||
this["Testumgebung"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("data source=shu01\\shu00;initial catalog=edoka_dms;packet size=4096;user id=sa;pas" +
|
||||
@@ -110,5 +98,17 @@ namespace API_DocTest.Properties {
|
||||
this["PathUser"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Single")]
|
||||
public string Testumgebung {
|
||||
get {
|
||||
return ((string)(this["Testumgebung"]));
|
||||
}
|
||||
set {
|
||||
this["Testumgebung"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -23,7 +23,7 @@
|
||||
<value>x:\jsonfiles\</value>
|
||||
</setting>
|
||||
<setting name="Testumgebung" serializeAs="String">
|
||||
<value>Fachuserx</value>
|
||||
<value>Single</value>
|
||||
</setting>
|
||||
<setting name="ConnectionStringPrd" serializeAs="String">
|
||||
<value>data source=shu01\shu00;initial catalog=edoka_dms;packet size=4096;user id=sa;password=*shu29</value>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
aff5ac527537e1677016f4efe8675e73cf50d15b6bc774eab585aef2ff28072b
|
||||
9f629e504b8daa89c14e633e9b82208c1fa3a149ca1094d2e79a9b12cbb6bd5c
|
||||
|
||||
@@ -6,10 +6,11 @@ E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\bin\Debug\Syncfusion.Licensing.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\bin\Debug\Newtonsoft.Json.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.csproj.AssemblyReference.cache
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.Form1.resources
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.Form2.resources
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.Form3.resources
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.Properties.Resources.resources
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.csproj.GenerateResource.cache
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.csproj.CoreCompileInputs.cache
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocT.E6DB62E4.Up2Date
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.exe
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\API_DocTest\obj\Debug\API_DocTest.Form2.resources
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user