update 20241201
@@ -10,30 +10,39 @@
|
||||
</startup>
|
||||
<userSettings>
|
||||
<OnDoc.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="NativVorlagen" serializeAs="String">
|
||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="UseAPI" serializeAs="String">
|
||||
<value>NO</value>
|
||||
</setting>
|
||||
<setting name="apikey" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="StandardWordDruckMakro" serializeAs="String">
|
||||
<value>FilePrintDefault</value>
|
||||
</setting>
|
||||
<setting name="VBVorlagenmanagement" serializeAs="String">
|
||||
<value>Yes</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="NativVorlagen" serializeAs="String">
|
||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="apikey" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="BarcodeFont" serializeAs="String">
|
||||
<value>Arial</value>
|
||||
</setting>
|
||||
<setting name="BarcodeFontSize" serializeAs="String">
|
||||
<value>8</value>
|
||||
</setting>
|
||||
<setting name="BarodeTextPosition" serializeAs="String">
|
||||
<value>Below</value>
|
||||
</setting>
|
||||
</OnDoc.Properties.Settings>
|
||||
</userSettings>
|
||||
<runtime>
|
||||
|
||||
@@ -142,6 +142,12 @@
|
||||
<Compile Include="Diverses\NativVorlagen.Designer.cs">
|
||||
<DependentUpon>NativVorlagen.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Diverses\SaveAnsicht.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Diverses\SaveAnsicht.Designer.cs">
|
||||
<DependentUpon>SaveAnsicht.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Diverses\testx.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -360,6 +366,9 @@
|
||||
<EmbeddedResource Include="Diverses\NativVorlagen.resx">
|
||||
<DependentUpon>NativVorlagen.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Diverses\SaveAnsicht.resx">
|
||||
<DependentUpon>SaveAnsicht.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Diverses\testx.resx">
|
||||
<DependentUpon>testx.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
@@ -814,6 +823,16 @@
|
||||
<None Include="Resources\Printer_32x32-32.png" />
|
||||
<None Include="Resources\Printer_48x48-32.png" />
|
||||
<None Include="Resources\Printer_256x256-32.png" />
|
||||
<None Include="Resources\Barcode_16x16-32.png" />
|
||||
<None Include="Resources\Barcode_24x24-32.png" />
|
||||
<None Include="Resources\Barcode_32x32-32.png" />
|
||||
<None Include="Resources\Barcode_48x48-32.png" />
|
||||
<None Include="Resources\Barcode_256x256-32.png" />
|
||||
<None Include="Resources\Default_16x16-32.png" />
|
||||
<None Include="Resources\Default_24x24-32.png" />
|
||||
<None Include="Resources\Default_32x32-32.png" />
|
||||
<None Include="Resources\Default_48x48-32.png" />
|
||||
<None Include="Resources\Default_256x256-32.png" />
|
||||
<Content Include="SmartDocGen.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
121
Client/Diverses/SaveAnsicht.Designer.cs
generated
Normal file
@@ -0,0 +1,121 @@
|
||||
namespace OnDoc.Diverses
|
||||
{
|
||||
partial class SaveAnsicht
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(27, 29);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(69, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "Bezeichnung";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(102, 26);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(256, 20);
|
||||
this.textBox1.TabIndex = 1;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(30, 87);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 2;
|
||||
this.button1.Text = "Speichern";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(269, 89);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 3;
|
||||
this.button2.Text = "Abbruch";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(27, 60);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(67, 13);
|
||||
this.label2.TabIndex = 4;
|
||||
this.label2.Text = "Als Standard";
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(100, 60);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(15, 14);
|
||||
this.checkBox1.TabIndex = 5;
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// SaveAnsicht
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(374, 129);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "SaveAnsicht";
|
||||
this.Text = "Ansicht speichern";
|
||||
this.Load += new System.EventHandler(this.SaveAnsicht_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
}
|
||||
}
|
||||
41
Client/Diverses/SaveAnsicht.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
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.Diverses
|
||||
{
|
||||
public partial class SaveAnsicht : Form
|
||||
{
|
||||
public string selectedtext = "";
|
||||
public int alsStandard = 0;
|
||||
public SaveAnsicht()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void SaveAnsicht_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
selectedtext = textBox1.Text;
|
||||
if (checkBox1.Checked) { alsStandard = 1; }
|
||||
DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Client/Diverses/SaveAnsicht.resx
Normal 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>
|
||||
@@ -119,6 +119,20 @@ namespace OnDoc.DocMgmt
|
||||
dokdata.Dokumentid = dokumentid;
|
||||
ucAllgemeineDokumentParam1.genertated_dokumentid = dokumentid;
|
||||
this.dokumentid=dokdata.Dokumentid;
|
||||
if (dokdata.barcode_type == "1")
|
||||
{
|
||||
DB dB = new DB(AppParams.connectionstring);
|
||||
dB.clear_parameter();
|
||||
dB.add_parameter("@dokumentid", dokumentid);
|
||||
dB.add_parameter("@DokumentidBR", "");
|
||||
dB.add_parameter("@BARCODEFONTNAME", "");
|
||||
dB.add_parameter("@BARCODEFONTSIZE","");
|
||||
dB.add_parameter("@BarcodeKantenlaenge", "");
|
||||
dB.Get_Tabledata("sp_get_barcodetype_and_value", true, false);
|
||||
dokdata.barcode_content = dB.dsdaten.Tables[0].Rows[0][1].ToString();
|
||||
dB = null;
|
||||
}
|
||||
|
||||
Logging.DocLog.Info("Dokumenterstellung", "frmDokumenterstellung", dokumentid, ucAllgemeineDokumentParam1.partnernr.ToString(), "Dokumenterstellung");
|
||||
if (dokumentid != "")
|
||||
{
|
||||
|
||||
@@ -200,11 +200,24 @@ namespace OnDoc.DocMgmt
|
||||
string dokumentid = docgen.GenDocID(dokdata);
|
||||
dokdata.Dokumentid = dokumentid;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (dokumentid != "")
|
||||
{
|
||||
if (dokdata.barcode_type == "1")
|
||||
{
|
||||
DB dB = new DB(AppParams.connectionstring);
|
||||
dB.clear_parameter();
|
||||
dB.add_parameter("@dokumentid", dokumentid);
|
||||
dB.add_parameter("@DokumentidBR", "");
|
||||
dB.Get_Tabledata("sp_get_barcodetype_and_value", true, false);
|
||||
dokdata.barcode_content = dB.daten.Tables[0].Rows[0][1].ToString();
|
||||
dB = null;
|
||||
}
|
||||
DOCGEN.Generator.DocGenerator_from_EDOKA Generator = new DOCGEN.Generator.DocGenerator_from_EDOKA(AppParams.connectionstring, AppParams.tempdir, AppParams.RESTURI, AppParams.apikey);
|
||||
|
||||
clsdok dok = new clsdok("", "", "");
|
||||
dok = Generator.Generate_Doc_EDOKA(dokumentid, ref dokdata);
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ using Windows.Media.Ocr;
|
||||
using Windows.Perception.Spatial;
|
||||
using static Model.OnBaseDocUpload;
|
||||
using static BroadcastListener.Classes.Factory;
|
||||
using Microsoft.Office.Interop.Excel;
|
||||
|
||||
|
||||
namespace OnDoc.UIControls
|
||||
@@ -270,9 +271,10 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
DB dB = new DB(AppParams.connectionstring);
|
||||
//sb.dsempfaenger.Tables[0].Rows.Clear();
|
||||
bool found = false;
|
||||
foreach (System.Data.DataColumn dc in importdata.Columns)
|
||||
{
|
||||
bool found = false;
|
||||
found = false;
|
||||
foreach (System.Data.DataColumn edc in sb.dsempfaenger.Tables[0].Columns)
|
||||
{
|
||||
if (edc.ColumnName == dc.ColumnName) { found = true; break; }
|
||||
@@ -290,6 +292,13 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
importdata.AcceptChanges();
|
||||
|
||||
found=false;
|
||||
foreach (System.Data.DataColumn dc in sb.dsempfaenger.Tables[0].Columns)
|
||||
{
|
||||
if (dc.ColumnName.ToUpper() == "INTEINTRAGNR") { found = true; }
|
||||
}
|
||||
if (!found) { sb.dsempfaenger.Tables[0].Columns.Add("IntEintragnr"); }
|
||||
int lastid = sb.dsempfaenger.Tables[0].Rows.Count;
|
||||
|
||||
sfDataGridEmpfaenger.DataSource = null;
|
||||
foreach (System.Data.DataRow dr in importdata.Rows)
|
||||
@@ -308,11 +317,13 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
r1["STATUS"] = 0;
|
||||
r1["FEHLERCODE"] = 0;
|
||||
try
|
||||
{
|
||||
r1["inteingragnr"] = string.Empty;
|
||||
}
|
||||
catch { }
|
||||
r1["IntEintragnr"] = lastid;
|
||||
lastid = lastid + 1;
|
||||
//try
|
||||
//{
|
||||
// r1["inteingragnr"] = string.Empty;
|
||||
//}
|
||||
//catch { }
|
||||
dB.Get_Tabledata("Select bkpar00 from partner where nrpar00=" + r1[0].ToString(), false, true);
|
||||
if (dB.dsdaten.Tables[0].Rows.Count < 1) r1["Fehlercode"] = 1; else r1["fehlercode"] = 0;
|
||||
r1[1] = dB.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
@@ -336,14 +347,18 @@ namespace OnDoc.UIControls
|
||||
{
|
||||
try
|
||||
{
|
||||
sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = false;
|
||||
// sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = false;
|
||||
}
|
||||
catch { }
|
||||
catch {
|
||||
sb.dsempfaenger.Tables[0].Columns.Add("IntEintragnr");
|
||||
}
|
||||
|
||||
sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = true;
|
||||
sfDataGridEmpfaenger.Columns["STATUS"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["FEHLERCODE"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["BLKUNDE"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["DOKUMENT_GEDRUCKT"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["DOKUMENTID"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["DOKUMENTID"].Visible = true;
|
||||
sfDataGridEmpfaenger.Columns["DOKUMENTIDBDR"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["ERSTELLER"].Visible = false;
|
||||
sfDataGridEmpfaenger.Columns["DRUCKJOBID"].Visible = false;
|
||||
@@ -408,6 +423,7 @@ namespace OnDoc.UIControls
|
||||
sb.dsempfaenger.Tables[sb.dsempfaenger.Tables.Count - 1].TableName = "UsedFelder";
|
||||
Logging.Logging.Debug("Update Serienbriefdaten", "OnDoc", "");
|
||||
update_serienbriefdaten(false);
|
||||
open_sb(sb.serienbriefnr);
|
||||
treeViewAdv1.Enabled = true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -626,6 +642,12 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
private void update_grid()
|
||||
{
|
||||
bool found = false;
|
||||
foreach (System.Data.DataColumn dc in sb.dsempfaenger.Tables[0].Columns)
|
||||
{
|
||||
if (dc.ColumnName.ToUpper() == "INTEINTRAGNR") { found = true; }
|
||||
}
|
||||
if (!found) { sb.dsempfaenger.Tables[0].Columns.Add("IntEintragnr"); }
|
||||
string nodetext = treeViewAdv1.SelectedNode.Text;
|
||||
DataView dv = new DataView(sb.dsempfaenger.Tables[0]);
|
||||
|
||||
@@ -691,15 +713,46 @@ namespace OnDoc.UIControls
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private void bntsbloadok_Click(object sender, EventArgs e)
|
||||
{
|
||||
open_sb(selectedsbnr);
|
||||
}
|
||||
private void open_sb(int serienbriefnr) {
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
sb = new serienbrief();
|
||||
sb.dsempfaenger = new DataSet();
|
||||
sb.serienbriefnr = selectedsbnr;
|
||||
sb.serienbriefnr = serienbriefnr;
|
||||
sb = db.Load_Serienbrief(sb, AppParams.tempdir);
|
||||
db.Get_Tabledata("Select * from office_vorlage where office_vorlagenr = " + sb.officevorlagenr.ToString(), false, true);
|
||||
sb.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
|
||||
sb.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
|
||||
sb.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
|
||||
sb.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
|
||||
sb.barcode_horizontal = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bchorizontal"]);
|
||||
sb.barcode_type = db.dsdaten.Tables[0].Rows[0]["barcodetype"].ToString();
|
||||
sb.barcode_content = db.dsdaten.Tables[0].Rows[0]["datamatrixcontent"].ToString();
|
||||
|
||||
|
||||
string sql = "";
|
||||
sql = "select bcpt, bcpl, bcw, bch, bchorizontal from OnDocBarcodeMpping ";
|
||||
sql = sql + "where orig_bcpt = " + sb.barcode_top.ToString() + " and orig_bcpl=" + sb.barcode_left.ToString() + " ";
|
||||
sql = sql + "and orig_bcw=" + sb.barcode_width.ToString() + " and orig_bch=" + sb.barcode_height.ToString();
|
||||
db.Get_Tabledata(sql, false, true);
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
sb.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
|
||||
sb.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
|
||||
sb.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
|
||||
sb.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
|
||||
}
|
||||
sb.barcode_font = AppParams.barcodefont;
|
||||
sb.barcode_fontsize = AppParams.barcodefontsize;
|
||||
sb.barcode_textposition=AppParams.barcodetextposition;
|
||||
sb.barcode_zusatz = "";
|
||||
|
||||
|
||||
sb.filename = db.get_sb_vorlage(sb.serienbriefnr, AppParams.tempdir);
|
||||
pnlLoad.Visible = false;
|
||||
update_screen();
|
||||
@@ -781,6 +834,14 @@ namespace OnDoc.UIControls
|
||||
ps.ShowDialog();
|
||||
if (ps.DialogResult == DialogResult.OK)
|
||||
{
|
||||
bool found = false;
|
||||
foreach (System.Data.DataColumn dc in sb.dsempfaenger.Tables[0].Columns)
|
||||
{
|
||||
if (dc.ColumnName.ToUpper() == "INTEINTRAGNR") { found = true; }
|
||||
}
|
||||
if (!found) { sb.dsempfaenger.Tables[0].Columns.Add("IntEintragnr"); }
|
||||
int lastid = sb.dsempfaenger.Tables[0].Rows.Count;
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Get_Tabledata("Select bkpar00 from partner where nrpar00=" + ps.partnernr.ToString(), false, true);
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
@@ -794,6 +855,7 @@ namespace OnDoc.UIControls
|
||||
dr["kurzbezeichnung"] = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||
dr["STATUS"] = 0;
|
||||
dr["FEHLERCODE"] = 0;
|
||||
dr["IntEintragnr"] = lastid;
|
||||
|
||||
sb.dsempfaenger.Tables[0].Rows.Add(dr);
|
||||
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
||||
@@ -829,7 +891,7 @@ namespace OnDoc.UIControls
|
||||
bntsbloadok_Click(sender, e);
|
||||
}
|
||||
|
||||
private void Partnerliste_Pruefen()
|
||||
private bool Partnerliste_Pruefen()
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.create_sb_check_table(AppParams.CurrentMitarbieter);
|
||||
@@ -881,10 +943,32 @@ namespace OnDoc.UIControls
|
||||
|
||||
if (Convert.ToInt32(dt.Rows[i][4]) == 1) { bldossier = true; };
|
||||
}
|
||||
|
||||
var duplicates = sb.dsempfaenger.Tables[0].AsEnumerable()
|
||||
.GroupBy(r => r[0])//Using Column Index
|
||||
.Where(gr => gr.Count() > 1)
|
||||
.Select(g => g.Key);
|
||||
string check_duplicates = "";
|
||||
foreach(var dup in duplicates)
|
||||
{
|
||||
if (check_duplicates!="") { check_duplicates = check_duplicates + ", "; }
|
||||
check_duplicates = check_duplicates + dup.ToString();
|
||||
}
|
||||
if (check_duplicates != "")
|
||||
{
|
||||
MessageBox.Show("In der Partnerliste sind folgende Duplikate vorhanden: " + Environment.NewLine + check_duplicates, "Partnerprüfung", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
finish_progress();
|
||||
return false;
|
||||
}
|
||||
//System.Data.DataTable tbNew = (System.Data.DataTable)duplicates;
|
||||
|
||||
if (sb.dsempfaenger.Tables[0].Columns.Count > 20) { check_zwingende_felder(); }
|
||||
finish_progress();
|
||||
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
||||
if (msg != "") { MessageBox.Show(msg, "Serienbrief", MessageBoxButtons.OK, MessageBoxIcon.Error); }
|
||||
if (msg != "") { MessageBox.Show(msg, "Serienbrief", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void check_zwingende_felder()
|
||||
@@ -931,7 +1015,9 @@ namespace OnDoc.UIControls
|
||||
System.Data.DataTable vorlagendaten = new System.Data.DataTable();
|
||||
private void RibbonButtonGenerateSB_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
ribbonbuttonsave_Click(sender, e);
|
||||
if (!Partnerliste_Pruefen()){ return; }
|
||||
Generate();
|
||||
}
|
||||
private void Generate(int vorschauid = 0)
|
||||
|
||||
34
Client/DocMgmt/SerienbriefBearbeitung.Designer.cs
generated
@@ -32,7 +32,9 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SerienbriefBearbeitung));
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||
this.tscomboboxbp = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.sfdatagridstandard = new Syncfusion.WinForms.DataGrid.SfDataGrid();
|
||||
this.contextMenuStandard = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.platzhalterImDokumentEinfügenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -48,9 +50,7 @@
|
||||
this.platzhalterLöschenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.txtfilter = new System.Windows.Forms.TextBox();
|
||||
this.tscomboboxbp = new System.Windows.Forms.ToolStripComboBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfdatagridstandard)).BeginInit();
|
||||
@@ -85,6 +85,11 @@
|
||||
this.toolStripButton1.Text = "Speichern und schliessen";
|
||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||
//
|
||||
// tscomboboxbp
|
||||
//
|
||||
this.tscomboboxbp.Name = "tscomboboxbp";
|
||||
this.tscomboboxbp.Size = new System.Drawing.Size(121, 25);
|
||||
//
|
||||
// toolStripButton2
|
||||
//
|
||||
this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
@@ -95,6 +100,16 @@
|
||||
this.toolStripButton2.Text = "Vorschau";
|
||||
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton3.Image = global::OnDoc.Properties.Resources.Preview_Now_24x24_32;
|
||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton3.Name = "toolStripButton3";
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
|
||||
this.toolStripButton3.Text = "toolStripButton3";
|
||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
|
||||
//
|
||||
// sfdatagridstandard
|
||||
//
|
||||
this.sfdatagridstandard.AccessibleName = "Table";
|
||||
@@ -223,11 +238,6 @@
|
||||
this.txtfilter.TabIndex = 7;
|
||||
this.txtfilter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtfilter_KeyDown);
|
||||
//
|
||||
// tscomboboxbp
|
||||
//
|
||||
this.tscomboboxbp.Name = "tscomboboxbp";
|
||||
this.tscomboboxbp.Size = new System.Drawing.Size(121, 25);
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.sfdatagridstandard);
|
||||
@@ -245,16 +255,6 @@
|
||||
this.groupBox2.TabIndex = 9;
|
||||
this.groupBox2.TabStop = false;
|
||||
//
|
||||
// toolStripButton3
|
||||
//
|
||||
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.toolStripButton3.Image = global::OnDoc.Properties.Resources.Preview_Now_24x24_32;
|
||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton3.Name = "toolStripButton3";
|
||||
this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
|
||||
this.toolStripButton3.Text = "toolStripButton3";
|
||||
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
|
||||
//
|
||||
// docPreview1
|
||||
//
|
||||
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
|
||||
@@ -180,7 +180,14 @@ namespace OnDoc.DocMgmt
|
||||
private void get_usedfelder(ref System.Data.DataTable list)
|
||||
{
|
||||
list = get_vorlagenfelder(sb.dokumenttypnr, 1);
|
||||
if (sb.dsempfaenger.Tables["UsedFelder"].Rows.Count>0) list = sb.dsempfaenger.Tables["UsedFelder"].Copy();
|
||||
try
|
||||
{
|
||||
if (sb.dsempfaenger.Tables["UsedFelder"].Rows.Count > 0) list = sb.dsempfaenger.Tables["UsedFelder"].Copy();
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
int i;
|
||||
string s;
|
||||
bool dodelete = false;
|
||||
@@ -402,17 +409,29 @@ namespace OnDoc.DocMgmt
|
||||
regelbez = dataRow[0].ToString();
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
private void update_Used_Felder()
|
||||
{
|
||||
UsedFelder.AcceptChanges();
|
||||
if (sb.dsempfaenger.Tables["UsedFelder"] == null)
|
||||
{
|
||||
sb.dsempfaenger.Tables.Add("UsedFelder");
|
||||
foreach (System.Data.DataColumn dc in UsedFelder.Columns)
|
||||
{
|
||||
sb.dsempfaenger.Tables["UsedFelder"].Columns.Add(dc.ColumnName);
|
||||
}
|
||||
}
|
||||
sb.dsempfaenger.Tables["UsedFelder"].Rows.Clear();
|
||||
for (int i = 0; i < UsedFelder.Rows.Count; i++)
|
||||
{
|
||||
|
||||
|
||||
sb.dsempfaenger.Tables["UsedFelder"].ImportRow(UsedFelder.Rows[i]);
|
||||
}
|
||||
|
||||
sb.dsempfaenger.Tables["UsedFelder"].AcceptChanges();
|
||||
}
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
update_Used_Felder();
|
||||
Broadcaster().Broadcast("BtnSBVorschauSave", new SenderInfo("Speichern", "Speichern",""));
|
||||
this.Close();
|
||||
}
|
||||
@@ -439,16 +458,7 @@ namespace OnDoc.DocMgmt
|
||||
|
||||
private void toolStripButton2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
UsedFelder.AcceptChanges();
|
||||
sb.dsempfaenger.Tables["UsedFelder"].Rows.Clear();
|
||||
for (int i = 0; i < UsedFelder.Rows.Count; i++)
|
||||
{
|
||||
|
||||
sb.dsempfaenger.Tables["UsedFelder"].ImportRow(UsedFelder.Rows[i]);
|
||||
}
|
||||
|
||||
sb.dsempfaenger.Tables["UsedFelder"].AcceptChanges();
|
||||
update_Used_Felder();
|
||||
|
||||
string FileName = word.ActiveDocument.FullName;
|
||||
word.ActiveDocument.Save();
|
||||
|
||||
@@ -25,5 +25,15 @@ namespace OnDoc.Helper
|
||||
: value.Substring(0, maxLength)
|
||||
);
|
||||
}
|
||||
public static string Base64Encode(string plainText)
|
||||
{
|
||||
var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
|
||||
return System.Convert.ToBase64String(plainTextBytes);
|
||||
}
|
||||
public static string Base64Decode(string base64EncodedData)
|
||||
{
|
||||
var base64EncodedBytes = System.Convert.FromBase64String(base64EncodedData);
|
||||
return System.Text.Encoding.UTF8.GetString(base64EncodedBytes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,6 +27,11 @@ namespace OnDoc.Klassen
|
||||
|
||||
public static string wordprintmacro { get; set; } = "";
|
||||
public static string vbvorlagenmanagement { get; set; } = "No";
|
||||
|
||||
public static string barcodefont { get; set; } = "";
|
||||
public static string barcodefontsize { get; set; } = "";
|
||||
public static string barcodetextposition { get; set; } = "";
|
||||
|
||||
static AppParams()
|
||||
{
|
||||
|
||||
@@ -50,6 +55,9 @@ namespace OnDoc.Klassen
|
||||
//apikey = Properties.Settings.Default.apikey;
|
||||
wordprintmacro = Properties.Settings.Default.StandardWordDruckMakro;
|
||||
vbvorlagenmanagement = Properties.Settings.Default.VBVorlagenmanagement;
|
||||
barcodefont = Properties.Settings.Default.BarcodeFont;
|
||||
barcodefontsize=Properties.Settings.Default.BarcodeFontSize;
|
||||
barcodetextposition = Properties.Settings.Default.BarodeTextPosition;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
100
Client/Properties/Resources.Designer.cs
generated
@@ -260,6 +260,56 @@ namespace OnDoc.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Barcode_16x16_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Barcode_16x16_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Barcode_24x24_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Barcode_24x24_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Barcode_256x256_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Barcode_256x256_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Barcode_32x32_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Barcode_32x32_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Barcode_48x48_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Barcode_48x48_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
@@ -410,6 +460,56 @@ namespace OnDoc.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Default_16x16_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Default_16x16_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Default_24x24_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Default_24x24_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Default_256x256_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Default_256x256_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Default_32x32_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Default_32x32_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap Default_48x48_32 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Default_48x48_32", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
||||
@@ -178,6 +178,21 @@
|
||||
<data name="Approval_OK_48x48_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Approval_OK_48x48-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Barcode_16x16_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Barcode_16x16-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Barcode_24x24_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Barcode_24x24-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Barcode_256x256_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Barcode_256x256-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Barcode_32x32_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Barcode_32x32-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Barcode_48x48_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Barcode_48x48-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="CloseApplication_16x16_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\CloseApplication_16x16-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
@@ -223,6 +238,21 @@
|
||||
<data name="Copy_48x48_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Copy_48x48-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Default_16x16_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Default_16x16-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Default_24x24_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Default_24x24-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Default_256x256_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Default_256x256-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Default_32x32_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Default_32x32-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Default_48x48_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Default_48x48-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="DeleteDoc_16x16_32" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\DeleteDoc_16x16-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
||||
135
Client/Properties/Settings.Designer.cs
generated
@@ -23,44 +23,6 @@ namespace OnDoc.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=shu01\\shu00;Initial Catalog=edoka_dms;Persist Security Info=True;User" +
|
||||
" ID=sa;Password=*shu29;")]
|
||||
public string Connectionstring {
|
||||
get {
|
||||
return ((string)(this["Connectionstring"]));
|
||||
}
|
||||
set {
|
||||
this["Connectionstring"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("E:\\Software-Projekte\\OnDoc\\Nativ\\")]
|
||||
public string NativVorlagen {
|
||||
get {
|
||||
return ((string)(this["NativVorlagen"]));
|
||||
}
|
||||
set {
|
||||
this["NativVorlagen"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=shu01\\shu00;Initial Catalog=edoka;Persist Security Info=True;User ID=" +
|
||||
"sa;Password=*shu29;")]
|
||||
public string Connectionstring_Prod {
|
||||
get {
|
||||
return ((string)(this["Connectionstring_Prod"]));
|
||||
}
|
||||
set {
|
||||
this["Connectionstring_Prod"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("https://localhost:44334/")]
|
||||
@@ -85,19 +47,6 @@ namespace OnDoc.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("5sPQAPCxiSj+JWf+sWKTYgdTRSXeZJX/Ft2wE5B/SaSPoxPNMvkTgNjbmiK18SNmJ66OPzOM1fEw70R+V" +
|
||||
"ZeRWU+5fowTIXAGYLDneikxmK4HnIJku8732xxJ/9EomCZ6")]
|
||||
public string apikey {
|
||||
get {
|
||||
return ((string)(this["apikey"]));
|
||||
}
|
||||
set {
|
||||
this["apikey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("FilePrintDefault")]
|
||||
@@ -121,5 +70,89 @@ namespace OnDoc.Properties {
|
||||
this["VBVorlagenmanagement"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Connectionstring {
|
||||
get {
|
||||
return ((string)(this["Connectionstring"]));
|
||||
}
|
||||
set {
|
||||
this["Connectionstring"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("E:\\Software-Projekte\\OnDoc\\TKB - Vorlagen\\")]
|
||||
public string NativVorlagen {
|
||||
get {
|
||||
return ((string)(this["NativVorlagen"]));
|
||||
}
|
||||
set {
|
||||
this["NativVorlagen"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string Connectionstring_Prod {
|
||||
get {
|
||||
return ((string)(this["Connectionstring_Prod"]));
|
||||
}
|
||||
set {
|
||||
this["Connectionstring_Prod"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string apikey {
|
||||
get {
|
||||
return ((string)(this["apikey"]));
|
||||
}
|
||||
set {
|
||||
this["apikey"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Arial")]
|
||||
public string BarcodeFont {
|
||||
get {
|
||||
return ((string)(this["BarcodeFont"]));
|
||||
}
|
||||
set {
|
||||
this["BarcodeFont"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("8")]
|
||||
public string BarcodeFontSize {
|
||||
get {
|
||||
return ((string)(this["BarcodeFontSize"]));
|
||||
}
|
||||
set {
|
||||
this["BarcodeFontSize"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Below")]
|
||||
public string BarodeTextPosition {
|
||||
get {
|
||||
return ((string)(this["BarodeTextPosition"]));
|
||||
}
|
||||
set {
|
||||
this["BarodeTextPosition"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,29 +2,38 @@
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="OnDoc.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Connectionstring" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Data Source=shu01\shu00;Initial Catalog=edoka_dms;Persist Security Info=True;User ID=sa;Password=*shu29;</Value>
|
||||
</Setting>
|
||||
<Setting Name="NativVorlagen" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">E:\Software-Projekte\OnDoc\Nativ\</Value>
|
||||
</Setting>
|
||||
<Setting Name="Connectionstring_Prod" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Data Source=shu01\shu00;Initial Catalog=edoka;Persist Security Info=True;User ID=sa;Password=*shu29;</Value>
|
||||
</Setting>
|
||||
<Setting Name="RESTURI" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">https://localhost:44334/</Value>
|
||||
</Setting>
|
||||
<Setting Name="UseAPI" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">NO</Value>
|
||||
</Setting>
|
||||
<Setting Name="apikey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">5sPQAPCxiSj+JWf+sWKTYgdTRSXeZJX/Ft2wE5B/SaSPoxPNMvkTgNjbmiK18SNmJ66OPzOM1fEw70R+VZeRWU+5fowTIXAGYLDneikxmK4HnIJku8732xxJ/9EomCZ6</Value>
|
||||
</Setting>
|
||||
<Setting Name="StandardWordDruckMakro" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">FilePrintDefault</Value>
|
||||
</Setting>
|
||||
<Setting Name="VBVorlagenmanagement" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Yes</Value>
|
||||
</Setting>
|
||||
<Setting Name="Connectionstring" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="NativVorlagen" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">E:\Software-Projekte\OnDoc\TKB - Vorlagen\</Value>
|
||||
</Setting>
|
||||
<Setting Name="Connectionstring_Prod" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="apikey" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
<Setting Name="BarcodeFont" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Arial</Value>
|
||||
</Setting>
|
||||
<Setting Name="BarcodeFontSize" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">8</Value>
|
||||
</Setting>
|
||||
<Setting Name="BarodeTextPosition" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Below</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
BIN
Client/Resources/Barcode_16x16-32.png
Normal file
|
After Width: | Height: | Size: 517 B |
BIN
Client/Resources/Barcode_24x24-32.png
Normal file
|
After Width: | Height: | Size: 780 B |
BIN
Client/Resources/Barcode_256x256-32.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
Client/Resources/Barcode_32x32-32.png
Normal file
|
After Width: | Height: | Size: 764 B |
BIN
Client/Resources/Barcode_48x48-32.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
Client/Resources/Default_16x16-32.png
Normal file
|
After Width: | Height: | Size: 760 B |
BIN
Client/Resources/Default_24x24-32.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
Client/Resources/Default_256x256-32.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
Client/Resources/Default_32x32-32.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Client/Resources/Default_48x48-32.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
30
Client/Start.Designer.cs
generated
@@ -37,6 +37,7 @@
|
||||
this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonSeparator1 = new System.Windows.Forms.RibbonSeparator();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
@@ -46,7 +47,6 @@
|
||||
this.nativVorlagenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.dokList1 = new OnDoc.UICintrols.DokList();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -105,11 +105,21 @@
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(2, 798);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1584, 18);
|
||||
this.panel1.Size = new System.Drawing.Size(1683, 18);
|
||||
this.panel1.TabIndex = 3;
|
||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
|
||||
this.panel1.DoubleClick += new System.EventHandler(this.panel1_DoubleClick);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.ForeColor = System.Drawing.Color.IndianRed;
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "label1";
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.FileName = "openFileDialog1";
|
||||
@@ -127,7 +137,7 @@
|
||||
this.nativVorlagenToolStripMenuItem});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(2, 2);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Size = new System.Drawing.Size(1584, 24);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(1683, 24);
|
||||
this.menuStrip1.TabIndex = 5;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
@@ -185,25 +195,15 @@
|
||||
this.dokList1.selected_cellvalue = null;
|
||||
this.dokList1.selected_dokumentid = null;
|
||||
this.dokList1.selected_partnernr = null;
|
||||
this.dokList1.Size = new System.Drawing.Size(1584, 772);
|
||||
this.dokList1.Size = new System.Drawing.Size(1683, 772);
|
||||
this.dokList1.TabIndex = 4;
|
||||
this.dokList1.Load += new System.EventHandler(this.dokList1_Load);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.ForeColor = System.Drawing.Color.IndianRed;
|
||||
this.label1.Location = new System.Drawing.Point(3, 3);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "label1";
|
||||
//
|
||||
// Start
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1588, 818);
|
||||
this.ClientSize = new System.Drawing.Size(1687, 818);
|
||||
this.Controls.Add(this.dokList1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.menuStrip1);
|
||||
|
||||
216
Client/UIControls/DokList.Designer.cs
generated
@@ -52,7 +52,6 @@ namespace OnDoc.UICintrols
|
||||
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();
|
||||
@@ -91,16 +90,25 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonFilterLabel = new System.Windows.Forms.RibbonLabel();
|
||||
this.RibbonPartnerSaldiert = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonFilterDelete = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonPanelVorschau = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonBtnVorschauNo = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonBtnVorschauUnten = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonVorschauRechts = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonBtnVorschauSepparat = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPannelAnsicht = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonItemGroup2 = new System.Windows.Forms.RibbonItemGroup();
|
||||
this.ribboncomboboxansicht = new System.Windows.Forms.RibbonLabel();
|
||||
this.ribbonCBAnsicht = new System.Windows.Forms.RibbonComboBox();
|
||||
this.ribbonItemGroup3 = new System.Windows.Forms.RibbonItemGroup();
|
||||
this.RibbonButtonViewStandard = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonViewSave = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonViewDelete = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonButton4 = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonPanelProfil = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonItemGroup1 = new System.Windows.Forms.RibbonItemGroup();
|
||||
this.ribbonLabel1 = new System.Windows.Forms.RibbonLabel();
|
||||
this.RibbonCBProfil = new System.Windows.Forms.RibbonComboBox();
|
||||
this.ribbonButton1 = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonPanelVorschau = new System.Windows.Forms.RibbonPanel();
|
||||
this.RibbonBtnVorschauNo = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonBtnVorschauUnten = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonButtonVorschauRechts = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonBtnVorschauSepparat = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonPannelDiverseVorlagen = new System.Windows.Forms.RibbonPanel();
|
||||
this.ribbonButtonNativ = new System.Windows.Forms.RibbonButton();
|
||||
this.RibbonTabAdmin = new System.Windows.Forms.RibbonTab();
|
||||
@@ -118,6 +126,8 @@ namespace OnDoc.UICintrols
|
||||
this.lblToApprove = new System.Windows.Forms.Label();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
|
||||
this.ribbonButton5 = new System.Windows.Forms.RibbonButton();
|
||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||
this.ctxMenuDokList.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
@@ -163,7 +173,7 @@ namespace OnDoc.UICintrols
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem,
|
||||
this.wordInterOPEditToolStripMenuItem});
|
||||
this.ctxMenuDokList.Name = "ctxMenuDokList";
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 246);
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 268);
|
||||
//
|
||||
// dokumentAnzeigenToolStripMenuItem
|
||||
//
|
||||
@@ -195,6 +205,7 @@ namespace OnDoc.UICintrols
|
||||
this.archivierenToolStripMenuItem.Name = "archivierenToolStripMenuItem";
|
||||
this.archivierenToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.archivierenToolStripMenuItem.Text = "Archivieren";
|
||||
this.archivierenToolStripMenuItem.Click += new System.EventHandler(this.archivierenToolStripMenuItem_Click);
|
||||
//
|
||||
// barcodeDemoToolStripMenuItem
|
||||
//
|
||||
@@ -231,6 +242,7 @@ namespace OnDoc.UICintrols
|
||||
this.pDFGenerierenToolStripMenuItem.Name = "pDFGenerierenToolStripMenuItem";
|
||||
this.pDFGenerierenToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.pDFGenerierenToolStripMenuItem.Text = "PDF generieren";
|
||||
this.pDFGenerierenToolStripMenuItem.Visible = false;
|
||||
this.pDFGenerierenToolStripMenuItem.Click += new System.EventHandler(this.pDFGenerierenToolStripMenuItem_Click);
|
||||
//
|
||||
// dokumentAnVersandstrasseToolStripMenuItem
|
||||
@@ -238,12 +250,14 @@ namespace OnDoc.UICintrols
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem.Name = "dokumentAnVersandstrasseToolStripMenuItem";
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem.Text = "Dokument an Versandstrasse";
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem.Visible = false;
|
||||
//
|
||||
// wordInterOPEditToolStripMenuItem
|
||||
//
|
||||
this.wordInterOPEditToolStripMenuItem.Name = "wordInterOPEditToolStripMenuItem";
|
||||
this.wordInterOPEditToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.wordInterOPEditToolStripMenuItem.Text = "Word InterOP Edit";
|
||||
this.wordInterOPEditToolStripMenuItem.Visible = false;
|
||||
this.wordInterOPEditToolStripMenuItem.Click += new System.EventHandler(this.wordInterOPEditToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
@@ -331,16 +345,6 @@ namespace OnDoc.UICintrols
|
||||
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;
|
||||
this.docPreview1.ZoomPercentage = 0;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
@@ -411,8 +415,9 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelDoklist);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelDemo);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelSuche);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.ribbonPanelVorschau);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPannelAnsicht);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.RibbonPanelProfil);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.ribbonPanelVorschau);
|
||||
this.RibbonTabUserFunctions.Panels.Add(this.ribbonPannelDiverseVorlagen);
|
||||
this.RibbonTabUserFunctions.Text = "Funktionen";
|
||||
//
|
||||
@@ -714,6 +719,118 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonFilterDelete.Visible = false;
|
||||
this.RibbonFilterDelete.Click += new System.EventHandler(this.RibbonFilterDelete_Click);
|
||||
//
|
||||
// RibbonPannelAnsicht
|
||||
//
|
||||
this.RibbonPannelAnsicht.Items.Add(this.ribbonItemGroup2);
|
||||
this.RibbonPannelAnsicht.Items.Add(this.ribbonItemGroup3);
|
||||
this.RibbonPannelAnsicht.Name = "RibbonPannelAnsicht";
|
||||
this.RibbonPannelAnsicht.Text = "Ansicht";
|
||||
//
|
||||
// ribbonItemGroup2
|
||||
//
|
||||
this.ribbonItemGroup2.Items.Add(this.ribboncomboboxansicht);
|
||||
this.ribbonItemGroup2.Items.Add(this.ribbonCBAnsicht);
|
||||
this.ribbonItemGroup2.Name = "ribbonItemGroup2";
|
||||
//
|
||||
// ribboncomboboxansicht
|
||||
//
|
||||
this.ribboncomboboxansicht.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.ribboncomboboxansicht.Name = "ribboncomboboxansicht";
|
||||
this.ribboncomboboxansicht.Text = "Ansicht";
|
||||
//
|
||||
// ribbonCBAnsicht
|
||||
//
|
||||
this.ribbonCBAnsicht.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.ribbonCBAnsicht.Name = "ribbonCBAnsicht";
|
||||
this.ribbonCBAnsicht.SelectedIndex = -1;
|
||||
this.ribbonCBAnsicht.TextBoxText = "";
|
||||
this.ribbonCBAnsicht.DropDownItemClicked += new System.Windows.Forms.RibbonComboBox.RibbonItemEventHandler(this.ribbonCBAnsicht_DropDownItemClicked);
|
||||
//
|
||||
// ribbonItemGroup3
|
||||
//
|
||||
this.ribbonItemGroup3.Items.Add(this.RibbonButtonViewStandard);
|
||||
this.ribbonItemGroup3.Items.Add(this.RibbonButtonViewSave);
|
||||
this.ribbonItemGroup3.Items.Add(this.RibbonButtonViewDelete);
|
||||
this.ribbonItemGroup3.Items.Add(this.ribbonButton4);
|
||||
this.ribbonItemGroup3.Name = "ribbonItemGroup3";
|
||||
//
|
||||
// RibbonButtonViewStandard
|
||||
//
|
||||
this.RibbonButtonViewStandard.Image = global::OnDoc.Properties.Resources.Default_24x24_32;
|
||||
this.RibbonButtonViewStandard.LargeImage = global::OnDoc.Properties.Resources.Default_24x24_32;
|
||||
this.RibbonButtonViewStandard.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.RibbonButtonViewStandard.Name = "RibbonButtonViewStandard";
|
||||
this.RibbonButtonViewStandard.SmallImage = global::OnDoc.Properties.Resources.Default_16x16_32;
|
||||
this.RibbonButtonViewStandard.Text = "Standard";
|
||||
this.RibbonButtonViewStandard.ToolTip = "Standard-Ansicht";
|
||||
this.RibbonButtonViewStandard.Click += new System.EventHandler(this.RibbonButtonViewStandard_Click);
|
||||
//
|
||||
// RibbonButtonViewSave
|
||||
//
|
||||
this.RibbonButtonViewSave.Image = global::OnDoc.Properties.Resources.add_24x24_32;
|
||||
this.RibbonButtonViewSave.LargeImage = global::OnDoc.Properties.Resources.add_24x24_32;
|
||||
this.RibbonButtonViewSave.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.RibbonButtonViewSave.Name = "RibbonButtonViewSave";
|
||||
this.RibbonButtonViewSave.SmallImage = global::OnDoc.Properties.Resources.add_16x16_32;
|
||||
this.RibbonButtonViewSave.ToolTip = "Aktuelle Ansicht speichern";
|
||||
this.RibbonButtonViewSave.Click += new System.EventHandler(this.RibbonButtonViewSave_Click);
|
||||
//
|
||||
// RibbonButtonViewDelete
|
||||
//
|
||||
this.RibbonButtonViewDelete.Image = global::OnDoc.Properties.Resources.Remove_24x24_32;
|
||||
this.RibbonButtonViewDelete.LargeImage = global::OnDoc.Properties.Resources.Remove_24x24_32;
|
||||
this.RibbonButtonViewDelete.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.RibbonButtonViewDelete.Name = "RibbonButtonViewDelete";
|
||||
this.RibbonButtonViewDelete.SmallImage = global::OnDoc.Properties.Resources.Remove_16x16_32;
|
||||
this.RibbonButtonViewDelete.ToolTip = "Ansichtseinstellung löschen";
|
||||
this.RibbonButtonViewDelete.Click += new System.EventHandler(this.RibbonButtonViewDelete_Click);
|
||||
//
|
||||
// ribbonButton4
|
||||
//
|
||||
this.ribbonButton4.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.Image")));
|
||||
this.ribbonButton4.LargeImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.LargeImage")));
|
||||
this.ribbonButton4.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.ribbonButton4.Name = "ribbonButton4";
|
||||
this.ribbonButton4.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton4.SmallImage")));
|
||||
this.ribbonButton4.Visible = false;
|
||||
this.ribbonButton4.Click += new System.EventHandler(this.ribbonButton4_Click_1);
|
||||
//
|
||||
// RibbonPanelProfil
|
||||
//
|
||||
this.RibbonPanelProfil.ButtonMoreVisible = false;
|
||||
this.RibbonPanelProfil.Items.Add(this.ribbonItemGroup1);
|
||||
this.RibbonPanelProfil.Items.Add(this.ribbonButton1);
|
||||
this.RibbonPanelProfil.Name = "RibbonPanelProfil";
|
||||
this.RibbonPanelProfil.Text = "Profil";
|
||||
//
|
||||
// ribbonItemGroup1
|
||||
//
|
||||
this.ribbonItemGroup1.Items.Add(this.ribbonLabel1);
|
||||
this.ribbonItemGroup1.Items.Add(this.RibbonCBProfil);
|
||||
this.ribbonItemGroup1.Name = "ribbonItemGroup1";
|
||||
//
|
||||
// ribbonLabel1
|
||||
//
|
||||
this.ribbonLabel1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.ribbonLabel1.Name = "ribbonLabel1";
|
||||
this.ribbonLabel1.Text = "Profil";
|
||||
//
|
||||
// RibbonCBProfil
|
||||
//
|
||||
this.RibbonCBProfil.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.RibbonCBProfil.Name = "RibbonCBProfil";
|
||||
this.RibbonCBProfil.SelectedIndex = -1;
|
||||
this.RibbonCBProfil.TextBoxText = "";
|
||||
//
|
||||
// ribbonButton1
|
||||
//
|
||||
this.ribbonButton1.Image = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.Name = "ribbonButton1";
|
||||
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.ToolTip = "Profil bearbeiten";
|
||||
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
|
||||
//
|
||||
// ribbonPanelVorschau
|
||||
//
|
||||
this.ribbonPanelVorschau.ButtonMoreVisible = false;
|
||||
@@ -762,41 +879,6 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonBtnVorschauSepparat.Text = "Eigenes Fenster";
|
||||
this.RibbonBtnVorschauSepparat.Click += new System.EventHandler(this.RibbonBtnVorschauSepparat_Click);
|
||||
//
|
||||
// RibbonPanelProfil
|
||||
//
|
||||
this.RibbonPanelProfil.ButtonMoreVisible = false;
|
||||
this.RibbonPanelProfil.Items.Add(this.ribbonItemGroup1);
|
||||
this.RibbonPanelProfil.Items.Add(this.ribbonButton1);
|
||||
this.RibbonPanelProfil.Name = "RibbonPanelProfil";
|
||||
this.RibbonPanelProfil.Text = "Profil";
|
||||
//
|
||||
// ribbonItemGroup1
|
||||
//
|
||||
this.ribbonItemGroup1.Items.Add(this.ribbonLabel1);
|
||||
this.ribbonItemGroup1.Items.Add(this.RibbonCBProfil);
|
||||
this.ribbonItemGroup1.Name = "ribbonItemGroup1";
|
||||
//
|
||||
// ribbonLabel1
|
||||
//
|
||||
this.ribbonLabel1.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.ribbonLabel1.Name = "ribbonLabel1";
|
||||
this.ribbonLabel1.Text = "Profil";
|
||||
//
|
||||
// RibbonCBProfil
|
||||
//
|
||||
this.RibbonCBProfil.MaxSizeMode = System.Windows.Forms.RibbonElementSizeMode.Compact;
|
||||
this.RibbonCBProfil.Name = "RibbonCBProfil";
|
||||
this.RibbonCBProfil.SelectedIndex = -1;
|
||||
this.RibbonCBProfil.TextBoxText = "";
|
||||
//
|
||||
// ribbonButton1
|
||||
//
|
||||
this.ribbonButton1.Image = global::OnDoc.Properties.Resources.Pprofil_32x32_32;
|
||||
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_32x32_32;
|
||||
this.ribbonButton1.Name = "ribbonButton1";
|
||||
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
|
||||
//
|
||||
// ribbonPannelDiverseVorlagen
|
||||
//
|
||||
this.ribbonPannelDiverseVorlagen.Items.Add(this.ribbonButtonNativ);
|
||||
@@ -928,6 +1010,24 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonButtonCreateNewDoc.Text = "Dokument";
|
||||
this.RibbonButtonCreateNewDoc.Click += new System.EventHandler(this.RibbonButtonCreateNewDoc_Click);
|
||||
//
|
||||
// ribbonButton5
|
||||
//
|
||||
this.ribbonButton5.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.Image")));
|
||||
this.ribbonButton5.LargeImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.LargeImage")));
|
||||
this.ribbonButton5.Name = "ribbonButton5";
|
||||
this.ribbonButton5.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.SmallImage")));
|
||||
this.ribbonButton5.Text = "Load";
|
||||
//
|
||||
// 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;
|
||||
this.docPreview1.ZoomPercentage = 0;
|
||||
//
|
||||
// DokList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@@ -1043,5 +1143,15 @@ namespace OnDoc.UICintrols
|
||||
private System.Windows.Forms.RibbonButton RibbonPartnerSaldiert;
|
||||
private System.Windows.Forms.RibbonPanel ribbonPanel4;
|
||||
private System.Windows.Forms.RibbonButton ribbonbuttonlogin;
|
||||
private System.Windows.Forms.RibbonButton ribbonButton5;
|
||||
private System.Windows.Forms.RibbonPanel RibbonPannelAnsicht;
|
||||
private System.Windows.Forms.RibbonItemGroup ribbonItemGroup2;
|
||||
private System.Windows.Forms.RibbonLabel ribboncomboboxansicht;
|
||||
private System.Windows.Forms.RibbonComboBox ribbonCBAnsicht;
|
||||
private System.Windows.Forms.RibbonItemGroup ribbonItemGroup3;
|
||||
private System.Windows.Forms.RibbonButton RibbonButtonViewStandard;
|
||||
private System.Windows.Forms.RibbonButton RibbonButtonViewSave;
|
||||
private System.Windows.Forms.RibbonButton RibbonButtonViewDelete;
|
||||
private System.Windows.Forms.RibbonButton ribbonButton4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,9 @@ using OnDoc.Versandstrasse;
|
||||
using Windows.UI.Input.Preview.Injection;
|
||||
using Windows.UI.WebUI;
|
||||
using Windows.ApplicationModel.VoiceCommands;
|
||||
using System.Runtime.InteropServices.ComTypes;
|
||||
using Windows.Storage.Streams;
|
||||
using Windows.UI.Xaml.Media;
|
||||
|
||||
|
||||
|
||||
@@ -66,6 +69,7 @@ namespace OnDoc.UICintrols
|
||||
public bool runmacros { get; set; } = false;
|
||||
|
||||
public string Search_Docid { get; set; } = "";
|
||||
private System.Data.DataTable Ansichten { get; set; }
|
||||
|
||||
public DokList()
|
||||
{
|
||||
@@ -116,6 +120,36 @@ namespace OnDoc.UICintrols
|
||||
RibbonCBProfil.SelectedItem = rl;
|
||||
}
|
||||
}
|
||||
db = null;
|
||||
refresh_ansichten();
|
||||
}
|
||||
private void refresh_ansichten(string Bezeichnung="") {
|
||||
ribbonCBAnsicht.DropDownItems.Clear();
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.clear_parameter();
|
||||
db.add_parameter("@maid", AppParams.CurrentMitarbieter.ToString());
|
||||
db.Get_Tabledata("sp_ondoc_get_magridveiw", true, false);
|
||||
Ansichten = db.dsdaten.Tables[0].Copy();
|
||||
string standardview = "";
|
||||
foreach (System.Data.DataRow dr in Ansichten.Rows)
|
||||
{
|
||||
RibbonLabel rl = new RibbonLabel();
|
||||
rl.Text = dr["bezeichnung"].ToString();
|
||||
rl.Tag = Convert.ToInt32(dr["id"]);
|
||||
ribbonCBAnsicht.DropDownItems.Add(rl);
|
||||
if (Convert.ToBoolean(dr["standard"])==true && Bezeichnung=="")
|
||||
{
|
||||
ribbonCBAnsicht.SelectedItem = rl;
|
||||
standardview = dr["gridsettings"].ToString();
|
||||
}
|
||||
if (rl.Text == Bezeichnung)
|
||||
{
|
||||
ribbonCBAnsicht.SelectedItem = rl;
|
||||
standardview = dr["gridsettings"].ToString();
|
||||
}
|
||||
}
|
||||
db = null;
|
||||
if (standardview != "") { refresh_view(standardview); }
|
||||
}
|
||||
|
||||
|
||||
@@ -201,7 +235,7 @@ namespace OnDoc.UICintrols
|
||||
selected_dokumentid = documentid;
|
||||
selected_partnernr = dataRow["Partner-Nr"].ToString();
|
||||
selected_cellvalue = dataRow[e.DataColumn.ColumnIndex].ToString();
|
||||
|
||||
|
||||
|
||||
if (dataRow["Bearbeitung_Zwingend"].ToString() == "1")
|
||||
{
|
||||
@@ -210,7 +244,7 @@ namespace OnDoc.UICintrols
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dataRow["toapprove"].ToString() == "True" && dataRow["approved"].ToString() =="False")
|
||||
if (dataRow["toapprove"].ToString() == "True" && dataRow["approved"].ToString() == "False")
|
||||
{
|
||||
RibbonButtonArchivToOnBase.Enabled = false;
|
||||
archivierenToolStripMenuItem.Enabled = false;
|
||||
@@ -559,7 +593,7 @@ namespace OnDoc.UICintrols
|
||||
break;
|
||||
case 4:
|
||||
archivedoc(frmnewdok.dokumentid);
|
||||
|
||||
|
||||
break;
|
||||
case 5:
|
||||
break;
|
||||
@@ -672,7 +706,20 @@ namespace OnDoc.UICintrols
|
||||
|
||||
private void sfDataGrid1_DrawCell(object sender, DrawCellEventArgs e)
|
||||
{
|
||||
|
||||
if (e.Column.MappingName == "zu_retournieren")
|
||||
{
|
||||
e.Column.CellStyle.HorizontalAlignment = HorizontalAlignment.Center;
|
||||
e.Handled = true;
|
||||
var selectedItem = e.DataRow;
|
||||
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
||||
if (Convert.ToBoolean(dataRow["zu_retournieren"]) == true)
|
||||
{
|
||||
e.Graphics.DrawImage(OnDoc.Properties.Resources.Barcode_24x24_32, e.Bounds.X + 20, e.Bounds.Y + 3);
|
||||
Pen borderPen = new Pen(Color.LightGray);
|
||||
e.Graphics.DrawLine(borderPen, e.Bounds.Right, e.Bounds.Top, e.Bounds.Right, e.Bounds.Bottom);
|
||||
e.Graphics.DrawLine(borderPen, e.Bounds.Left, e.Bounds.Bottom, e.Bounds.Right, e.Bounds.Bottom);
|
||||
}
|
||||
}
|
||||
if (e.Column.MappingName == "fileext")
|
||||
{
|
||||
try
|
||||
@@ -681,6 +728,9 @@ namespace OnDoc.UICintrols
|
||||
e.Handled = true;
|
||||
var selectedItem = e.DataRow;
|
||||
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
||||
|
||||
|
||||
|
||||
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "D")
|
||||
{
|
||||
//word
|
||||
@@ -828,7 +878,7 @@ namespace OnDoc.UICintrols
|
||||
nv.Show();
|
||||
}
|
||||
|
||||
private void archivedoc (string documentid)
|
||||
private void archivedoc(string documentid)
|
||||
{
|
||||
string URL = AppParams.RESTURI + "api/ArchiveDocFromDatabase?dokumentid=" + documentid;
|
||||
|
||||
@@ -902,7 +952,7 @@ namespace OnDoc.UICintrols
|
||||
|
||||
//}
|
||||
//refresh_dokumente();
|
||||
|
||||
|
||||
}
|
||||
private void ribbonButtonVersandstrasse_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -1135,6 +1185,163 @@ namespace OnDoc.UICintrols
|
||||
set_functions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void refresh_view(string base64string)
|
||||
{
|
||||
|
||||
byte[] bytes = Convert.FromBase64String(base64string);
|
||||
string plaintext = Strings.Base64Decode(base64string);
|
||||
string tagesdatum = DateTime.Now.ToString("yyyy-MM-ddT00:00:00");
|
||||
//tagesdatum = "2024-11-29T00:00:00";
|
||||
plaintext = plaintext.Replace("@today@", tagesdatum);
|
||||
plaintext = Strings.Base64Encode(plaintext);
|
||||
bytes=Convert.FromBase64String(plaintext);
|
||||
using (MemoryStream ms = new MemoryStream(bytes))
|
||||
{
|
||||
this.sfDataGrid1.Deserialize(ms);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
public static string Decode(string text)
|
||||
{
|
||||
text = text.Replace('_', '/').Replace('-', '+');
|
||||
switch (text.Length % 4)
|
||||
{
|
||||
case 2:
|
||||
text += "==";
|
||||
break;
|
||||
case 3:
|
||||
text += "=";
|
||||
break;
|
||||
}
|
||||
return Encoding.UTF8.GetString(Convert.FromBase64String(text));
|
||||
}
|
||||
private void ribbonButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (System.IO.File.Exists(@"x:\gridsettings.xml"))
|
||||
{
|
||||
using (var file = File.Open(@"x:\gridsettings.xml", FileMode.Open))
|
||||
{
|
||||
this.sfDataGrid1.Deserialize(file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void ribbonCBAnsicht_DropDownItemClicked(object sender, System.Windows.Forms.RibbonItemEventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
int selecteditem = Convert.ToInt32(e.Item.Tag);
|
||||
if (selecteditem == -999)
|
||||
{
|
||||
RibbonButtonViewStandard_Click(sender, e);
|
||||
return;
|
||||
}
|
||||
foreach (System.Data.DataRow dr in Ansichten.Rows)
|
||||
{
|
||||
if (Convert.ToInt32(dr["id"]) == selecteditem)
|
||||
{
|
||||
sfDataGrid1.ClearFilters();
|
||||
sfDataGrid1.ClearGrouping();
|
||||
sfDataGrid1.ClearSelection();
|
||||
sfDataGrid1.ClearSorting();
|
||||
refresh_view(dr["gridsettings"].ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
private void RibbonButtonViewStandard_Click(object sender, EventArgs e)
|
||||
{
|
||||
sfDataGrid1.ClearFilters();
|
||||
sfDataGrid1.ClearGrouping();
|
||||
sfDataGrid1.ClearSelection();
|
||||
sfDataGrid1.ClearSorting();
|
||||
ribbonCBAnsicht.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void RibbonButtonViewSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
SaveAnsicht sa = new SaveAnsicht();
|
||||
sa.ShowDialog();
|
||||
if (sa.DialogResult == DialogResult.OK)
|
||||
{
|
||||
MemoryStream ms = new MemoryStream();
|
||||
this.sfDataGrid1.Serialize(ms);
|
||||
string inputAsString = Convert.ToBase64String(ms.ToArray());
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
if (sa.alsStandard == 1)
|
||||
{
|
||||
db.Exec_SQL("Update mitarbeiter_gridsettings set standard=0 where mitarbeiterid=" + AppParams.CurrentMitarbieter.ToString());
|
||||
}
|
||||
|
||||
string sql = "insert Mitarbeiter_GridSettings (mitarbeiterid, erstellt_am, aktiv, bezeichnung, gridsettings,standard) values(";
|
||||
sql = sql + AppParams.CurrentMitarbieter.ToString() + ",getdate(),1,'" + sa.selectedtext + "','" + inputAsString + "',"+sa.alsStandard.ToString()+")";
|
||||
db.Exec_SQL(sql);
|
||||
db = null;
|
||||
if (sa.alsStandard != 1) { refresh_ansichten(sa.selectedtext); } else { refresh_ansichten(); }
|
||||
|
||||
//using (var file = File.Create(@"x:\gridsettings4.xml"))
|
||||
//{
|
||||
// this.sfDataGrid1.Serialize(file);
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
private void RibbonButtonViewDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (ribbonCBAnsicht.SelectedItem.Text.Trim()=="" || ribbonCBAnsicht.SelectedItem.Text.Substring(0,4)==" Heu")
|
||||
{
|
||||
MessageBox.Show("Die gewählte Standard-Ansicht kann nicht gelöscht werden", "Ansicht löschen", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
if (MessageBox.Show("Aktuelle Ansicht löschen?", "Ansicht löschen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
foreach (System.Data.DataRow dr in Ansichten.Rows)
|
||||
{
|
||||
if (dr["bezeichnung"].ToString() == ribbonCBAnsicht.SelectedItem.Text)
|
||||
{
|
||||
db.Exec_SQL("Update mitarbeiter_gridsettings set aktiv=0 where id=" + dr["id"].ToString());
|
||||
}
|
||||
}
|
||||
db = null;
|
||||
refresh_ansichten();
|
||||
}
|
||||
}
|
||||
|
||||
private void ribbonButton4_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
FileHelper fh = new FileHelper();
|
||||
string b = fh.Base64FromFile(@"x:\gridsettings2.xml");
|
||||
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Exec_SQL("Update mitarbeiter_gridsettings set gridsettings='" + b + "' where id=-101");
|
||||
// using (var file = File.Open(@"x:\gridsettings2.xml", FileMode.Open))
|
||||
// {
|
||||
// this.sfDataGrid1.Deserialize(file);
|
||||
// }
|
||||
//using (var file = File.Open(@"x:\gridsettings3.xml", FileMode.Open))
|
||||
//{
|
||||
// this.sfDataGrid1.Serialize(file);
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
private void archivierenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
RibbonButtonArchivToOnBase_Click(sender, e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -375,6 +375,24 @@
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButton4.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButton4.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wQAADsEBuJFr7QAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="RibbonButtonDokumenttyp.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@@ -470,19 +488,19 @@
|
||||
<data name="ribbonbuttonlogin.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonbuttonlogin.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonbuttonlogin.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vwAADr8BOAVTJAAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
@@ -491,4 +509,22 @@
|
||||
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>376, 17</value>
|
||||
</metadata>
|
||||
<data name="ribbonButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButton5.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButton5.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -54,6 +54,8 @@ namespace OnDoc.UIControls
|
||||
public int barcode_width = 0;
|
||||
public int barcode_height = 0;
|
||||
public int barcode_horizontal = 0;
|
||||
public string barcode_type = "";
|
||||
public string barcode_content = "";
|
||||
|
||||
public UCAllgemeineDokumentParam()
|
||||
{
|
||||
@@ -152,20 +154,37 @@ namespace OnDoc.UIControls
|
||||
catch { }
|
||||
|
||||
|
||||
db.Get_Tabledata("Select office_vorlagenr,kopfzeile_generieren, bcpt,bcpl, bcw, bch, bchorizontal from office_vorlage where office_vorlagenr="+dr["office_vorlagenr"].ToString(),false,true);
|
||||
db.Get_Tabledata("Select office_vorlagenr,kopfzeile_generieren, bcpt,bcpl, bcw, bch, bchorizontal, barcodetype, datamatrixcontent from office_vorlage where office_vorlagenr="+dr["office_vorlagenr"].ToString(),false,true);
|
||||
this.vorlagenr = Convert.ToInt32(dr["office_vorlagenr"]);
|
||||
this.kopfzeile_generieren = false;
|
||||
this.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
|
||||
this.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
|
||||
this.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
|
||||
this.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
|
||||
this.barcode_horizontal = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bchorizontal"]);
|
||||
try
|
||||
{
|
||||
if (Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0][1]) == true) { this.kopfzeile_generieren = true; }
|
||||
}
|
||||
catch { }
|
||||
|
||||
this.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
|
||||
this.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
|
||||
this.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
|
||||
this.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
|
||||
this.barcode_horizontal = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bchorizontal"]);
|
||||
this.barcode_type = db.dsdaten.Tables[0].Rows[0]["BarcodeType"].ToString();
|
||||
this.barcode_content = db.dsdaten.Tables[0].Rows[0]["DatamatrixContent"].ToString();
|
||||
|
||||
|
||||
string sql = "";
|
||||
sql = "select bcpt, bcpl, bcw, bch, bchorizontal from OnDocBarcodeMpping ";
|
||||
sql = sql + "where orig_bcpt = " + barcode_top.ToString() + " and orig_bcpl=" + barcode_left.ToString() + " ";
|
||||
sql = sql + "and orig_bcw=" + barcode_width.ToString() + " and orig_bch=" + barcode_height.ToString();
|
||||
db.Get_Tabledata(sql, false, true);
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
this.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
|
||||
this.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
|
||||
this.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
|
||||
this.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -384,6 +403,7 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
public void Update_DocGenData()
|
||||
{
|
||||
|
||||
docgendata.partnernr = this.partnernr.ToString();
|
||||
docgendata.inhaberadresse = this.txtPartnerInhaber.Text;
|
||||
docgendata.zustelladresse = this.txtPartnerZusteller.Text;
|
||||
@@ -445,9 +465,13 @@ namespace OnDoc.UIControls
|
||||
dokdata.barcode_width = barcode_width;
|
||||
dokdata.barcode_top = barcode_top;
|
||||
dokdata.barcode_height = barcode_height;
|
||||
dokdata.barcode_zusatz = barcode_zusatz;
|
||||
|
||||
|
||||
dokdata.barcode_horizontal = barcode_horizontal;
|
||||
dokdata.barcode_font = AppParams.barcodefont;
|
||||
dokdata.barcode_fontsize = Convert.ToInt32(AppParams.barcodefontsize);
|
||||
dokdata.barcode_textposition = AppParams.barcodetextposition;
|
||||
dokdata.barcode_type = barcode_type;
|
||||
dokdata.barcode_content = barcode_content;
|
||||
dokdata.barcode_zusatz = "";
|
||||
}
|
||||
private void sfButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -10,30 +10,39 @@
|
||||
</startup>
|
||||
<userSettings>
|
||||
<OnDoc.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="NativVorlagen" serializeAs="String">
|
||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="UseAPI" serializeAs="String">
|
||||
<value>NO</value>
|
||||
</setting>
|
||||
<setting name="apikey" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="StandardWordDruckMakro" serializeAs="String">
|
||||
<value>FilePrintDefault</value>
|
||||
</setting>
|
||||
<setting name="VBVorlagenmanagement" serializeAs="String">
|
||||
<value>Yes</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="NativVorlagen" serializeAs="String">
|
||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="apikey" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="BarcodeFont" serializeAs="String">
|
||||
<value>Arial</value>
|
||||
</setting>
|
||||
<setting name="BarcodeFontSize" serializeAs="String">
|
||||
<value>8</value>
|
||||
</setting>
|
||||
<setting name="BarodeTextPosition" serializeAs="String">
|
||||
<value>Below</value>
|
||||
</setting>
|
||||
</OnDoc.Properties.Settings>
|
||||
</userSettings>
|
||||
<runtime>
|
||||
|
||||
@@ -1 +1 @@
|
||||
f6ccea9e3c71a133ca1f57e98fdde2a07e11150b4ee0bc22217f97cad0eae70e
|
||||
60ab4cb2049d504984728cd482a892ef47cff3515efb3fc167557db319691857
|
||||
|
||||
@@ -251,3 +251,4 @@ E:\Software-Projekte\OnDoc\OnDoc\Client\bin\Debug\de-DE\OnDoc.resources.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\de-DE\OnDoc.resources.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.exe
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.Diverses.SaveAnsicht.resources
|
||||
|
||||
BIN
Client/obj/Debug/OnDoc.Diverses.SaveAnsicht.resources
Normal file
@@ -10,30 +10,39 @@
|
||||
</startup>
|
||||
<userSettings>
|
||||
<OnDoc.Properties.Settings>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="NativVorlagen" serializeAs="String">
|
||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="RESTURI" serializeAs="String">
|
||||
<value>https://localhost:44334/</value>
|
||||
</setting>
|
||||
<setting name="UseAPI" serializeAs="String">
|
||||
<value>NO</value>
|
||||
</setting>
|
||||
<setting name="apikey" serializeAs="String">
|
||||
<value></value>
|
||||
</setting>
|
||||
<setting name="StandardWordDruckMakro" serializeAs="String">
|
||||
<value>FilePrintDefault</value>
|
||||
</setting>
|
||||
<setting name="VBVorlagenmanagement" serializeAs="String">
|
||||
<value>Yes</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="NativVorlagen" serializeAs="String">
|
||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="apikey" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
<setting name="BarcodeFont" serializeAs="String">
|
||||
<value>Arial</value>
|
||||
</setting>
|
||||
<setting name="BarcodeFontSize" serializeAs="String">
|
||||
<value>8</value>
|
||||
</setting>
|
||||
<setting name="BarodeTextPosition" serializeAs="String">
|
||||
<value>Below</value>
|
||||
</setting>
|
||||
</OnDoc.Properties.Settings>
|
||||
</userSettings>
|
||||
<runtime>
|
||||
|
||||