update 20241210
This commit is contained in:
@@ -2,10 +2,14 @@
|
|||||||
using API_NetFramework.Models;
|
using API_NetFramework.Models;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Data.SqlTypes;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
|
using System.Security.Cryptography;
|
||||||
using System.Web.Http;
|
using System.Web.Http;
|
||||||
|
using System.Web.Management;
|
||||||
|
|
||||||
namespace OnDocAPI_NetFramework.Controllers
|
namespace OnDocAPI_NetFramework.Controllers
|
||||||
{
|
{
|
||||||
@@ -27,10 +31,30 @@ namespace OnDocAPI_NetFramework.Controllers
|
|||||||
{
|
{
|
||||||
return Content(HttpStatusCode.Forbidden, empfaenger + ": Email nicht bei der TKB - Mail nicht versandt");
|
return Content(HttpStatusCode.Forbidden, empfaenger + ": Email nicht bei der TKB - Mail nicht versandt");
|
||||||
}
|
}
|
||||||
|
string s = "";
|
||||||
|
try
|
||||||
|
{
|
||||||
|
s = System.Configuration.ConfigurationManager.AppSettings["MailParam"];
|
||||||
|
|
||||||
|
s = s.Replace("$$empfaenger$$", empfaenger);
|
||||||
return Content(HttpStatusCode.OK, "Mail versand noch nicht implementiert");
|
s = s.Replace("$$betreff$$", betreff);
|
||||||
//return Content(HttpStatusCode.OK, empfaenger + ": Mail versandt");
|
s = s.Replace("$$body$$", message);
|
||||||
|
string debugdir = System.Configuration.ConfigurationManager.AppSettings["DebugDir"];
|
||||||
|
string tmpfile = debugdir + @"\Mail_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + ".ps1";
|
||||||
|
StreamWriter writer = new StreamWriter(tmpfile);
|
||||||
|
writer.Write(s);
|
||||||
|
writer.Close();
|
||||||
|
writer.Dispose();
|
||||||
|
System.Diagnostics.Process.Start("powershell.exe", tmpfile);
|
||||||
|
APILogging.Log((HttpRequestMessage)Request, "Mail Versand: " + s, LogLevelType.Debug);
|
||||||
|
//return Content(HttpStatusCode.OK, "Mail versand noch nicht implementiert");
|
||||||
|
return Content(HttpStatusCode.OK, empfaenger + ": Mail versandt");
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
APILogging.Log((HttpRequestMessage)Request, "Mail Versand NOK: " + e.Message+" " + s, LogLevelType.Debug);
|
||||||
|
return Content(HttpStatusCode.InternalServerError, e.Message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_PublishTargetUrl>E:\Software-Projekte\OnDoc\PubServices\OnDoc</_PublishTargetUrl>
|
<_PublishTargetUrl>E:\Software-Projekte\OnDoc\PubServices\OnDoc</_PublishTargetUrl>
|
||||||
<History>True|2024-12-02T08:50:13.5426444Z||;True|2024-12-01T18:53:55.8128003+01:00||;True|2024-11-26T19:32:44.7379810+01:00||;True|2024-11-25T16:02:25.7013060+01:00||;True|2024-11-24T18:56:32.4321643+01:00||;True|2024-11-24T18:48:11.3494435+01:00||;True|2024-11-24T17:50:10.7679996+01:00||;True|2024-11-22T08:35:58.1296657+01:00||;True|2024-11-13T17:47:13.0183160+01:00||;True|2024-11-13T17:46:36.5183689+01:00||;True|2024-11-11T13:42:23.6578245+01:00||;True|2024-11-09T12:11:00.0777236+01:00||;True|2024-11-09T11:54:51.8503924+01:00||;</History>
|
<History>True|2024-12-08T08:59:39.7127943Z||;True|2024-12-08T09:26:52.1924006+01:00||;True|2024-12-02T09:50:13.5426444+01:00||;True|2024-12-01T18:53:55.8128003+01:00||;True|2024-11-26T19:32:44.7379810+01:00||;True|2024-11-25T16:02:25.7013060+01:00||;True|2024-11-24T18:56:32.4321643+01:00||;True|2024-11-24T18:48:11.3494435+01:00||;True|2024-11-24T17:50:10.7679996+01:00||;True|2024-11-22T08:35:58.1296657+01:00||;True|2024-11-13T17:47:13.0183160+01:00||;True|2024-11-13T17:46:36.5183689+01:00||;True|2024-11-11T13:42:23.6578245+01:00||;True|2024-11-09T12:11:00.0777236+01:00||;True|2024-11-09T11:54:51.8503924+01:00||;</History>
|
||||||
<LastFailureDetails />
|
<LastFailureDetails />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -82,10 +82,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<publishTime>09/04/2024 19:25:14</publishTime>
|
<publishTime>09/04/2024 19:25:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BarcodeLib.dll">
|
<File Include="bin/BarcodeLib.dll">
|
||||||
<publishTime>01/12/2024 13:07:40</publishTime>
|
<publishTime>06/12/2024 13:18:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BarcodeLib.pdb">
|
<File Include="bin/BarcodeLib.pdb">
|
||||||
<publishTime>01/12/2024 13:07:40</publishTime>
|
<publishTime>06/12/2024 13:18:14</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/CSVNET.dll">
|
<File Include="bin/CSVNET.dll">
|
||||||
<publishTime>11/23/2024 19:27:07</publishTime>
|
<publishTime>11/23/2024 19:27:07</publishTime>
|
||||||
@@ -94,10 +94,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<publishTime>11/23/2024 19:27:07</publishTime>
|
<publishTime>11/23/2024 19:27:07</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Database.dll">
|
<File Include="bin/Database.dll">
|
||||||
<publishTime>12/02/2024 09:50:12</publishTime>
|
<publishTime>08/12/2024 09:26:49</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Database.pdb">
|
<File Include="bin/Database.pdb">
|
||||||
<publishTime>12/02/2024 09:50:12</publishTime>
|
<publishTime>08/12/2024 09:26:49</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/de/System.Net.Http.Formatting.resources.dll">
|
<File Include="bin/de/System.Net.Http.Formatting.resources.dll">
|
||||||
<publishTime>10/20/2023 22:35:02</publishTime>
|
<publishTime>10/20/2023 22:35:02</publishTime>
|
||||||
@@ -130,13 +130,13 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<publishTime>10/20/2023 22:35:04</publishTime>
|
<publishTime>10/20/2023 22:35:04</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/DOCGEN.dll">
|
<File Include="bin/DOCGEN.dll">
|
||||||
<publishTime>12/02/2024 09:50:12</publishTime>
|
<publishTime>08/12/2024 09:26:49</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/DOCGEN.dll.config">
|
<File Include="bin/DOCGEN.dll.config">
|
||||||
<publishTime>11/25/2024 07:24:47</publishTime>
|
<publishTime>11/25/2024 07:24:47</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/DOCGEN.pdb">
|
<File Include="bin/DOCGEN.pdb">
|
||||||
<publishTime>12/02/2024 09:50:12</publishTime>
|
<publishTime>08/12/2024 09:26:49</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/FastReport.Bars.dll">
|
<File Include="bin/FastReport.Bars.dll">
|
||||||
<publishTime>11/27/2023 09:49:58</publishTime>
|
<publishTime>11/27/2023 09:49:58</publishTime>
|
||||||
@@ -214,10 +214,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<publishTime>11/04/2022 19:09:46</publishTime>
|
<publishTime>11/04/2022 19:09:46</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Model.dll">
|
<File Include="bin/Model.dll">
|
||||||
<publishTime>01/12/2024 18:53:52</publishTime>
|
<publishTime>08/12/2024 09:26:48</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Model.pdb">
|
<File Include="bin/Model.pdb">
|
||||||
<publishTime>01/12/2024 18:53:52</publishTime>
|
<publishTime>08/12/2024 09:26:48</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Newtonsoft.Json.Bson.dll">
|
<File Include="bin/Newtonsoft.Json.Bson.dll">
|
||||||
<publishTime>11/28/2018 00:10:18</publishTime>
|
<publishTime>11/28/2018 00:10:18</publishTime>
|
||||||
@@ -235,22 +235,22 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<publishTime>04/30/2024 21:58:24</publishTime>
|
<publishTime>04/30/2024 21:58:24</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/OfficePrinter.dll">
|
<File Include="bin/OfficePrinter.dll">
|
||||||
<publishTime>11/27/2024 13:31:56</publishTime>
|
<publishTime>07/12/2024 10:39:16</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/OfficePrinter.pdb">
|
<File Include="bin/OfficePrinter.pdb">
|
||||||
<publishTime>11/27/2024 13:31:56</publishTime>
|
<publishTime>07/12/2024 10:39:16</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/OnDocOffice.dll">
|
<File Include="bin/OnDocOffice.dll">
|
||||||
<publishTime>12/02/2024 09:50:12</publishTime>
|
<publishTime>08/12/2024 09:26:48</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/OnDocOffice.pdb">
|
<File Include="bin/OnDocOffice.pdb">
|
||||||
<publishTime>12/02/2024 09:50:12</publishTime>
|
<publishTime>08/12/2024 09:26:48</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/OnDoc_NetFramework.dll">
|
<File Include="bin/OnDoc_NetFramework.dll">
|
||||||
<publishTime>12/02/2024 10:19:11</publishTime>
|
<publishTime>12/08/2024 09:59:38</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/OnDoc_NetFramework.pdb">
|
<File Include="bin/OnDoc_NetFramework.pdb">
|
||||||
<publishTime>12/02/2024 10:19:11</publishTime>
|
<publishTime>12/08/2024 09:59:38</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Owin.dll">
|
<File Include="bin/Owin.dll">
|
||||||
<publishTime>11/13/2012 13:19:34</publishTime>
|
<publishTime>11/13/2012 13:19:34</publishTime>
|
||||||
@@ -634,7 +634,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<publishTime>03/06/2024 08:11:55</publishTime>
|
<publishTime>03/06/2024 08:11:55</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="Web.config">
|
<File Include="Web.config">
|
||||||
<publishTime>01/12/2024 18:53:53</publishTime>
|
<publishTime>12/08/2024 09:59:38</publishTime>
|
||||||
</File>
|
</File>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -30,6 +30,8 @@
|
|||||||
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
||||||
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
||||||
<add key="ExcelDokType" value="2421" />
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="MailParam" value='Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch'/>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,6 +30,8 @@
|
|||||||
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
||||||
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
||||||
<add key="ExcelDokType" value="2421" />
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="MailParam" value='Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch'/>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
||||||
|
|||||||
Binary file not shown.
@@ -2043,3 +2043,9 @@ Parametername: encoder
|
|||||||
2024-12-02 10:10:17.1969|DEBUG|OnDoc|Mailversand: test@tkb.ch11
|
2024-12-02 10:10:17.1969|DEBUG|OnDoc|Mailversand: test@tkb.ch11
|
||||||
2024-12-02 10:11:10.9145|DEBUG|OnDoc|Mailversand: test@tkb.ch324
|
2024-12-02 10:11:10.9145|DEBUG|OnDoc|Mailversand: test@tkb.ch324
|
||||||
2024-12-04 10:19:03.3793|ERROR|OnDoc|Unberechtigter Zugriff
|
2024-12-04 10:19:03.3793|ERROR|OnDoc|Unberechtigter Zugriff
|
||||||
|
2024-12-08 09:00:42.3530|DEBUG|OnDoc|Mailversand: stefan.hutter@tkb.chTest OnDoc-Mail
|
||||||
|
2024-12-08 09:00:43.1082|ERROR|OnDoc|Unberechtigter Zugriff
|
||||||
|
2024-12-08 09:03:11.1409|DEBUG|OnDoc|Mailversand: stefan.hutter@tkb.chtest ondoc-mail
|
||||||
|
2024-12-08 09:03:11.2413|ERROR|OnDoc|Unberechtigter Zugriff
|
||||||
|
2024-12-08 09:03:54.8170|DEBUG|OnDoc|Mail Versand
|
||||||
|
2024-12-08 09:58:27.1958|DEBUG|OnDoc|Mailversand: gaga111
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,6 +30,8 @@
|
|||||||
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
||||||
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
||||||
<add key="ExcelDokType" value="2421" />
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,6 +30,8 @@
|
|||||||
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
||||||
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
||||||
<add key="ExcelDokType" value="2421" />
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="MailParam" value='Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch'/>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
||||||
|
|||||||
@@ -30,6 +30,8 @@
|
|||||||
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
<add key="ArchivierungOfficeFormat" value="1983,2396,2397,2421" />
|
||||||
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
<add key="ExcelValueFile" value="x:\exceldata.csv" />
|
||||||
<add key="ExcelDokType" value="2421" />
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="ExcelDokType" value="2421" />
|
||||||
|
<add key="MailParam" value="Send-MailMessage -from "OnDoc@tkb.ch" -to "$$empfaenger$$" -Subject "$$betreff$$" -Body "$$body$$" -smtpServer smtp.tgcorp.ch" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<connectionStrings>
|
<connectionStrings>
|
||||||
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
<add name="EDOKAConnectionstring" connectionString="Po7oIigu4hOz6zXOpaSnrhveCQyfGgFeskvEQsvm3CEgxjJMEYYDEbnWlt9Qr9vGTkzqm5hvURTLA1hKVU++/ozcvT5qIVTpDLBTKd4AM/4YgN3+L9cx3mxMoWmv1JMjqxZVbR6GYiuSo1xuD05sl3IGoUenfugP6hBP/IC7MjUjisDUE6msFpWiraJr53gcfDvIrc2CUBTVUS+f94kewhlKxjtEohtCM71PN2zpoMiPyBIuXDyrYlYyokUOg6uV" />
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,7 @@
|
|||||||
<value>NO</value>
|
<value>NO</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="StandardWordDruckMakro" serializeAs="String">
|
<setting name="StandardWordDruckMakro" serializeAs="String">
|
||||||
<value>FilePrintDefault</value>
|
<value>DateiDrukenStandard</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="VBVorlagenmanagement" serializeAs="String">
|
<setting name="VBVorlagenmanagement" serializeAs="String">
|
||||||
<value>Yes</value>
|
<value>Yes</value>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<value />
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="NativVorlagen" serializeAs="String">
|
<setting name="NativVorlagen" serializeAs="String">
|
||||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
<value>E:\Software-Projekte\OnDoc\TKB-Vorlagen\</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||||
<value />
|
<value />
|
||||||
@@ -47,7 +47,13 @@
|
|||||||
<value>Arial</value>
|
<value>Arial</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="ZusatzFontSize" serializeAs="String">
|
<setting name="ZusatzFontSize" serializeAs="String">
|
||||||
<value>14</value>
|
<value>9</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="edokapath" serializeAs="String">
|
||||||
|
<value>E:\Software-Projekte\EDOKA\Cleint_Erneuerung_DMS_Framwork48 - Kopie\EDOKA\bin\edoka.exe</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="OfficeWatchTimerIntervall" serializeAs="String">
|
||||||
|
<value>5000</value>
|
||||||
</setting>
|
</setting>
|
||||||
</OnDoc.Properties.Settings>
|
</OnDoc.Properties.Settings>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
|
|||||||
@@ -149,6 +149,12 @@
|
|||||||
<Compile Include="Diverses\SaveAnsicht.Designer.cs">
|
<Compile Include="Diverses\SaveAnsicht.Designer.cs">
|
||||||
<DependentUpon>SaveAnsicht.cs</DependentUpon>
|
<DependentUpon>SaveAnsicht.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Diverses\SplashScreen.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Diverses\SplashScreen.Designer.cs">
|
||||||
|
<DependentUpon>SplashScreen.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Diverses\testx.cs">
|
<Compile Include="Diverses\testx.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -382,6 +388,9 @@
|
|||||||
<EmbeddedResource Include="Diverses\SaveAnsicht.resx">
|
<EmbeddedResource Include="Diverses\SaveAnsicht.resx">
|
||||||
<DependentUpon>SaveAnsicht.cs</DependentUpon>
|
<DependentUpon>SaveAnsicht.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Diverses\SplashScreen.resx">
|
||||||
|
<DependentUpon>SplashScreen.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Diverses\testx.resx">
|
<EmbeddedResource Include="Diverses\testx.resx">
|
||||||
<DependentUpon>testx.cs</DependentUpon>
|
<DependentUpon>testx.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||||
<StartArguments>K:\EDOKA\EDK_Dateien\3bv.edk</StartArguments>
|
<StartArguments>
|
||||||
|
</StartArguments>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PublishUrlHistory>publish\</PublishUrlHistory>
|
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||||
|
|||||||
10
Client/Diverses/NativVorlagen.Designer.cs
generated
10
Client/Diverses/NativVorlagen.Designer.cs
generated
@@ -54,7 +54,7 @@
|
|||||||
//
|
//
|
||||||
// treeView
|
// treeView
|
||||||
//
|
//
|
||||||
this.treeView.Dock = System.Windows.Forms.DockStyle.Left;
|
this.treeView.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.treeView.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
|
this.treeView.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
|
||||||
this.treeView.FullRowSelect = true;
|
this.treeView.FullRowSelect = true;
|
||||||
this.treeView.HideSelection = false;
|
this.treeView.HideSelection = false;
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
this.treeView.Location = new System.Drawing.Point(2, 2);
|
this.treeView.Location = new System.Drawing.Point(2, 2);
|
||||||
this.treeView.Name = "treeView";
|
this.treeView.Name = "treeView";
|
||||||
this.treeView.SelectedImageIndex = 0;
|
this.treeView.SelectedImageIndex = 0;
|
||||||
this.treeView.Size = new System.Drawing.Size(296, 446);
|
this.treeView.Size = new System.Drawing.Size(294, 403);
|
||||||
this.treeView.TabIndex = 1;
|
this.treeView.TabIndex = 1;
|
||||||
this.treeView.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.treeView_DrawNode);
|
this.treeView.DrawNode += new System.Windows.Forms.DrawTreeNodeEventHandler(this.treeView_DrawNode);
|
||||||
this.treeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_NodeMouseDoubleClick);
|
this.treeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_NodeMouseDoubleClick);
|
||||||
@@ -121,9 +121,9 @@
|
|||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
//
|
//
|
||||||
this.button1.Location = new System.Drawing.Point(319, 422);
|
this.button1.Location = new System.Drawing.Point(2, 411);
|
||||||
this.button1.Name = "button1";
|
this.button1.Name = "button1";
|
||||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
this.button1.Size = new System.Drawing.Size(294, 23);
|
||||||
this.button1.TabIndex = 4;
|
this.button1.TabIndex = 4;
|
||||||
this.button1.Text = "Erstellen";
|
this.button1.Text = "Erstellen";
|
||||||
this.button1.UseVisualStyleBackColor = true;
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(533, 450);
|
this.ClientSize = new System.Drawing.Size(298, 450);
|
||||||
this.Controls.Add(this.button1);
|
this.Controls.Add(this.button1);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Controls.Add(this.treeView);
|
this.Controls.Add(this.treeView);
|
||||||
|
|||||||
@@ -97,13 +97,14 @@ namespace OnDoc.Diverses
|
|||||||
|
|
||||||
foreach (FileInfo file in directoryInfo.GetFiles())
|
foreach (FileInfo file in directoryInfo.GetFiles())
|
||||||
{
|
{
|
||||||
if (file.Exists && file.Name!="klassifizierung.txt")
|
if (file.Exists && file.Name!="Klassifizierung.txt")
|
||||||
{
|
{
|
||||||
|
|
||||||
ext = System.IO.Path.GetExtension(file.Name);
|
ext = System.IO.Path.GetExtension(file.Name);
|
||||||
TreeNode tnnew = new TreeNode();
|
TreeNode tnnew = new TreeNode();
|
||||||
tnnew.Text = file.Name;
|
tnnew.Text = file.Name;
|
||||||
tnnew.Tag = file.FullName;
|
tnnew.Tag = file.FullName;
|
||||||
|
Logging.Logging.Debug("Load Nativ: " + file.FullName,"OnDoc","");
|
||||||
tnnew.ImageIndex = 4;
|
tnnew.ImageIndex = 4;
|
||||||
|
|
||||||
if (ext.Length > 2)
|
if (ext.Length > 2)
|
||||||
@@ -257,55 +258,72 @@ namespace OnDoc.Diverses
|
|||||||
catch { }
|
catch { }
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
string tempfilename = treeNode.Tag.ToString();
|
string tempfilename = treeNode.Tag.ToString();
|
||||||
|
Logging.Logging.Debug("Nativ-Vorlage: " + tempfilename, "OnDoc", "");
|
||||||
if (tempfilename == "") { return; }
|
if (tempfilename == "") { return; }
|
||||||
|
|
||||||
//string tempdir = AppParams.tempdir + "\nativdoks";
|
//string tempdir = AppParams.tempdir + "\nativdoks";
|
||||||
|
|
||||||
string ext = System.IO.Path.GetExtension(tempfilename);
|
string ext = System.IO.Path.GetExtension(tempfilename);
|
||||||
Logging.Logging.Debug("Native-Vorlage erstellen", "OnDoc", tempfilename);
|
Logging.Logging.Debug("Native-Vorlage erstellen", "OnDoc", tempfilename);
|
||||||
if (ext.Length > 2)
|
string tempfilename1 = "";
|
||||||
{
|
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||||
ext = ext.Substring(0, 2).ToUpper();
|
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||||
string tempfilename1 = "";
|
|
||||||
switch (ext)
|
|
||||||
{
|
|
||||||
case ".D":
|
|
||||||
DOCGEN.Klassen.SyncFWord sf = new DOCGEN.Klassen.SyncFWord("","");
|
|
||||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
|
||||||
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
|
||||||
sf.create_nativ("Klassifizierung", klassifizierung, "", tempfilename, tempfilename1);
|
|
||||||
System.Diagnostics.Process.Start("winword.exe", " /t" + tempfilename1);
|
|
||||||
|
|
||||||
//System.Diagnostics.Process.Start("winword.exe", " /t" + tempfilename);
|
System.IO.File.Copy(tempfilename, tempfilename1, true);
|
||||||
break;
|
Process.Start(tempfilename1);
|
||||||
case ".X":
|
// if (ext.Length > 2)
|
||||||
DOCGEN.Klassen.SyncFExcel ef = new DOCGEN.Klassen.SyncFExcel();
|
// {
|
||||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
// ext = ext.Substring(0, 2).ToUpper();
|
||||||
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
// string tempfilename1 = "";
|
||||||
|
// switch (ext)
|
||||||
|
// {
|
||||||
|
// case ".D":
|
||||||
|
//// DOCGEN.Klassen.SyncFWord sf = new DOCGEN.Klassen.SyncFWord("","");
|
||||||
|
// tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||||
|
// tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||||
|
// System.IO.File.Copy(tempfilename,tempfilename1,true);
|
||||||
|
|
||||||
ef.create_nativ("Klassifizierung", klassifizierung, "", tempfilename, tempfilename1);
|
// // Logging.Logging.Debug("sfcreate.native", "OnDoc", tempfilename1);
|
||||||
|
// // sf.create_nativ("Klassifizierung", klassifizierung, "", tempfilename, tempfilename1);
|
||||||
|
// System.Diagnostics.Process.Start("winword.exe", " /t" + tempfilename1);
|
||||||
|
|
||||||
System.Diagnostics.Process.Start("excel.exe", " /t " + tempfilename1);
|
// //System.Diagnostics.Process.Start("winword.exe", " /t" + tempfilename);
|
||||||
break;
|
// break;
|
||||||
case ".P":
|
// case ".X":
|
||||||
DOCGEN.Klassen.SyncFPowerPoint pf = new DOCGEN.Klassen.SyncFPowerPoint();
|
// //DOCGEN.Klassen.SyncFExcel ef = new DOCGEN.Klassen.SyncFExcel();
|
||||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
// tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||||
tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
// tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||||
pf.create_nativ("Klassifizierung", klassifizierung,"",tempfilename,tempfilename1);
|
// System.IO.File.Copy(tempfilename,tempfilename1,true);
|
||||||
System.Diagnostics.Process.Start("POWERPNT.EXE", " /N " + tempfilename1);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
|
||||||
tempfilename1 = AppParams.tempdir+ "" + DateTime.Now.ToString("yyyyMMddhhmmss") +tempfilename1;
|
|
||||||
System.IO.File.Copy(tempfilename,tempfilename1, true);
|
|
||||||
Process.Start(tempfilename1);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
// //ef.create_nativ("Klassifizierung", klassifizierung, "", tempfilename, tempfilename1);
|
||||||
|
|
||||||
|
// System.Diagnostics.Process.Start("excel.exe", " /t " + tempfilename1);
|
||||||
|
// break;
|
||||||
|
// case ".P":
|
||||||
|
|
||||||
|
// //DOCGEN.Klassen.SyncFPowerPoint pf = new DOCGEN.Klassen.SyncFPowerPoint();
|
||||||
|
// tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||||
|
// tempfilename1 = AppParams.tempdir + "" + DateTime.Now.ToString("yyyyMMddhhmmss") + tempfilename1;
|
||||||
|
// System.IO.File.Copy(tempfilename, tempfilename1,true);
|
||||||
|
// //pf.create_nativ("Klassifizierung", klassifizierung,"",tempfilename,tempfilename1);
|
||||||
|
// System.Diagnostics.Process.Start("POWERPNT.EXE", " /N " + tempfilename1);
|
||||||
|
// break;
|
||||||
|
// default:
|
||||||
|
// tempfilename1 = System.IO.Path.GetFileName(tempfilename);
|
||||||
|
// tempfilename1 = AppParams.tempdir+ "" + DateTime.Now.ToString("yyyyMMddhhmmss") +tempfilename1;
|
||||||
|
|
||||||
|
// System.IO.File.Copy(tempfilename,tempfilename1, true);
|
||||||
|
// Process.Start(tempfilename1);
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
catch (Exception e) {
|
||||||
|
Logging.Logging.Debug("Start Nativ: " + e.Message, "OnDoc", "");
|
||||||
}
|
}
|
||||||
catch { }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void button1_Click(object sender, EventArgs e)
|
private void button1_Click(object sender, EventArgs e)
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB4
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB4
|
||||||
DAAAAk1TRnQBSQFMAgEBBQEAAUABAAFAAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
DAAAAk1TRnQBSQFMAgEBBQEAAUgBAAFIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||||
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||||
|
|||||||
95
Client/Diverses/SplashScreen.Designer.cs
generated
Normal file
95
Client/Diverses/SplashScreen.Designer.cs
generated
Normal file
@@ -0,0 +1,95 @@
|
|||||||
|
namespace OnDoc.Diverses
|
||||||
|
{
|
||||||
|
partial class SplashScreen
|
||||||
|
{
|
||||||
|
/// <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()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplashScreen));
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.ErrorImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.ErrorImage")));
|
||||||
|
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||||
|
this.pictureBox1.InitialImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.InitialImage")));
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(104, 25);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(261, 258);
|
||||||
|
this.pictureBox1.TabIndex = 0;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label1.Location = new System.Drawing.Point(164, 304);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(122, 26);
|
||||||
|
this.label1.TabIndex = 1;
|
||||||
|
this.label1.Text = "Version 0.8";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label2.Location = new System.Drawing.Point(129, 339);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(203, 26);
|
||||||
|
this.label2.TabIndex = 2;
|
||||||
|
this.label2.Text = "11. Dezember 2024";
|
||||||
|
//
|
||||||
|
// SplashScreen
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.BackColor = System.Drawing.Color.White;
|
||||||
|
this.ClientSize = new System.Drawing.Size(469, 396);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.Name = "SplashScreen";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "SplashScreen";
|
||||||
|
this.Shown += new System.EventHandler(this.SplashScreen_Shown);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
}
|
||||||
|
}
|
||||||
39
Client/Diverses/SplashScreen.cs
Normal file
39
Client/Diverses/SplashScreen.cs
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
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 SplashScreen : Form
|
||||||
|
{
|
||||||
|
Timer tmr;
|
||||||
|
public SplashScreen()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
Application.DoEvents();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SplashScreen_Shown(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
tmr = new Timer();
|
||||||
|
tmr.Interval = 5000;
|
||||||
|
tmr.Start();
|
||||||
|
Application.DoEvents();
|
||||||
|
tmr.Tick += tmr_Tick;
|
||||||
|
}
|
||||||
|
|
||||||
|
void tmr_Tick(object sender, EventArgs e)
|
||||||
|
|
||||||
|
{
|
||||||
|
Application.DoEvents();
|
||||||
|
tmr.Stop();
|
||||||
|
this.Hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
13243
Client/Diverses/SplashScreen.resx
Normal file
13243
Client/Diverses/SplashScreen.resx
Normal file
File diff suppressed because it is too large
Load Diff
92
Client/DocMgmt/Dokumenterstellung.Designer.cs
generated
92
Client/DocMgmt/Dokumenterstellung.Designer.cs
generated
@@ -29,11 +29,10 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dokumenterstellung));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dokumenterstellung));
|
||||||
Model.clsdocgendata clsdocgendata2 = new Model.clsdocgendata();
|
Model.clsdocgendata clsdocgendata1 = new Model.clsdocgendata();
|
||||||
this.sfButton3 = new Syncfusion.WinForms.Controls.SfButton();
|
this.sfButton3 = new Syncfusion.WinForms.Controls.SfButton();
|
||||||
this.btnDokumenterstellen = new Syncfusion.WinForms.Controls.SfButton();
|
this.btnDokumenterstellen = new Syncfusion.WinForms.Controls.SfButton();
|
||||||
this.PnlPreview = new System.Windows.Forms.Panel();
|
this.PnlPreview = new System.Windows.Forms.Panel();
|
||||||
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
|
||||||
this.GrpFnkt = new System.Windows.Forms.GroupBox();
|
this.GrpFnkt = new System.Windows.Forms.GroupBox();
|
||||||
this.btnOfficePrint = new System.Windows.Forms.Button();
|
this.btnOfficePrint = new System.Windows.Forms.Button();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
@@ -48,6 +47,8 @@
|
|||||||
this.lbledit = new System.Windows.Forms.Label();
|
this.lbledit = new System.Windows.Forms.Label();
|
||||||
this.button2 = new System.Windows.Forms.Button();
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
|
this.docPreview1 = new OnDoc.UIControls.DocPreview();
|
||||||
this.ucAllgemeineDokumentParam1 = new OnDoc.UIControls.UCAllgemeineDokumentParam();
|
this.ucAllgemeineDokumentParam1 = new OnDoc.UIControls.UCAllgemeineDokumentParam();
|
||||||
this.PnlPreview.SuspendLayout();
|
this.PnlPreview.SuspendLayout();
|
||||||
this.GrpFnkt.SuspendLayout();
|
this.GrpFnkt.SuspendLayout();
|
||||||
@@ -83,18 +84,10 @@
|
|||||||
this.PnlPreview.TabIndex = 19;
|
this.PnlPreview.TabIndex = 19;
|
||||||
this.PnlPreview.Visible = false;
|
this.PnlPreview.Visible = false;
|
||||||
//
|
//
|
||||||
// docPreview1
|
|
||||||
//
|
|
||||||
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.docPreview1.Location = new System.Drawing.Point(0, 123);
|
|
||||||
this.docPreview1.Name = "docPreview1";
|
|
||||||
this.docPreview1.Size = new System.Drawing.Size(668, 292);
|
|
||||||
this.docPreview1.TabIndex = 1;
|
|
||||||
this.docPreview1.ZoomPercentage = 0;
|
|
||||||
//
|
|
||||||
// GrpFnkt
|
// GrpFnkt
|
||||||
//
|
//
|
||||||
this.GrpFnkt.BackColor = System.Drawing.Color.SeaShell;
|
this.GrpFnkt.BackColor = System.Drawing.Color.SeaShell;
|
||||||
|
this.GrpFnkt.Controls.Add(this.label7);
|
||||||
this.GrpFnkt.Controls.Add(this.btnOfficePrint);
|
this.GrpFnkt.Controls.Add(this.btnOfficePrint);
|
||||||
this.GrpFnkt.Controls.Add(this.label6);
|
this.GrpFnkt.Controls.Add(this.label6);
|
||||||
this.GrpFnkt.Controls.Add(this.label5);
|
this.GrpFnkt.Controls.Add(this.label5);
|
||||||
@@ -120,7 +113,7 @@
|
|||||||
// btnOfficePrint
|
// btnOfficePrint
|
||||||
//
|
//
|
||||||
this.btnOfficePrint.Image = global::OnDoc.Properties.Resources.Printer_48x48_32;
|
this.btnOfficePrint.Image = global::OnDoc.Properties.Resources.Printer_48x48_32;
|
||||||
this.btnOfficePrint.Location = new System.Drawing.Point(419, 19);
|
this.btnOfficePrint.Location = new System.Drawing.Point(289, 17);
|
||||||
this.btnOfficePrint.Name = "btnOfficePrint";
|
this.btnOfficePrint.Name = "btnOfficePrint";
|
||||||
this.btnOfficePrint.Size = new System.Drawing.Size(74, 79);
|
this.btnOfficePrint.Size = new System.Drawing.Size(74, 79);
|
||||||
this.btnOfficePrint.TabIndex = 12;
|
this.btnOfficePrint.TabIndex = 12;
|
||||||
@@ -131,7 +124,7 @@
|
|||||||
// label6
|
// label6
|
||||||
//
|
//
|
||||||
this.label6.AutoSize = true;
|
this.label6.AutoSize = true;
|
||||||
this.label6.Location = new System.Drawing.Point(334, 99);
|
this.label6.Location = new System.Drawing.Point(515, 101);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
this.label6.Size = new System.Drawing.Size(79, 13);
|
this.label6.Size = new System.Drawing.Size(79, 13);
|
||||||
this.label6.TabIndex = 11;
|
this.label6.TabIndex = 11;
|
||||||
@@ -141,7 +134,7 @@
|
|||||||
// label5
|
// label5
|
||||||
//
|
//
|
||||||
this.label5.AutoSize = true;
|
this.label5.AutoSize = true;
|
||||||
this.label5.Location = new System.Drawing.Point(345, 86);
|
this.label5.Location = new System.Drawing.Point(525, 88);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(60, 13);
|
this.label5.Size = new System.Drawing.Size(60, 13);
|
||||||
this.label5.TabIndex = 10;
|
this.label5.TabIndex = 10;
|
||||||
@@ -151,7 +144,7 @@
|
|||||||
// ribbonButtonVersandstrasse
|
// ribbonButtonVersandstrasse
|
||||||
//
|
//
|
||||||
this.ribbonButtonVersandstrasse.Image = global::OnDoc.Properties.Resources.Versandstrasse_48x48_32;
|
this.ribbonButtonVersandstrasse.Image = global::OnDoc.Properties.Resources.Versandstrasse_48x48_32;
|
||||||
this.ribbonButtonVersandstrasse.Location = new System.Drawing.Point(338, 15);
|
this.ribbonButtonVersandstrasse.Location = new System.Drawing.Point(519, 17);
|
||||||
this.ribbonButtonVersandstrasse.Name = "ribbonButtonVersandstrasse";
|
this.ribbonButtonVersandstrasse.Name = "ribbonButtonVersandstrasse";
|
||||||
this.ribbonButtonVersandstrasse.Size = new System.Drawing.Size(75, 81);
|
this.ribbonButtonVersandstrasse.Size = new System.Drawing.Size(75, 81);
|
||||||
this.ribbonButtonVersandstrasse.TabIndex = 9;
|
this.ribbonButtonVersandstrasse.TabIndex = 9;
|
||||||
@@ -163,7 +156,7 @@
|
|||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.AutoSize = true;
|
this.label4.AutoSize = true;
|
||||||
this.label4.Location = new System.Drawing.Point(264, 84);
|
this.label4.Location = new System.Drawing.Point(376, 91);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
this.label4.Size = new System.Drawing.Size(60, 13);
|
this.label4.Size = new System.Drawing.Size(60, 13);
|
||||||
this.label4.TabIndex = 8;
|
this.label4.TabIndex = 8;
|
||||||
@@ -172,7 +165,7 @@
|
|||||||
// ribbonButtonArchiv
|
// ribbonButtonArchiv
|
||||||
//
|
//
|
||||||
this.ribbonButtonArchiv.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonArchiv.Image")));
|
this.ribbonButtonArchiv.Image = ((System.Drawing.Image)(resources.GetObject("ribbonButtonArchiv.Image")));
|
||||||
this.ribbonButtonArchiv.Location = new System.Drawing.Point(257, 16);
|
this.ribbonButtonArchiv.Location = new System.Drawing.Point(369, 20);
|
||||||
this.ribbonButtonArchiv.Name = "ribbonButtonArchiv";
|
this.ribbonButtonArchiv.Name = "ribbonButtonArchiv";
|
||||||
this.ribbonButtonArchiv.Size = new System.Drawing.Size(75, 81);
|
this.ribbonButtonArchiv.Size = new System.Drawing.Size(75, 81);
|
||||||
this.ribbonButtonArchiv.TabIndex = 7;
|
this.ribbonButtonArchiv.TabIndex = 7;
|
||||||
@@ -249,6 +242,24 @@
|
|||||||
this.button1.UseVisualStyleBackColor = true;
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||||
//
|
//
|
||||||
|
// label7
|
||||||
|
//
|
||||||
|
this.label7.AutoSize = true;
|
||||||
|
this.label7.Location = new System.Drawing.Point(303, 86);
|
||||||
|
this.label7.Name = "label7";
|
||||||
|
this.label7.Size = new System.Drawing.Size(48, 13);
|
||||||
|
this.label7.TabIndex = 13;
|
||||||
|
this.label7.Text = "Drucken";
|
||||||
|
//
|
||||||
|
// docPreview1
|
||||||
|
//
|
||||||
|
this.docPreview1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.docPreview1.Location = new System.Drawing.Point(0, 123);
|
||||||
|
this.docPreview1.Name = "docPreview1";
|
||||||
|
this.docPreview1.Size = new System.Drawing.Size(668, 292);
|
||||||
|
this.docPreview1.TabIndex = 1;
|
||||||
|
this.docPreview1.ZoomPercentage = 0;
|
||||||
|
//
|
||||||
// ucAllgemeineDokumentParam1
|
// ucAllgemeineDokumentParam1
|
||||||
//
|
//
|
||||||
this.ucAllgemeineDokumentParam1.ausDokumentpaket = false;
|
this.ucAllgemeineDokumentParam1.ausDokumentpaket = false;
|
||||||
@@ -256,29 +267,29 @@
|
|||||||
this.ucAllgemeineDokumentParam1.bpperson_error_type = 0;
|
this.ucAllgemeineDokumentParam1.bpperson_error_type = 0;
|
||||||
this.ucAllgemeineDokumentParam1.check_error = "";
|
this.ucAllgemeineDokumentParam1.check_error = "";
|
||||||
this.ucAllgemeineDokumentParam1.checkpartner = true;
|
this.ucAllgemeineDokumentParam1.checkpartner = true;
|
||||||
clsdocgendata2.bezeichnung = null;
|
clsdocgendata1.bezeichnung = null;
|
||||||
clsdocgendata2.digitaleunterschrift = false;
|
clsdocgendata1.digitaleunterschrift = false;
|
||||||
clsdocgendata2.dokumentdatum = null;
|
clsdocgendata1.dokumentdatum = null;
|
||||||
clsdocgendata2.dokumenttypnr = null;
|
clsdocgendata1.dokumenttypnr = null;
|
||||||
clsdocgendata2.dokumentwerte = null;
|
clsdocgendata1.dokumentwerte = null;
|
||||||
clsdocgendata2.ersteller = null;
|
clsdocgendata1.ersteller = null;
|
||||||
clsdocgendata2.erstelling_in_office = false;
|
clsdocgendata1.erstelling_in_office = false;
|
||||||
clsdocgendata2.erstellungsart = Model.Erstellungsart.DokumentBearbeiten;
|
clsdocgendata1.erstellungsart = Model.Erstellungsart.DokumentBearbeiten;
|
||||||
clsdocgendata2.frormularOhneUnterschrift = false;
|
clsdocgendata1.frormularOhneUnterschrift = false;
|
||||||
clsdocgendata2.inhaberadresse = null;
|
clsdocgendata1.inhaberadresse = null;
|
||||||
clsdocgendata2.logo = "";
|
clsdocgendata1.logo = "";
|
||||||
clsdocgendata2.partnernr = null;
|
clsdocgendata1.partnernr = null;
|
||||||
clsdocgendata2.postzustellung = null;
|
clsdocgendata1.postzustellung = null;
|
||||||
clsdocgendata2.status = null;
|
clsdocgendata1.status = null;
|
||||||
clsdocgendata2.team = null;
|
clsdocgendata1.team = null;
|
||||||
clsdocgendata2.unterschriftLinks = null;
|
clsdocgendata1.unterschriftLinks = null;
|
||||||
clsdocgendata2.unterschriftRehts = null;
|
clsdocgendata1.unterschriftRehts = null;
|
||||||
clsdocgendata2.verantwortlich = null;
|
clsdocgendata1.verantwortlich = null;
|
||||||
clsdocgendata2.versandstrasse_moeglich = false;
|
clsdocgendata1.versandstrasse_moeglich = false;
|
||||||
clsdocgendata2.zustaendigkube = null;
|
clsdocgendata1.zustaendigkube = null;
|
||||||
clsdocgendata2.zustaendigmitarbeiter = null;
|
clsdocgendata1.zustaendigmitarbeiter = null;
|
||||||
clsdocgendata2.zustelladresse = null;
|
clsdocgendata1.zustelladresse = null;
|
||||||
this.ucAllgemeineDokumentParam1.docgendata = clsdocgendata2;
|
this.ucAllgemeineDokumentParam1.docgendata = clsdocgendata1;
|
||||||
this.ucAllgemeineDokumentParam1.dokumenttypnr = 0;
|
this.ucAllgemeineDokumentParam1.dokumenttypnr = 0;
|
||||||
this.ucAllgemeineDokumentParam1.genertated_dokumentid = null;
|
this.ucAllgemeineDokumentParam1.genertated_dokumentid = null;
|
||||||
this.ucAllgemeineDokumentParam1.interop = false;
|
this.ucAllgemeineDokumentParam1.interop = false;
|
||||||
@@ -336,5 +347,6 @@
|
|||||||
private System.Windows.Forms.Label lbledit;
|
private System.Windows.Forms.Label lbledit;
|
||||||
private System.Windows.Forms.Button button2;
|
private System.Windows.Forms.Button button2;
|
||||||
private System.Windows.Forms.Button btnOfficePrint;
|
private System.Windows.Forms.Button btnOfficePrint;
|
||||||
|
private System.Windows.Forms.Label label7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -253,15 +253,31 @@ namespace OnDoc.DocMgmt
|
|||||||
private void btnOfficePrint_Click(object sender, EventArgs e)
|
private void btnOfficePrint_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
clsdok dok = new clsdok("", "", "");
|
clsdok dok = new clsdok("", "", "");
|
||||||
OfficePrinter.OnDocOffice op = new OfficePrinter.OnDocOffice();
|
|
||||||
DocGet gd = new DocGet(AppParams.connectionstring);
|
DocGet gd = new DocGet(AppParams.connectionstring);
|
||||||
{
|
{
|
||||||
dok = gd.GetDoc(dokumentid);
|
dok = gd.GetDoc(dokumentid);
|
||||||
}
|
}
|
||||||
Helper.FileHelper fh = new Helper.FileHelper();
|
if (dok.doktype == "D")
|
||||||
string Filename = AppParams.tempdir + dokumentid + "." + dok.extension;
|
{
|
||||||
fh.SaveBase64ToFile(dok.dokument, Filename );
|
OfficePrinter.OnDocOffice op = new OfficePrinter.OnDocOffice();
|
||||||
op.PrintInWord(Filename, AppParams.wordprintmacro);
|
Helper.FileHelper fh = new Helper.FileHelper();
|
||||||
|
string Filename = AppParams.tempdir + dokumentid + "." + dok.extension;
|
||||||
|
fh.SaveBase64ToFile(dok.dokument, Filename);
|
||||||
|
op.PrintInWord(Filename, AppParams.wordprintmacro);
|
||||||
|
op = null;
|
||||||
|
}
|
||||||
|
if (dok.doktype == "P")
|
||||||
|
{
|
||||||
|
docPreview1.printpdf();
|
||||||
|
}
|
||||||
|
if (dok.doktype == "X")
|
||||||
|
{
|
||||||
|
Helper.FileHelper fh = new Helper.FileHelper();
|
||||||
|
string Filename = AppParams.tempdir + dokumentid + "." + dok.extension;
|
||||||
|
fh.SaveBase64ToFile(dok.dokument, Filename);
|
||||||
|
System.Diagnostics.Process.Start("winword.exe", "/w " + Filename);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ using Windows.Perception.Spatial;
|
|||||||
using static Model.OnBaseDocUpload;
|
using static Model.OnBaseDocUpload;
|
||||||
using static BroadcastListener.Classes.Factory;
|
using static BroadcastListener.Classes.Factory;
|
||||||
using Microsoft.Office.Interop.Excel;
|
using Microsoft.Office.Interop.Excel;
|
||||||
|
using Microsoft.SqlServer.Server;
|
||||||
|
|
||||||
|
|
||||||
namespace OnDoc.UIControls
|
namespace OnDoc.UIControls
|
||||||
@@ -94,7 +95,7 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
if (message == "BtnSBVorschau")
|
if (message == "BtnSBVorschau")
|
||||||
{
|
{
|
||||||
if (sender.SenderName=="Serienbriefbearbeitung")
|
if (sender.SenderName == "Serienbriefbearbeitung")
|
||||||
{
|
{
|
||||||
string[] details = sender.Function.Split(' ');
|
string[] details = sender.Function.Split(' ');
|
||||||
foreach (System.Data.DataRow dr in sb.dsempfaenger.Tables[0].Rows)
|
foreach (System.Data.DataRow dr in sb.dsempfaenger.Tables[0].Rows)
|
||||||
@@ -102,7 +103,7 @@ namespace OnDoc.UIControls
|
|||||||
if (dr[0].ToString() == details[0].ToString())
|
if (dr[0].ToString() == details[0].ToString())
|
||||||
{
|
{
|
||||||
IsPreview = true;
|
IsPreview = true;
|
||||||
PreviewFiename = sender.Details.ToString()+".tmp";
|
PreviewFiename = sender.Details.ToString() + ".tmp";
|
||||||
ribbonbuttonsave_Click(sender, null);
|
ribbonbuttonsave_Click(sender, null);
|
||||||
Generate(Convert.ToInt32(dr["intEintragnr"]));
|
Generate(Convert.ToInt32(dr["intEintragnr"]));
|
||||||
System.IO.File.Delete(PreviewFiename);
|
System.IO.File.Delete(PreviewFiename);
|
||||||
@@ -112,7 +113,7 @@ namespace OnDoc.UIControls
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (message== "BtnSBVorschauSave")
|
if (message == "BtnSBVorschauSave")
|
||||||
{
|
{
|
||||||
ribbonbuttonsave_Click(sender, null);
|
ribbonbuttonsave_Click(sender, null);
|
||||||
}
|
}
|
||||||
@@ -130,7 +131,7 @@ namespace OnDoc.UIControls
|
|||||||
ribbonbuttonsave.Enabled = false;
|
ribbonbuttonsave.Enabled = false;
|
||||||
ribbonButtonDelete.Enabled = false;
|
ribbonButtonDelete.Enabled = false;
|
||||||
RibbonButtonExcelImport.Enabled = false;
|
RibbonButtonExcelImport.Enabled = false;
|
||||||
ribbonbuttonaddpartner.Enabled= false;
|
ribbonbuttonaddpartner.Enabled = false;
|
||||||
ribbonButtonPartnerPruefen.Enabled = false;
|
ribbonButtonPartnerPruefen.Enabled = false;
|
||||||
ribbonButtonVorlageBearbeiten.Enabled = false;
|
ribbonButtonVorlageBearbeiten.Enabled = false;
|
||||||
ribbonbuttonaddpartner.Enabled = false;
|
ribbonbuttonaddpartner.Enabled = false;
|
||||||
@@ -233,6 +234,7 @@ namespace OnDoc.UIControls
|
|||||||
|
|
||||||
private void RibbonButtonExcelImport_Click(object sender, EventArgs e)
|
private void RibbonButtonExcelImport_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
System.Data.DataTable importdata = new System.Data.DataTable();
|
System.Data.DataTable importdata = new System.Data.DataTable();
|
||||||
openFileDialog1.Filter = "Excel-Dateien files (*.xlsx)|*.xlsx|CSV-Dateien (*.csv)|*.csv|Alle Dateien (*.*)|*.*";
|
openFileDialog1.Filter = "Excel-Dateien files (*.xlsx)|*.xlsx|CSV-Dateien (*.csv)|*.csv|Alle Dateien (*.*)|*.*";
|
||||||
openFileDialog1.FilterIndex = 0;
|
openFileDialog1.FilterIndex = 0;
|
||||||
@@ -262,7 +264,7 @@ namespace OnDoc.UIControls
|
|||||||
MessageBox.Show("Die ausgewählten Daten können nicht verwendet werden.", "Import", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Die ausgewählten Daten können nicht verwendet werden.", "Import", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (importdata.Columns[0].Caption.ToUpper() != "PARTNERNR")
|
if (importdata.Columns[0].Caption != "Partnernr")
|
||||||
{
|
{
|
||||||
MessageBox.Show("Die importierten Daten enthalten keine Spalte 'Partnernr'. Der Vorgang wird abgebrochen.", "Import", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show("Die importierten Daten enthalten keine Spalte 'Partnernr'. Der Vorgang wird abgebrochen.", "Import", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
importdata.Rows.Clear();
|
importdata.Rows.Clear();
|
||||||
@@ -270,6 +272,14 @@ namespace OnDoc.UIControls
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
DB dB = new DB(AppParams.connectionstring);
|
DB dB = new DB(AppParams.connectionstring);
|
||||||
|
if (sb.dsempfaenger.Tables[0].Rows.Count == 1)
|
||||||
|
{
|
||||||
|
if (sb.dsempfaenger.Tables[0].Rows[0]["Partnernr"].ToString().Trim() == "")
|
||||||
|
{
|
||||||
|
sb.dsempfaenger.Tables[0].Rows[0].Delete();
|
||||||
|
sb.dsempfaenger.AcceptChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
//sb.dsempfaenger.Tables[0].Rows.Clear();
|
//sb.dsempfaenger.Tables[0].Rows.Clear();
|
||||||
bool found = false;
|
bool found = false;
|
||||||
foreach (System.Data.DataColumn dc in importdata.Columns)
|
foreach (System.Data.DataColumn dc in importdata.Columns)
|
||||||
@@ -292,7 +302,7 @@ namespace OnDoc.UIControls
|
|||||||
}
|
}
|
||||||
importdata.AcceptChanges();
|
importdata.AcceptChanges();
|
||||||
|
|
||||||
found=false;
|
found = false;
|
||||||
foreach (System.Data.DataColumn dc in sb.dsempfaenger.Tables[0].Columns)
|
foreach (System.Data.DataColumn dc in sb.dsempfaenger.Tables[0].Columns)
|
||||||
{
|
{
|
||||||
if (dc.ColumnName.ToUpper() == "INTEINTRAGNR") { found = true; }
|
if (dc.ColumnName.ToUpper() == "INTEINTRAGNR") { found = true; }
|
||||||
@@ -312,7 +322,14 @@ namespace OnDoc.UIControls
|
|||||||
r1[col.ColumnName] = dr[col.ColumnName];
|
r1[col.ColumnName] = dr[col.ColumnName];
|
||||||
|
|
||||||
}
|
}
|
||||||
catch { r1[col.ColumnName] = ""; }
|
catch
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
r1["$$" + col.ColumnName + "$$"] = dr[col.ColumnName];
|
||||||
|
}
|
||||||
|
catch { r1[col.ColumnName] = ""; }
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
r1["STATUS"] = 0;
|
r1["STATUS"] = 0;
|
||||||
@@ -325,11 +342,19 @@ namespace OnDoc.UIControls
|
|||||||
//}
|
//}
|
||||||
//catch { }
|
//catch { }
|
||||||
dB.Get_Tabledata("Select bkpar00 from partner where nrpar00=" + r1[0].ToString(), false, true);
|
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;
|
try
|
||||||
r1[1] = dB.dsdaten.Tables[0].Rows[0][0].ToString();
|
{
|
||||||
sb.dsempfaenger.Tables[0].Rows.Add(r1);
|
if (dB.dsdaten.Tables[0].Rows.Count > 0)
|
||||||
|
{
|
||||||
|
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();
|
||||||
|
sb.dsempfaenger.Tables[0].Rows.Add(r1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
}
|
}
|
||||||
dB = null;
|
dB = null;
|
||||||
|
Partnerliste_Pruefen();
|
||||||
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
||||||
|
|
||||||
finish_progress();
|
finish_progress();
|
||||||
@@ -349,39 +374,44 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
// sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = false;
|
// sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = false;
|
||||||
}
|
}
|
||||||
catch {
|
catch
|
||||||
|
{
|
||||||
sb.dsempfaenger.Tables[0].Columns.Add("IntEintragnr");
|
sb.dsempfaenger.Tables[0].Columns.Add("IntEintragnr");
|
||||||
}
|
}
|
||||||
|
try
|
||||||
sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = true;
|
{
|
||||||
sfDataGridEmpfaenger.Columns["STATUS"].Visible = false;
|
sfDataGridEmpfaenger.Columns["IntEintragnr"].Visible = true;
|
||||||
sfDataGridEmpfaenger.Columns["FEHLERCODE"].Visible = false;
|
//sfDataGridEmpfaenger.Columns["STATUS"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["BLKUNDE"].Visible = false;
|
sfDataGridEmpfaenger.Columns["FEHLERCODE"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["DOKUMENT_GEDRUCKT"].Visible = false;
|
sfDataGridEmpfaenger.Columns["BLKUNDE"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["DOKUMENTID"].Visible = true;
|
sfDataGridEmpfaenger.Columns["DOKUMENT_GEDRUCKT"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["DOKUMENTIDBDR"].Visible = false;
|
sfDataGridEmpfaenger.Columns["DOKUMENTID"].Visible = true;
|
||||||
sfDataGridEmpfaenger.Columns["ERSTELLER"].Visible = false;
|
sfDataGridEmpfaenger.Columns["DOKUMENTIDBDR"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["DRUCKJOBID"].Visible = false;
|
sfDataGridEmpfaenger.Columns["ERSTELLER"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["AKTIV"].Visible = false;
|
sfDataGridEmpfaenger.Columns["DRUCKJOBID"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Zustelladresse"].Visible = false;
|
sfDataGridEmpfaenger.Columns["AKTIV"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Briefanrede1"].Visible = false;
|
sfDataGridEmpfaenger.Columns["Zustelladresse"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Briefanrede2"].Visible = false;
|
sfDataGridEmpfaenger.Columns["Briefanrede1"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Anrede"].Width = 0;
|
sfDataGridEmpfaenger.Columns["Briefanrede2"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Name"].Visible = false;
|
sfDataGridEmpfaenger.Columns["Anrede"].Width = 0;
|
||||||
sfDataGridEmpfaenger.Columns["Vorname"].Visible = false;
|
sfDataGridEmpfaenger.Columns["Name"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Strasse"].Visible = false;
|
sfDataGridEmpfaenger.Columns["Vorname"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["PLZ"].Visible = false;
|
sfDataGridEmpfaenger.Columns["Strasse"].Visible = false;
|
||||||
sfDataGridEmpfaenger.Columns["Ort"].Visible = false;
|
sfDataGridEmpfaenger.Columns["PLZ"].Visible = false;
|
||||||
sfDataGridEmpfaenger.AutoSizeColumnsMode = Syncfusion.WinForms.DataGrid.Enums.AutoSizeColumnsMode.AllCells;
|
sfDataGridEmpfaenger.Columns["Ort"].Visible = false;
|
||||||
|
sfDataGridEmpfaenger.AutoSizeColumnsMode = Syncfusion.WinForms.DataGrid.Enums.AutoSizeColumnsMode.AllCells;
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
}
|
}
|
||||||
private void init_empfaenger(int serienbriefnr)
|
private void init_empfaenger(int serienbriefnr)
|
||||||
{
|
{
|
||||||
Database.DB db = new DB(AppParams.connectionstring);
|
Database.DB db = new DB(AppParams.connectionstring);
|
||||||
|
|
||||||
db.Get_Tabledata("Select dbo.BinaryToBase64(xmldata) as Data from edex_sb_empfaenger where serienbriefnr=" + serienbriefnr.ToString(), false, true);
|
db.Get_Tabledata("Select dbo.BinaryToBase64(xmldata) as Data from edex_sb_empfaenger where serienbriefnr=" + serienbriefnr.ToString(), false, true);
|
||||||
Base64Helper bh = new Base64Helper();
|
Base64Helper bh = new Base64Helper();
|
||||||
bh.Base64 = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
bh.Base64 = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||||
string xml = bh.DecodeBase64();
|
string xml = bh.DecodeBase64();
|
||||||
string filename = AppParams.tempdir + @"\"+sb.serienbriefnr.ToString()+".xml";
|
string filename = AppParams.tempdir + @"\" + sb.serienbriefnr.ToString() + ".xml";
|
||||||
System.IO.File.WriteAllText(filename, xml);
|
System.IO.File.WriteAllText(filename, xml);
|
||||||
//dsempfaenger.Tables.Clear();
|
//dsempfaenger.Tables.Clear();
|
||||||
//dsempfaenger.ReadXml(filename);
|
//dsempfaenger.ReadXml(filename);
|
||||||
@@ -411,7 +441,7 @@ namespace OnDoc.UIControls
|
|||||||
this.sb = new serienbrief();
|
this.sb = new serienbrief();
|
||||||
sb.dokumenttypnr = DokTypSelect.dokumenttypnr;
|
sb.dokumenttypnr = DokTypSelect.dokumenttypnr;
|
||||||
update_serienbrief_details(true, sb.dokumenttypnr, 0);
|
update_serienbrief_details(true, sb.dokumenttypnr, 0);
|
||||||
init_empfaenger(0);
|
init_empfaenger(-1);
|
||||||
vorlagenfelder(sb.dokumenttypnr);
|
vorlagenfelder(sb.dokumenttypnr);
|
||||||
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
||||||
update_screen();
|
update_screen();
|
||||||
@@ -455,7 +485,7 @@ namespace OnDoc.UIControls
|
|||||||
dB.Get_ApplicationType_from_Vorlage(sb.officevorlagenr);
|
dB.Get_ApplicationType_from_Vorlage(sb.officevorlagenr);
|
||||||
string Apptype = "";
|
string Apptype = "";
|
||||||
Apptype = dB.dsdaten.Tables[0].Rows[0][1].ToString();
|
Apptype = dB.dsdaten.Tables[0].Rows[0][1].ToString();
|
||||||
string filename = AppParams.tempdir+sb.serienbriefnr.ToString() + "." + Apptype;
|
string filename = AppParams.tempdir + sb.serienbriefnr.ToString() + "." + Apptype;
|
||||||
fh.SaveBase64ToFile(filedata, filename);
|
fh.SaveBase64ToFile(filedata, filename);
|
||||||
sb.filename = filename;
|
sb.filename = filename;
|
||||||
}
|
}
|
||||||
@@ -549,9 +579,9 @@ namespace OnDoc.UIControls
|
|||||||
db.Get_Tabledata("Select bezeichnung,office_vorlagenr, isnull(vertrag,0) as vertrag, isnull(physisches_archiv,0) as archiv from dokumenttyp where dokumenttypnr=" + sb.dokumenttypnr.ToString(), false, true);
|
db.Get_Tabledata("Select bezeichnung,office_vorlagenr, isnull(vertrag,0) as vertrag, isnull(physisches_archiv,0) as archiv from dokumenttyp where dokumenttypnr=" + sb.dokumenttypnr.ToString(), false, true);
|
||||||
sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||||
sb.officevorlagenr = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][1]);
|
sb.officevorlagenr = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][1]);
|
||||||
sb.vertrag= Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][2]);
|
sb.vertrag = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][2]);
|
||||||
|
|
||||||
db.Get_Tabledata("Select beschreibung from physischesarchiv where phyischesarchivnr = " + db.dsdaten.Tables[0].Rows[0][3].ToString(),false,true);
|
db.Get_Tabledata("Select beschreibung from physischesarchiv where physischesarchivnr = " + db.dsdaten.Tables[0].Rows[0][3].ToString(), false, true);
|
||||||
sb.barcode_zusatz = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
sb.barcode_zusatz = db.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||||
if (sb.barcode_zusatz != "") { sb.barcode_zusatz = " / " + sb.barcode_zusatz; }
|
if (sb.barcode_zusatz != "") { sb.barcode_zusatz = " / " + sb.barcode_zusatz; }
|
||||||
}
|
}
|
||||||
@@ -580,7 +610,8 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
sb.faksimile_unterschrfit = "False";
|
sb.faksimile_unterschrfit = "False";
|
||||||
}
|
}
|
||||||
} catch { sb.faksimile_unterschrfit = "False"; }
|
}
|
||||||
|
catch { sb.faksimile_unterschrfit = "False"; }
|
||||||
try { sb.team = Convert.ToInt32(cbboxteam.SelectedValue.ToString()); } catch { sb.team = 0; }
|
try { sb.team = Convert.ToInt32(cbboxteam.SelectedValue.ToString()); } catch { sb.team = 0; }
|
||||||
sb.archivdatum = Convert.ToDateTime(DateDokumentDatum.Value);
|
sb.archivdatum = Convert.ToDateTime(DateDokumentDatum.Value);
|
||||||
sb.dokumentdatum = Convert.ToDateTime(DateDokumentDatum.Value);
|
sb.dokumentdatum = Convert.ToDateTime(DateDokumentDatum.Value);
|
||||||
@@ -594,8 +625,6 @@ namespace OnDoc.UIControls
|
|||||||
else { db.save_sb_vorlage_to_db(PreviewFiename, "", sb.serienbriefnr); }
|
else { db.save_sb_vorlage_to_db(PreviewFiename, "", sb.serienbriefnr); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void update_zahlen()
|
private void update_zahlen()
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -605,7 +634,9 @@ namespace OnDoc.UIControls
|
|||||||
int fehlerhaft = 0;
|
int fehlerhaft = 0;
|
||||||
int generiert = 0;
|
int generiert = 0;
|
||||||
int abgeschlossen = 0;
|
int abgeschlossen = 0;
|
||||||
|
|
||||||
sb.dsempfaenger.AcceptChanges();
|
sb.dsempfaenger.AcceptChanges();
|
||||||
|
|
||||||
DataView dv = new DataView(sb.dsempfaenger.Tables[0]);
|
DataView dv = new DataView(sb.dsempfaenger.Tables[0]);
|
||||||
dv.RowFilter = "Status = 0";
|
dv.RowFilter = "Status = 0";
|
||||||
treeViewAdv1.Nodes[0].Text = "In Bearbeitung (" + dv.Count.ToString() + ")";
|
treeViewAdv1.Nodes[0].Text = "In Bearbeitung (" + dv.Count.ToString() + ")";
|
||||||
@@ -624,7 +655,7 @@ namespace OnDoc.UIControls
|
|||||||
treeViewAdv1.SelectedNode = treeViewAdv1.Nodes[0];
|
treeViewAdv1.SelectedNode = treeViewAdv1.Nodes[0];
|
||||||
update_grid();
|
update_grid();
|
||||||
|
|
||||||
enable_disable_functions(2,false);
|
enable_disable_functions(2, false);
|
||||||
if (inbearbeitung > 0) { RibbonButtonGenerateSB.Enabled = true; }
|
if (inbearbeitung > 0) { RibbonButtonGenerateSB.Enabled = true; }
|
||||||
if (fehlerhaft == 0 && inbearbeitung == 0 && generiert > 0)
|
if (fehlerhaft == 0 && inbearbeitung == 0 && generiert > 0)
|
||||||
{
|
{
|
||||||
@@ -726,7 +757,8 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
open_sb(selectedsbnr);
|
open_sb(selectedsbnr);
|
||||||
}
|
}
|
||||||
private void open_sb(int serienbriefnr) {
|
private void open_sb(int serienbriefnr)
|
||||||
|
{
|
||||||
DB db = new DB(AppParams.connectionstring);
|
DB db = new DB(AppParams.connectionstring);
|
||||||
sb = new serienbrief();
|
sb = new serienbrief();
|
||||||
sb.dsempfaenger = new DataSet();
|
sb.dsempfaenger = new DataSet();
|
||||||
@@ -758,7 +790,7 @@ namespace OnDoc.UIControls
|
|||||||
}
|
}
|
||||||
sb.barcode_font = AppParams.barcodefont;
|
sb.barcode_font = AppParams.barcodefont;
|
||||||
sb.barcode_fontsize = AppParams.barcodefontsize;
|
sb.barcode_fontsize = AppParams.barcodefontsize;
|
||||||
sb.barcode_textposition=AppParams.barcodetextposition;
|
sb.barcode_textposition = AppParams.barcodetextposition;
|
||||||
sb.barcode_zusatz = "";
|
sb.barcode_zusatz = "";
|
||||||
|
|
||||||
|
|
||||||
@@ -779,9 +811,9 @@ namespace OnDoc.UIControls
|
|||||||
DateDokumentDatum.Value = sb.archivdatum;
|
DateDokumentDatum.Value = sb.archivdatum;
|
||||||
switch (sb.ppfaktura)
|
switch (sb.ppfaktura)
|
||||||
{
|
{
|
||||||
case 0:rbppohne.Checked = true;break;
|
case 0: rbppohne.Checked = true; break;
|
||||||
case 1: rbppa.Checked = true;break;
|
case 1: rbppa.Checked = true; break;
|
||||||
case 2:rbbpb.Checked = true;break;
|
case 2: rbbpb.Checked = true; break;
|
||||||
}
|
}
|
||||||
if (sb.zustaendig == -1)
|
if (sb.zustaendig == -1)
|
||||||
{
|
{
|
||||||
@@ -814,7 +846,7 @@ namespace OnDoc.UIControls
|
|||||||
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
var dataRow = (e.DataRow.RowData as DataRowView).Row;
|
||||||
selectedsbnr = Convert.ToInt32(dataRow["serienbriefnr"].ToString());
|
selectedsbnr = Convert.ToInt32(dataRow["serienbriefnr"].ToString());
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -958,9 +990,9 @@ namespace OnDoc.UIControls
|
|||||||
.Where(gr => gr.Count() > 1)
|
.Where(gr => gr.Count() > 1)
|
||||||
.Select(g => g.Key);
|
.Select(g => g.Key);
|
||||||
string check_duplicates = "";
|
string check_duplicates = "";
|
||||||
foreach(var dup in duplicates)
|
foreach (var dup in duplicates)
|
||||||
{
|
{
|
||||||
if (check_duplicates!="") { check_duplicates = check_duplicates + ", "; }
|
if (check_duplicates != "") { check_duplicates = check_duplicates + ", "; }
|
||||||
check_duplicates = check_duplicates + dup.ToString();
|
check_duplicates = check_duplicates + dup.ToString();
|
||||||
}
|
}
|
||||||
if (check_duplicates != "")
|
if (check_duplicates != "")
|
||||||
@@ -974,7 +1006,9 @@ namespace OnDoc.UIControls
|
|||||||
if (sb.dsempfaenger.Tables[0].Columns.Count > 20) { check_zwingende_felder(); }
|
if (sb.dsempfaenger.Tables[0].Columns.Count > 20) { check_zwingende_felder(); }
|
||||||
finish_progress();
|
finish_progress();
|
||||||
refresh_empfaenger(sb.dsempfaenger.Tables[0]);
|
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 false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
@@ -1026,7 +1060,7 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
|
|
||||||
ribbonbuttonsave_Click(sender, e);
|
ribbonbuttonsave_Click(sender, e);
|
||||||
if (!Partnerliste_Pruefen()){ return; }
|
if (!Partnerliste_Pruefen()) { return; }
|
||||||
Generate();
|
Generate();
|
||||||
}
|
}
|
||||||
private void Generate(int vorschauid = 0)
|
private void Generate(int vorschauid = 0)
|
||||||
@@ -1044,9 +1078,12 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
Helper.FileHelper fh = new FileHelper();
|
Helper.FileHelper fh = new FileHelper();
|
||||||
sb.VorlageBase64 = fh.Base64FromFile(PreviewFiename);
|
sb.VorlageBase64 = fh.Base64FromFile(PreviewFiename);
|
||||||
} else {
|
}
|
||||||
string fn = dB.get_sb_vorlage(sb.serienbriefnr, AppParams.tempdir);
|
else
|
||||||
sb.VorlageBase64 = dB.dsdaten.Tables[0].Rows[0][0].ToString(); }
|
{
|
||||||
|
string fn = dB.get_sb_vorlage(sb.serienbriefnr, AppParams.tempdir);
|
||||||
|
sb.VorlageBase64 = dB.dsdaten.Tables[0].Rows[0][0].ToString();
|
||||||
|
}
|
||||||
|
|
||||||
sb.DocValues = new List<clsDocValue>();
|
sb.DocValues = new List<clsDocValue>();
|
||||||
|
|
||||||
@@ -1601,7 +1638,7 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
add_progress();
|
add_progress();
|
||||||
System.Data.DataRow dr = rowView.Row;
|
System.Data.DataRow dr = rowView.Row;
|
||||||
db.Get_Tabledata("Select dbo.BinaryToBase64(dokument) from edex_sb_serienbrief_dokument where dokumentid='" + dr["Dokumentid"].ToString()+"'", false, true);
|
db.Get_Tabledata("Select dbo.BinaryToBase64(dokument) from edex_sb_serienbrief_dokument where dokumentid='" + dr["Dokumentid"].ToString() + "'", false, true);
|
||||||
var stream = new MemoryStream(Convert.FromBase64String(db.dsdaten.Tables[0].Rows[0][0].ToString()));
|
var stream = new MemoryStream(Convert.FromBase64String(db.dsdaten.Tables[0].Rows[0][0].ToString()));
|
||||||
if (stream.Length > 0)
|
if (stream.Length > 0)
|
||||||
{
|
{
|
||||||
@@ -1827,7 +1864,7 @@ namespace OnDoc.UIControls
|
|||||||
dB.Exec_SQL("Update edex_sb_serienbrief set aktiv=0, mutiert_am=getdate(),mutierer=" + AppParams.CurrentMitarbieter.ToString() + " where serienbriefnr=" + sb.serienbriefnr.ToString());
|
dB.Exec_SQL("Update edex_sb_serienbrief set aktiv=0, mutiert_am=getdate(),mutierer=" + AppParams.CurrentMitarbieter.ToString() + " where serienbriefnr=" + sb.serienbriefnr.ToString());
|
||||||
dB = null;
|
dB = null;
|
||||||
|
|
||||||
enable_disable_functions(1,false);
|
enable_disable_functions(1, false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1844,7 +1881,7 @@ namespace OnDoc.UIControls
|
|||||||
if (ribbonButtonPartnerPruefen.Enabled) partnerlistePrüfenToolStripMenuItem.Visible = true;
|
if (ribbonButtonPartnerPruefen.Enabled) partnerlistePrüfenToolStripMenuItem.Visible = true;
|
||||||
if (RibbonButtonArchivierenUndAbschlessen.Enabled) archivierenUndAbschliessenToolStripMenuItem.Visible = true;
|
if (RibbonButtonArchivierenUndAbschlessen.Enabled) archivierenUndAbschliessenToolStripMenuItem.Visible = true;
|
||||||
if (ribbonButtonDruckstapel.Enabled) druckstapelAufbereitenToolStripMenuItem.Visible = true;
|
if (ribbonButtonDruckstapel.Enabled) druckstapelAufbereitenToolStripMenuItem.Visible = true;
|
||||||
if (treeViewAdv1.SelectedNode.Text.Substring(0,4)=="Gene") (dokumentgenerierungZurücksetzenToolStripMenuItem.Visible)=true;
|
if (treeViewAdv1.SelectedNode.Text.Substring(0, 4) == "Gene") (dokumentgenerierungZurücksetzenToolStripMenuItem.Visible) = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -95,7 +95,17 @@ namespace OnDoc.DocMgmt
|
|||||||
DataRow dr = dB.daten.Tables[0].NewRow();
|
DataRow dr = dB.daten.Tables[0].NewRow();
|
||||||
dr["dokumentid"] = this.dokumentid;
|
dr["dokumentid"] = this.dokumentid;
|
||||||
dr["mitarbeiter_bewilligung"] = cbboxunterschriftlinks.SelectedValue.ToString();
|
dr["mitarbeiter_bewilligung"] = cbboxunterschriftlinks.SelectedValue.ToString();
|
||||||
dr["bewilligt"] = false;
|
if (Convert.ToInt32(cbboxunterschriftlinks.SelectedValue) == AppParams.CurrentMitarbieter)
|
||||||
|
{
|
||||||
|
dr["bewilligt"] = true;
|
||||||
|
dr["bewilligt_am"] = DateTime.Now;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dr["bewilligt"] = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
dr["abgelehnt"] = false;
|
dr["abgelehnt"] = false;
|
||||||
dr["bewilligungstyp"] = 1;
|
dr["bewilligungstyp"] = 1;
|
||||||
dr["erstellt_am"] = DateTime.Now;
|
dr["erstellt_am"] = DateTime.Now;
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ namespace OnDoc.Klassen
|
|||||||
public static string UseAPI { get; set; } = "FALSE";
|
public static string UseAPI { get; set; } = "FALSE";
|
||||||
|
|
||||||
public static int CurrentMitarbieter { get; set; }
|
public static int CurrentMitarbieter { get; set; }
|
||||||
|
public static string CurrentTGNummer { get; set; } = "";
|
||||||
public static string RESTURI { get; set; } = "";//"http://localhost:2032/";
|
public static string RESTURI { get; set; } = "";//"http://localhost:2032/";
|
||||||
public static string apikey { get; set; } = "";
|
public static string apikey { get; set; } = "";
|
||||||
|
|
||||||
@@ -36,6 +37,8 @@ namespace OnDoc.Klassen
|
|||||||
|
|
||||||
public static string ZusatzFont { get; set; } = "";
|
public static string ZusatzFont { get; set; } = "";
|
||||||
public static string ZusatzFontSize { get; set; } = "";
|
public static string ZusatzFontSize { get; set; } = "";
|
||||||
|
|
||||||
|
public static string EDOKAPath { get; set; } = "";
|
||||||
static AppParams()
|
static AppParams()
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -64,6 +67,7 @@ namespace OnDoc.Klassen
|
|||||||
barcodetextposition = Properties.Settings.Default.BarodeTextPosition;
|
barcodetextposition = Properties.Settings.Default.BarodeTextPosition;
|
||||||
ZusatzFont = Properties.Settings.Default.ZusatzFont;
|
ZusatzFont = Properties.Settings.Default.ZusatzFont;
|
||||||
ZusatzFontSize = Properties.Settings.Default.ZusatzFontSize;
|
ZusatzFontSize = Properties.Settings.Default.ZusatzFontSize;
|
||||||
|
EDOKAPath=Properties.Settings.Default.edokapath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,10 +95,17 @@ namespace OnDoc.Klassen
|
|||||||
public static string dokumenttypnr { get; set; } = "0";
|
public static string dokumenttypnr { get; set; } = "0";
|
||||||
public static string Interaktion { get; set; } = "Yes";
|
public static string Interaktion { get; set; } = "Yes";
|
||||||
public static string showdoc { get; set; } = "Yes";
|
public static string showdoc { get; set; } = "Yes";
|
||||||
|
|
||||||
|
public static string unterschriftenpruefung { get; set; } = "No";
|
||||||
public static Boolean parseparams()
|
public static Boolean parseparams()
|
||||||
{
|
{
|
||||||
if (executed) return false;
|
if (executed) return false;
|
||||||
string sparam = sourceparam.Substring(sourceparam.IndexOf('?') + 1, sourceparam.Length - (sourceparam.IndexOf('?') + 1));
|
string sparam = sourceparam.Substring(sourceparam.IndexOf('?') + 1, sourceparam.Length - (sourceparam.IndexOf('?') + 1));
|
||||||
|
if (sparam.ToLower() == "ucheck")
|
||||||
|
{
|
||||||
|
unterschriftenpruefung = "Yes";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
sparam = Uri.UnescapeDataString(sparam);
|
sparam = Uri.UnescapeDataString(sparam);
|
||||||
executed = true;
|
executed = true;
|
||||||
sourceparam = "";
|
sourceparam = "";
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ namespace OnDoc.Klassen
|
|||||||
public static class clsProcessWatch
|
public static class clsProcessWatch
|
||||||
{
|
{
|
||||||
|
|
||||||
public static System.Timers.Timer watchtimer = new System.Timers.Timer(2000);
|
public static System.Timers.Timer watchtimer = new System.Timers.Timer(Convert.ToInt32(Properties.Settings.Default.OfficeWatchTimerIntervall));
|
||||||
|
|
||||||
static List<FileToCheck> FilestoCheck = new List<FileToCheck>();
|
static List<FileToCheck> FilestoCheck = new List<FileToCheck>();
|
||||||
|
|
||||||
public static void AddToList(string dokumentid, string filename, string applicatoin)
|
public static void AddToList(string dokumentid, string filename, string application)
|
||||||
{
|
{
|
||||||
FilestoCheck.Add(new FileToCheck(dokumentid, filename, applicatoin));
|
FilestoCheck.Add(new FileToCheck(dokumentid, filename, application));
|
||||||
if (watchtimer.Enabled == false) { watchtimer.Enabled = true; }
|
if (watchtimer.Enabled == false) { watchtimer.Enabled = true; }
|
||||||
watchtimer.Elapsed += WatchProcesses;
|
watchtimer.Elapsed += WatchProcesses;
|
||||||
}
|
}
|
||||||
@@ -122,6 +122,7 @@ namespace OnDoc.Klassen
|
|||||||
private static bool Check_Modified(FileToCheck fc)
|
private static bool Check_Modified(FileToCheck fc)
|
||||||
{
|
{
|
||||||
DateTime lwt = System.IO.File.GetLastWriteTime(fc.filename);
|
DateTime lwt = System.IO.File.GetLastWriteTime(fc.filename);
|
||||||
|
Logging.DocLog.Debug("Prozesswatch - Check Modified: " + lwt.ToString() + "," + fc.filedatetime.ToString(), "Processwatch", fc.dokumentid, "", fc.filename);
|
||||||
if ((lwt- fc.filedatetime).Seconds > 2)
|
if ((lwt- fc.filedatetime).Seconds > 2)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
@@ -147,6 +148,8 @@ namespace OnDoc.Klassen
|
|||||||
this.filename = filename;
|
this.filename = filename;
|
||||||
this.application = application;
|
this.application = application;
|
||||||
this.filedatetime = DateTime.Now;
|
this.filedatetime = DateTime.Now;
|
||||||
|
Logging.DocLog.Debug("Add Processwatch: " + DateTime.Now.ToString(), "New FileToCheck", dokumentid, "", "Add Processwatch");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,20 @@ namespace OnDoc
|
|||||||
if (args[0].ToString().ToUpper().Substring(args[0].ToString().Length - 4, 4) == ".EDK")
|
if (args[0].ToString().ToUpper().Substring(args[0].ToString().Length - 4, 4) == ".EDK")
|
||||||
{
|
{
|
||||||
AppParams.init();
|
AppParams.init();
|
||||||
|
Database.DB db = new Database.DB(AppParams.connectionstring);
|
||||||
|
string mitarbeiter = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
||||||
|
mitarbeiter = mitarbeiter.Replace("i", "");
|
||||||
|
mitarbeiter = mitarbeiter.Replace("I", "");
|
||||||
|
mitarbeiter = mitarbeiter.Substring(mitarbeiter.IndexOf("\\") + 1);
|
||||||
|
AppParams.currenttgnummer = mitarbeiter;
|
||||||
|
db.Get_Tabledata("Select count(*) from ondoc_edk_routing where aktiv=1 and tgnummer='" + AppParams.currenttgnummer + "'", false, true);
|
||||||
|
if (Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]) > 0)
|
||||||
|
{
|
||||||
|
System.Diagnostics.Process.Start(AppParams.EDOKAPath, args[0]);
|
||||||
|
db = null;
|
||||||
|
System.Environment.Exit(0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
string destfile = AppParams.tempdir + DateTime.Now.ToString("yyyyMMddHHmmss") + "_tmpfile.edk";
|
string destfile = AppParams.tempdir + DateTime.Now.ToString("yyyyMMddHHmmss") + "_tmpfile.edk";
|
||||||
System.IO.File.Copy(args[0],destfile);
|
System.IO.File.Copy(args[0],destfile);
|
||||||
|
|
||||||
@@ -52,6 +65,7 @@ namespace OnDoc
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
if (args[0].ToString().ToUpper().IndexOf("PARTNERNR") > 0 || args[0].ToString().ToUpper().IndexOf("UCHECK") > 0)
|
if (args[0].ToString().ToUpper().IndexOf("PARTNERNR") > 0 || args[0].ToString().ToUpper().IndexOf("UCHECK") > 0)
|
||||||
{
|
{
|
||||||
AppParams.init();
|
AppParams.init();
|
||||||
@@ -81,16 +95,21 @@ namespace OnDoc
|
|||||||
//MyForm.runparams();
|
//MyForm.runparams();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Application.EnableVisualStyles();
|
Application.EnableVisualStyles();
|
||||||
|
SplashScreen sp = new SplashScreen();
|
||||||
|
sp.Show();
|
||||||
|
Application.DoEvents();
|
||||||
|
|
||||||
//Application.SetCompatibleTextRenderingDefault(false);
|
//Application.SetCompatibleTextRenderingDefault(false);
|
||||||
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Ngo9BigBOggjHTQxAR8/V1NCaF5cXmZCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdnWXdecXRdQ2heUU13XUI=");
|
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("Ngo9BigBOggjHTQxAR8/V1NCaF5cXmZCf1FpRmJGdld5fUVHYVZUTXxaS00DNHVRdkdnWXdecXRdQ2heUU13XUI=");
|
||||||
AppParams.init();
|
AppParams.init();
|
||||||
|
|
||||||
// // MyForm = new Start();
|
// // MyForm = new Start();
|
||||||
// Application.Run(MyForm);
|
// Application.Run(MyForm);
|
||||||
Application.Run(new Start());
|
Application.Run(new Start());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
29
Client/Properties/Settings.Designer.cs
generated
29
Client/Properties/Settings.Designer.cs
generated
@@ -49,7 +49,7 @@ namespace OnDoc.Properties {
|
|||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("FilePrintDefault")]
|
[global::System.Configuration.DefaultSettingValueAttribute("DateiDrukenStandard")]
|
||||||
public string StandardWordDruckMakro {
|
public string StandardWordDruckMakro {
|
||||||
get {
|
get {
|
||||||
return ((string)(this["StandardWordDruckMakro"]));
|
return ((string)(this["StandardWordDruckMakro"]));
|
||||||
@@ -169,7 +169,7 @@ namespace OnDoc.Properties {
|
|||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("14")]
|
[global::System.Configuration.DefaultSettingValueAttribute("9")]
|
||||||
public string ZusatzFontSize {
|
public string ZusatzFontSize {
|
||||||
get {
|
get {
|
||||||
return ((string)(this["ZusatzFontSize"]));
|
return ((string)(this["ZusatzFontSize"]));
|
||||||
@@ -178,5 +178,30 @@ namespace OnDoc.Properties {
|
|||||||
this["ZusatzFontSize"] = value;
|
this["ZusatzFontSize"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("E:\\Software-Projekte\\EDOKA\\Cleint_Erneuerung_DMS_Framwork48 - Kopie\\EDOKA\\bin\\edo" +
|
||||||
|
"ka.exe")]
|
||||||
|
public string edokapath {
|
||||||
|
get {
|
||||||
|
return ((string)(this["edokapath"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["edokapath"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Configuration.DefaultSettingValueAttribute("5000")]
|
||||||
|
public string OfficeWatchTimerIntervall {
|
||||||
|
get {
|
||||||
|
return ((string)(this["OfficeWatchTimerIntervall"]));
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
this["OfficeWatchTimerIntervall"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<Value Profile="(Default)">NO</Value>
|
<Value Profile="(Default)">NO</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="StandardWordDruckMakro" Type="System.String" Scope="User">
|
<Setting Name="StandardWordDruckMakro" Type="System.String" Scope="User">
|
||||||
<Value Profile="(Default)">FilePrintDefault</Value>
|
<Value Profile="(Default)">DateiDrukenStandard</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="VBVorlagenmanagement" Type="System.String" Scope="User">
|
<Setting Name="VBVorlagenmanagement" Type="System.String" Scope="User">
|
||||||
<Value Profile="(Default)">Yes</Value>
|
<Value Profile="(Default)">Yes</Value>
|
||||||
@@ -39,7 +39,13 @@
|
|||||||
<Value Profile="(Default)">Arial</Value>
|
<Value Profile="(Default)">Arial</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="ZusatzFontSize" Type="System.String" Scope="User">
|
<Setting Name="ZusatzFontSize" Type="System.String" Scope="User">
|
||||||
<Value Profile="(Default)">14</Value>
|
<Value Profile="(Default)">9</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="edokapath" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)">E:\Software-Projekte\EDOKA\Cleint_Erneuerung_DMS_Framwork48 - Kopie\EDOKA\bin\edoka.exe</Value>
|
||||||
|
</Setting>
|
||||||
|
<Setting Name="OfficeWatchTimerIntervall" Type="System.String" Scope="User">
|
||||||
|
<Value Profile="(Default)">5000</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
@@ -197,8 +197,10 @@ namespace OnDoc
|
|||||||
private void EDK_Call(string filename)
|
private void EDK_Call(string filename)
|
||||||
{
|
{
|
||||||
if (dokList1.profilnr == 0) return;
|
if (dokList1.profilnr == 0) return;
|
||||||
EDK_Data.Load_EDK_File(filename);
|
|
||||||
DB dB = new DB(AppParams.connectionstring);
|
DB dB = new DB(AppParams.connectionstring);
|
||||||
|
|
||||||
|
|
||||||
|
EDK_Data.Load_EDK_File(filename);
|
||||||
dB.save_edk(filename, AppParams.CurrentMitarbieter);
|
dB.save_edk(filename, AppParams.CurrentMitarbieter);
|
||||||
System.IO.File.Delete(filename);
|
System.IO.File.Delete(filename);
|
||||||
if (EDK_Data.toexecute == true)
|
if (EDK_Data.toexecute == true)
|
||||||
@@ -208,7 +210,7 @@ namespace OnDoc
|
|||||||
}
|
}
|
||||||
private void URI_Call(string filename)
|
private void URI_Call(string filename)
|
||||||
{
|
{
|
||||||
|
if (dokList1.profilnr == 0) return;
|
||||||
if (System.IO.File.Exists(filename))
|
if (System.IO.File.Exists(filename))
|
||||||
{
|
{
|
||||||
using (StreamReader sr = new StreamReader(filename))
|
using (StreamReader sr = new StreamReader(filename))
|
||||||
@@ -233,14 +235,27 @@ namespace OnDoc
|
|||||||
dokList1.StartPruefung();
|
dokList1.StartPruefung();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (ExternalCall.Interaktion == "Yes")
|
if (ExternalCall.function.ToLower() == "createdoc")
|
||||||
{
|
{
|
||||||
dokList1.createnewdoc(Convert.ToInt32(ExternalCall.partnernr), Convert.ToInt32(ExternalCall.dokumenttypnr));
|
if (ExternalCall.Interaktion == "Yes")
|
||||||
|
{
|
||||||
|
dokList1.createnewdoc(Convert.ToInt32(ExternalCall.partnernr), Convert.ToInt32(ExternalCall.dokumenttypnr));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dokList1.createnewdoc(Convert.ToInt32(ExternalCall.partnernr), Convert.ToInt32(ExternalCall.dokumenttypnr), false, ExternalCall.Interaktion, ExternalCall.showdoc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
if (ExternalCall.function.ToLower() == "createpac")
|
||||||
{
|
{
|
||||||
dokList1.createnewdoc(Convert.ToInt32(ExternalCall.partnernr), Convert.ToInt32(ExternalCall.dokumenttypnr), false, ExternalCall.Interaktion, ExternalCall.showdoc);
|
dokList1.createdocumentpaket(Convert.ToInt32(ExternalCall.partnernr), Convert.ToInt32(ExternalCall.dokumenttypnr));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ExternalCall.unterschriftenpruefung == "Yes")
|
||||||
|
{
|
||||||
|
dokList1.upruefung();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
this.GrpBewilligung = new System.Windows.Forms.GroupBox();
|
this.GrpBewilligung = new System.Windows.Forms.GroupBox();
|
||||||
this.chkBewilliigungZwingend = new System.Windows.Forms.CheckBox();
|
this.chkBewilliigungZwingend = new System.Windows.Forms.CheckBox();
|
||||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.chkboxInOffice = new System.Windows.Forms.CheckBox();
|
||||||
this.chkinterop = new System.Windows.Forms.CheckBox();
|
this.chkinterop = new System.Windows.Forms.CheckBox();
|
||||||
this.chkbearbeitungdirekt = new System.Windows.Forms.CheckBox();
|
this.chkbearbeitungdirekt = new System.Windows.Forms.CheckBox();
|
||||||
this.cbbearbeitungzwingend = new System.Windows.Forms.CheckBox();
|
this.cbbearbeitungzwingend = new System.Windows.Forms.CheckBox();
|
||||||
@@ -69,7 +70,6 @@
|
|||||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||||
this.TreeDokumentArt = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
|
this.TreeDokumentArt = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
|
||||||
this.GroupBox2 = new System.Windows.Forms.GroupBox();
|
this.GroupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
this.chkboxInOffice = new System.Windows.Forms.CheckBox();
|
|
||||||
this.cbaktiv = new System.Windows.Forms.CheckBox();
|
this.cbaktiv = new System.Windows.Forms.CheckBox();
|
||||||
this.rbDokumenterstellungPerson = new System.Windows.Forms.RadioButton();
|
this.rbDokumenterstellungPerson = new System.Windows.Forms.RadioButton();
|
||||||
this.rbDokumenterstellungBP = new System.Windows.Forms.RadioButton();
|
this.rbDokumenterstellungBP = new System.Windows.Forms.RadioButton();
|
||||||
@@ -77,6 +77,8 @@
|
|||||||
this.cbbezeichnungmutierbar = new System.Windows.Forms.CheckBox();
|
this.cbbezeichnungmutierbar = new System.Windows.Forms.CheckBox();
|
||||||
this.cbVertrag = new System.Windows.Forms.CheckBox();
|
this.cbVertrag = new System.Windows.Forms.CheckBox();
|
||||||
this.Grp1 = new System.Windows.Forms.GroupBox();
|
this.Grp1 = new System.Windows.Forms.GroupBox();
|
||||||
|
this.label17 = new System.Windows.Forms.Label();
|
||||||
|
this.cbboxarchiv = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||||
this.cbboxFachverantwortung = new Syncfusion.WinForms.ListView.SfComboBox();
|
this.cbboxFachverantwortung = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||||
this.cbboxOwner = new Syncfusion.WinForms.ListView.SfComboBox();
|
this.cbboxOwner = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||||
this.cbboxofficevorlage = new Syncfusion.WinForms.ListView.SfComboBox();
|
this.cbboxofficevorlage = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||||
@@ -142,8 +144,6 @@
|
|||||||
this.label16 = new System.Windows.Forms.Label();
|
this.label16 = new System.Windows.Forms.Label();
|
||||||
this.rbNr = new System.Windows.Forms.RadioButton();
|
this.rbNr = new System.Windows.Forms.RadioButton();
|
||||||
this.label15 = new System.Windows.Forms.Label();
|
this.label15 = new System.Windows.Forms.Label();
|
||||||
this.cbboxarchiv = new Syncfusion.WinForms.ListView.SfComboBox();
|
|
||||||
this.label17 = new System.Windows.Forms.Label();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
|
||||||
this.tabControlAdv1.SuspendLayout();
|
this.tabControlAdv1.SuspendLayout();
|
||||||
this.tabPageAdv1.SuspendLayout();
|
this.tabPageAdv1.SuspendLayout();
|
||||||
@@ -156,6 +156,7 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.TreeDokumentArt)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.TreeDokumentArt)).BeginInit();
|
||||||
this.GroupBox2.SuspendLayout();
|
this.GroupBox2.SuspendLayout();
|
||||||
this.Grp1.SuspendLayout();
|
this.Grp1.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.cbboxarchiv)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).BeginInit();
|
||||||
@@ -172,7 +173,6 @@
|
|||||||
this.groupBox7.SuspendLayout();
|
this.groupBox7.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.TreeDokumenttyp)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.TreeDokumenttyp)).BeginInit();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxarchiv)).BeginInit();
|
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// tabControlAdv1
|
// tabControlAdv1
|
||||||
@@ -284,7 +284,6 @@
|
|||||||
//
|
//
|
||||||
// GrpUnterschrifte
|
// GrpUnterschrifte
|
||||||
//
|
//
|
||||||
this.GrpUnterschrifte.Controls.Add(this.cbUnterschriftpruefung);
|
|
||||||
this.GrpUnterschrifte.Controls.Add(this.lblStandard);
|
this.GrpUnterschrifte.Controls.Add(this.lblStandard);
|
||||||
this.GrpUnterschrifte.Controls.Add(this.lbUnterschriftStandard);
|
this.GrpUnterschrifte.Controls.Add(this.lbUnterschriftStandard);
|
||||||
this.GrpUnterschrifte.Controls.Add(this.cbUnterschriftrechts);
|
this.GrpUnterschrifte.Controls.Add(this.cbUnterschriftrechts);
|
||||||
@@ -301,7 +300,7 @@
|
|||||||
// cbUnterschriftpruefung
|
// cbUnterschriftpruefung
|
||||||
//
|
//
|
||||||
this.cbUnterschriftpruefung.AutoSize = true;
|
this.cbUnterschriftpruefung.AutoSize = true;
|
||||||
this.cbUnterschriftpruefung.Location = new System.Drawing.Point(15, 105);
|
this.cbUnterschriftpruefung.Location = new System.Drawing.Point(15, 19);
|
||||||
this.cbUnterschriftpruefung.Name = "cbUnterschriftpruefung";
|
this.cbUnterschriftpruefung.Name = "cbUnterschriftpruefung";
|
||||||
this.cbUnterschriftpruefung.Size = new System.Drawing.Size(176, 17);
|
this.cbUnterschriftpruefung.Size = new System.Drawing.Size(176, 17);
|
||||||
this.cbUnterschriftpruefung.TabIndex = 1;
|
this.cbUnterschriftpruefung.TabIndex = 1;
|
||||||
@@ -363,6 +362,7 @@
|
|||||||
//
|
//
|
||||||
// GrpBewilligung
|
// GrpBewilligung
|
||||||
//
|
//
|
||||||
|
this.GrpBewilligung.Controls.Add(this.cbUnterschriftpruefung);
|
||||||
this.GrpBewilligung.Controls.Add(this.chkBewilliigungZwingend);
|
this.GrpBewilligung.Controls.Add(this.chkBewilliigungZwingend);
|
||||||
this.GrpBewilligung.Location = new System.Drawing.Point(15, 471);
|
this.GrpBewilligung.Location = new System.Drawing.Point(15, 471);
|
||||||
this.GrpBewilligung.Name = "GrpBewilligung";
|
this.GrpBewilligung.Name = "GrpBewilligung";
|
||||||
@@ -374,12 +374,13 @@
|
|||||||
// chkBewilliigungZwingend
|
// chkBewilliigungZwingend
|
||||||
//
|
//
|
||||||
this.chkBewilliigungZwingend.AutoSize = true;
|
this.chkBewilliigungZwingend.AutoSize = true;
|
||||||
this.chkBewilliigungZwingend.Location = new System.Drawing.Point(19, 20);
|
this.chkBewilliigungZwingend.Location = new System.Drawing.Point(277, 19);
|
||||||
this.chkBewilliigungZwingend.Name = "chkBewilliigungZwingend";
|
this.chkBewilliigungZwingend.Name = "chkBewilliigungZwingend";
|
||||||
this.chkBewilliigungZwingend.Size = new System.Drawing.Size(179, 17);
|
this.chkBewilliigungZwingend.Size = new System.Drawing.Size(179, 17);
|
||||||
this.chkBewilliigungZwingend.TabIndex = 0;
|
this.chkBewilliigungZwingend.TabIndex = 0;
|
||||||
this.chkBewilliigungZwingend.Text = "Bewilligung Dokument zwingend";
|
this.chkBewilliigungZwingend.Text = "Bewilligung Dokument zwingend";
|
||||||
this.chkBewilliigungZwingend.UseVisualStyleBackColor = true;
|
this.chkBewilliigungZwingend.UseVisualStyleBackColor = true;
|
||||||
|
this.chkBewilliigungZwingend.Visible = false;
|
||||||
//
|
//
|
||||||
// groupBox4
|
// groupBox4
|
||||||
//
|
//
|
||||||
@@ -397,9 +398,17 @@
|
|||||||
this.groupBox4.TabStop = false;
|
this.groupBox4.TabStop = false;
|
||||||
this.groupBox4.Text = "Dokument-Produktion";
|
this.groupBox4.Text = "Dokument-Produktion";
|
||||||
//
|
//
|
||||||
|
// chkboxInOffice
|
||||||
|
//
|
||||||
|
this.chkboxInOffice.Location = new System.Drawing.Point(11, 78);
|
||||||
|
this.chkboxInOffice.Name = "chkboxInOffice";
|
||||||
|
this.chkboxInOffice.Size = new System.Drawing.Size(187, 24);
|
||||||
|
this.chkboxInOffice.TabIndex = 26;
|
||||||
|
this.chkboxInOffice.Text = "Erstellung mit Office";
|
||||||
|
//
|
||||||
// chkinterop
|
// chkinterop
|
||||||
//
|
//
|
||||||
this.chkinterop.Location = new System.Drawing.Point(259, 59);
|
this.chkinterop.Location = new System.Drawing.Point(11, 59);
|
||||||
this.chkinterop.Name = "chkinterop";
|
this.chkinterop.Name = "chkinterop";
|
||||||
this.chkinterop.Size = new System.Drawing.Size(127, 24);
|
this.chkinterop.Size = new System.Drawing.Size(127, 24);
|
||||||
this.chkinterop.TabIndex = 11;
|
this.chkinterop.TabIndex = 11;
|
||||||
@@ -407,7 +416,7 @@
|
|||||||
//
|
//
|
||||||
// chkbearbeitungdirekt
|
// chkbearbeitungdirekt
|
||||||
//
|
//
|
||||||
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(259, 40);
|
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(11, 40);
|
||||||
this.chkbearbeitungdirekt.Name = "chkbearbeitungdirekt";
|
this.chkbearbeitungdirekt.Name = "chkbearbeitungdirekt";
|
||||||
this.chkbearbeitungdirekt.Size = new System.Drawing.Size(127, 24);
|
this.chkbearbeitungdirekt.Size = new System.Drawing.Size(127, 24);
|
||||||
this.chkbearbeitungdirekt.TabIndex = 10;
|
this.chkbearbeitungdirekt.TabIndex = 10;
|
||||||
@@ -415,7 +424,7 @@
|
|||||||
//
|
//
|
||||||
// cbbearbeitungzwingend
|
// cbbearbeitungzwingend
|
||||||
//
|
//
|
||||||
this.cbbearbeitungzwingend.Location = new System.Drawing.Point(259, 19);
|
this.cbbearbeitungzwingend.Location = new System.Drawing.Point(11, 19);
|
||||||
this.cbbearbeitungzwingend.Name = "cbbearbeitungzwingend";
|
this.cbbearbeitungzwingend.Name = "cbbearbeitungzwingend";
|
||||||
this.cbbearbeitungzwingend.Size = new System.Drawing.Size(221, 24);
|
this.cbbearbeitungzwingend.Size = new System.Drawing.Size(221, 24);
|
||||||
this.cbbearbeitungzwingend.TabIndex = 9;
|
this.cbbearbeitungzwingend.TabIndex = 9;
|
||||||
@@ -424,7 +433,7 @@
|
|||||||
//
|
//
|
||||||
// cbPDFDirekteArchivierung
|
// cbPDFDirekteArchivierung
|
||||||
//
|
//
|
||||||
this.cbPDFDirekteArchivierung.Location = new System.Drawing.Point(16, 59);
|
this.cbPDFDirekteArchivierung.Location = new System.Drawing.Point(392, 69);
|
||||||
this.cbPDFDirekteArchivierung.Name = "cbPDFDirekteArchivierung";
|
this.cbPDFDirekteArchivierung.Name = "cbPDFDirekteArchivierung";
|
||||||
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
|
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
|
||||||
this.cbPDFDirekteArchivierung.TabIndex = 8;
|
this.cbPDFDirekteArchivierung.TabIndex = 8;
|
||||||
@@ -433,19 +442,21 @@
|
|||||||
//
|
//
|
||||||
// cbPDFDokument
|
// cbPDFDokument
|
||||||
//
|
//
|
||||||
this.cbPDFDokument.Location = new System.Drawing.Point(16, 40);
|
this.cbPDFDokument.Location = new System.Drawing.Point(392, 50);
|
||||||
this.cbPDFDokument.Name = "cbPDFDokument";
|
this.cbPDFDokument.Name = "cbPDFDokument";
|
||||||
this.cbPDFDokument.Size = new System.Drawing.Size(280, 24);
|
this.cbPDFDokument.Size = new System.Drawing.Size(280, 24);
|
||||||
this.cbPDFDokument.TabIndex = 6;
|
this.cbPDFDokument.TabIndex = 6;
|
||||||
this.cbPDFDokument.Text = "Generierng als PDF";
|
this.cbPDFDokument.Text = "Generierng als PDF";
|
||||||
|
this.cbPDFDokument.Visible = false;
|
||||||
//
|
//
|
||||||
// cbOfficeDokument
|
// cbOfficeDokument
|
||||||
//
|
//
|
||||||
this.cbOfficeDokument.Location = new System.Drawing.Point(16, 19);
|
this.cbOfficeDokument.Location = new System.Drawing.Point(392, 29);
|
||||||
this.cbOfficeDokument.Name = "cbOfficeDokument";
|
this.cbOfficeDokument.Name = "cbOfficeDokument";
|
||||||
this.cbOfficeDokument.Size = new System.Drawing.Size(240, 24);
|
this.cbOfficeDokument.Size = new System.Drawing.Size(240, 24);
|
||||||
this.cbOfficeDokument.TabIndex = 4;
|
this.cbOfficeDokument.TabIndex = 4;
|
||||||
this.cbOfficeDokument.Text = "Office-Dokument";
|
this.cbOfficeDokument.Text = "Office-Dokument";
|
||||||
|
this.cbOfficeDokument.Visible = false;
|
||||||
//
|
//
|
||||||
// groupBox3
|
// groupBox3
|
||||||
//
|
//
|
||||||
@@ -620,14 +631,6 @@
|
|||||||
this.GroupBox2.TabStop = false;
|
this.GroupBox2.TabStop = false;
|
||||||
this.GroupBox2.Text = "Diverses";
|
this.GroupBox2.Text = "Diverses";
|
||||||
//
|
//
|
||||||
// chkboxInOffice
|
|
||||||
//
|
|
||||||
this.chkboxInOffice.Location = new System.Drawing.Point(259, 78);
|
|
||||||
this.chkboxInOffice.Name = "chkboxInOffice";
|
|
||||||
this.chkboxInOffice.Size = new System.Drawing.Size(187, 24);
|
|
||||||
this.chkboxInOffice.TabIndex = 26;
|
|
||||||
this.chkboxInOffice.Text = "Erstellung mit Office";
|
|
||||||
//
|
|
||||||
// cbaktiv
|
// cbaktiv
|
||||||
//
|
//
|
||||||
this.cbaktiv.Location = new System.Drawing.Point(293, 53);
|
this.cbaktiv.Location = new System.Drawing.Point(293, 53);
|
||||||
@@ -705,6 +708,26 @@
|
|||||||
this.Grp1.TabStop = false;
|
this.Grp1.TabStop = false;
|
||||||
this.Grp1.Text = "Vorlage";
|
this.Grp1.Text = "Vorlage";
|
||||||
//
|
//
|
||||||
|
// label17
|
||||||
|
//
|
||||||
|
this.label17.Location = new System.Drawing.Point(16, 172);
|
||||||
|
this.label17.Name = "label17";
|
||||||
|
this.label17.Size = new System.Drawing.Size(100, 16);
|
||||||
|
this.label17.TabIndex = 30;
|
||||||
|
this.label17.Text = "Physisches Archiv";
|
||||||
|
//
|
||||||
|
// cbboxarchiv
|
||||||
|
//
|
||||||
|
this.cbboxarchiv.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
|
this.cbboxarchiv.DropDownPosition = Syncfusion.WinForms.Core.Enums.PopupRelativeAlignment.Center;
|
||||||
|
this.cbboxarchiv.Location = new System.Drawing.Point(120, 168);
|
||||||
|
this.cbboxarchiv.Name = "cbboxarchiv";
|
||||||
|
this.cbboxarchiv.Size = new System.Drawing.Size(336, 25);
|
||||||
|
this.cbboxarchiv.Style.DropDownStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
||||||
|
this.cbboxarchiv.Style.TokenStyle.CloseButtonBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
||||||
|
this.cbboxarchiv.TabIndex = 29;
|
||||||
|
this.cbboxarchiv.TabStop = false;
|
||||||
|
//
|
||||||
// cbboxFachverantwortung
|
// cbboxFachverantwortung
|
||||||
//
|
//
|
||||||
this.cbboxFachverantwortung.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
this.cbboxFachverantwortung.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||||
@@ -1418,26 +1441,6 @@
|
|||||||
this.label15.TabIndex = 7;
|
this.label15.TabIndex = 7;
|
||||||
this.label15.Text = "Sort";
|
this.label15.Text = "Sort";
|
||||||
//
|
//
|
||||||
// cbboxarchiv
|
|
||||||
//
|
|
||||||
this.cbboxarchiv.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
|
||||||
this.cbboxarchiv.DropDownPosition = Syncfusion.WinForms.Core.Enums.PopupRelativeAlignment.Center;
|
|
||||||
this.cbboxarchiv.Location = new System.Drawing.Point(120, 168);
|
|
||||||
this.cbboxarchiv.Name = "cbboxarchiv";
|
|
||||||
this.cbboxarchiv.Size = new System.Drawing.Size(336, 25);
|
|
||||||
this.cbboxarchiv.Style.DropDownStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
|
|
||||||
this.cbboxarchiv.Style.TokenStyle.CloseButtonBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
|
|
||||||
this.cbboxarchiv.TabIndex = 29;
|
|
||||||
this.cbboxarchiv.TabStop = false;
|
|
||||||
//
|
|
||||||
// label17
|
|
||||||
//
|
|
||||||
this.label17.Location = new System.Drawing.Point(16, 172);
|
|
||||||
this.label17.Name = "label17";
|
|
||||||
this.label17.Size = new System.Drawing.Size(100, 16);
|
|
||||||
this.label17.TabIndex = 30;
|
|
||||||
this.label17.Text = "Physisches Archiv";
|
|
||||||
//
|
|
||||||
// Dokumenttyp
|
// Dokumenttyp
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@@ -1469,6 +1472,7 @@
|
|||||||
this.GroupBox2.PerformLayout();
|
this.GroupBox2.PerformLayout();
|
||||||
this.Grp1.ResumeLayout(false);
|
this.Grp1.ResumeLayout(false);
|
||||||
this.Grp1.PerformLayout();
|
this.Grp1.PerformLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.cbboxarchiv)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.cbboxFachverantwortung)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.cbboxOwner)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.cbboxofficevorlage)).EndInit();
|
||||||
@@ -1488,7 +1492,6 @@
|
|||||||
((System.ComponentModel.ISupportInitialize)(this.TreeDokumenttyp)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.TreeDokumenttyp)).EndInit();
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.cbboxarchiv)).EndInit();
|
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -149,24 +149,31 @@ namespace OnDoc.UIControls.Administrator
|
|||||||
this.cbUnterschriftpruefung.Checked = Convert.ToBoolean(r["Unterschrift_Pruefung"]) == true;
|
this.cbUnterschriftpruefung.Checked = Convert.ToBoolean(r["Unterschrift_Pruefung"]) == true;
|
||||||
this.lbUnterschriftStandard.SelectedIndex = Convert.ToInt32(r["unterschrift_standard"]);
|
this.lbUnterschriftStandard.SelectedIndex = Convert.ToInt32(r["unterschrift_standard"]);
|
||||||
this.cbboxarchiv.SelectedValue = Convert.ToInt32(r["physisches_archiv"]);
|
this.cbboxarchiv.SelectedValue = Convert.ToInt32(r["physisches_archiv"]);
|
||||||
switch (Convert.ToInt32(r["genresultat_type"]))
|
//this.cbbearbeitungzwingend.Checked = Convert.ToBoolean(r["bearbeitungzwingend"]) == true;
|
||||||
{
|
//switch (Convert.ToInt32(r["genresultat_type"]))
|
||||||
case 1:
|
//{
|
||||||
cbOfficeDokument.Checked = true;
|
// case 1:
|
||||||
break;
|
// cbOfficeDokument.Checked = true;
|
||||||
case 2:
|
// break;
|
||||||
cbPDFDokument.Checked = true;
|
// case 2:
|
||||||
break;
|
// cbPDFDokument.Checked = true;
|
||||||
case 3:
|
// break;
|
||||||
cbPDFDirekteArchivierung.Checked = true;
|
// case 3:
|
||||||
break;
|
// cbPDFDirekteArchivierung.Checked = true;
|
||||||
case 4:
|
// break;
|
||||||
cbbearbeitungzwingend.Checked = true;
|
// case 4:
|
||||||
break;
|
// cbbearbeitungzwingend.Checked = true;
|
||||||
default:
|
// break;
|
||||||
cbOfficeDokument.Checked = true;
|
// default:
|
||||||
break;
|
// cbOfficeDokument.Checked = true;
|
||||||
}
|
// break;
|
||||||
|
//}
|
||||||
|
|
||||||
|
try { chkbearbeitungdirekt.Checked = Convert.ToBoolean(r["BearbeitungDirket"]) == true; } catch { chkbearbeitungdirekt.Checked = false; }
|
||||||
|
try { chkinterop.Checked = Convert.ToBoolean(r["interop"]) == true; }catch { chkinterop.Checked = false; }
|
||||||
|
try { chkboxInOffice.Checked = Convert.ToBoolean(r["erstellungInOffice"]) == true; } catch { chkboxInOffice.Checked = false; };
|
||||||
|
try { cbbearbeitungzwingend.Checked = Convert.ToBoolean(r["bearbeitung_zwingend"]) == true; } catch { cbbearbeitungzwingend.Checked = false; }
|
||||||
|
r["physisches_archiv"] = cbboxarchiv.SelectedValue;
|
||||||
|
|
||||||
this.cbversandstrasse_moeglich.Checked = r["versandstrasse_moeglich"].ToString() == "True";
|
this.cbversandstrasse_moeglich.Checked = r["versandstrasse_moeglich"].ToString() == "True";
|
||||||
this.cbebanking_moeglich.Checked = r["ebanking_moeglich"].ToString() == "True";
|
this.cbebanking_moeglich.Checked = r["ebanking_moeglich"].ToString() == "True";
|
||||||
@@ -175,23 +182,23 @@ namespace OnDoc.UIControls.Administrator
|
|||||||
this.listBox1.DataSource = db.dsdaten.Tables[0];
|
this.listBox1.DataSource = db.dsdaten.Tables[0];
|
||||||
this.listBox1.DisplayMember = "Bezeichnung";
|
this.listBox1.DisplayMember = "Bezeichnung";
|
||||||
this.listBox1.ValueMember = "vorlagenfeldregelnr";
|
this.listBox1.ValueMember = "vorlagenfeldregelnr";
|
||||||
try
|
//try
|
||||||
{
|
//{
|
||||||
chkbearbeitungdirekt.Checked = Convert.ToBoolean(r["BearbeitungDirket"]) == true;
|
// chkbearbeitungdirekt.Checked = Convert.ToBoolean(r["BearbeitungDirket"]) == true;
|
||||||
}
|
//}
|
||||||
catch { chkbearbeitungdirekt.Checked = false; }
|
//catch { chkbearbeitungdirekt.Checked = false; }
|
||||||
try
|
//try
|
||||||
{
|
//{
|
||||||
chkinterop.Checked = Convert.ToBoolean(r["interop"]) == true;
|
// chkinterop.Checked = Convert.ToBoolean(r["interop"]) == true;
|
||||||
}
|
//}
|
||||||
catch { chkinterop.Checked = false; }
|
//catch { chkinterop.Checked = false; }
|
||||||
|
|
||||||
try
|
//try
|
||||||
{
|
//{
|
||||||
chkboxInOffice.Checked = Convert.ToBoolean(r["erstellunginoffice"]) == true;
|
// chkboxInOffice.Checked = Convert.ToBoolean(r["erstellunginoffice"]) == true;
|
||||||
}
|
//}
|
||||||
catch
|
//catch
|
||||||
{ chkboxInOffice.Checked = false; }
|
//{ chkboxInOffice.Checked = false; }
|
||||||
|
|
||||||
Update_Vorlagenfelder();
|
Update_Vorlagenfelder();
|
||||||
}
|
}
|
||||||
@@ -340,11 +347,11 @@ namespace OnDoc.UIControls.Administrator
|
|||||||
r["BearbeitungDirket"] = chkbearbeitungdirekt.Checked == true;
|
r["BearbeitungDirket"] = chkbearbeitungdirekt.Checked == true;
|
||||||
r["interop"] = chkinterop.Checked == true;
|
r["interop"] = chkinterop.Checked == true;
|
||||||
r["erstellungInOffice"] = chkboxInOffice.Checked == true;
|
r["erstellungInOffice"] = chkboxInOffice.Checked == true;
|
||||||
r["[physisches_archiv]"]=cbboxarchiv.SelectedValue;
|
r["physisches_archiv"]=cbboxarchiv.SelectedValue;
|
||||||
if (cbOfficeDokument.Checked) { r["genresultat_type"] = 1; }
|
//if (cbOfficeDokument.Checked) { r["genresultat_type"] = 1; }
|
||||||
if (cbPDFDokument.Checked) { r["genresultat_type"] = 2; }
|
//if (cbPDFDokument.Checked) { r["genresultat_type"] = 2; }
|
||||||
if (cbPDFDirekteArchivierung.Checked) { r["genresultat_type"] = 3; }
|
//if (cbPDFDirekteArchivierung.Checked) { r["genresultat_type"] = 3; }
|
||||||
if (cbbearbeitungzwingend.Checked) { r["genresultat_type"] = 4; }
|
r["bearbeitung_zwingend"] = this.cbbearbeitungzwingend.Checked == true;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace OnDoc.UIControls.Administrator
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sql = "select top "+numericUpDown1.ToString()+" rowid, tgnummer, insert_timestamp, dbo.binarytobase64(xmldata) from edk_data ";
|
sql = "select top "+numericUpDown1.Value.ToString()+" rowid, tgnummer, insert_timestamp, dbo.binarytobase64(xmldata) from edk_data ";
|
||||||
sql = sql + " where insert_timestamp >= '" + datum + "' ";
|
sql = sql + " where insert_timestamp >= '" + datum + "' ";
|
||||||
|
|
||||||
if (mitarbeiternr > 0)
|
if (mitarbeiternr > 0)
|
||||||
@@ -69,7 +69,7 @@ namespace OnDoc.UIControls.Administrator
|
|||||||
sql = sql + " where tgnummer='" + db.dsdaten.Tables[0].Rows[0][0].ToString() + "'";
|
sql = sql + " where tgnummer='" + db.dsdaten.Tables[0].Rows[0][0].ToString() + "'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sql = sql + "order by rowid desc";
|
sql = sql + " order by rowid desc";
|
||||||
|
|
||||||
}
|
}
|
||||||
db.Get_Tabledata(sql, false, true);
|
db.Get_Tabledata(sql, false, true);
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ namespace OnDoc.UIControls
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
db.Exec_SQL("Update dokument set approved=0, approval1=0 where dokumentid='" + dr["dokumentid"].ToString());
|
db.Exec_SQL("Update dokument set approved=0, approval1=0 where dokumentid='" + dr["dokumentid"].ToString()+"'");
|
||||||
}
|
}
|
||||||
if (tp.Nodes.Count < 1)
|
if (tp.Nodes.Count < 1)
|
||||||
{
|
{
|
||||||
|
|||||||
90
Client/UIControls/DocPreview.Designer.cs
generated
90
Client/UIControls/DocPreview.Designer.cs
generated
@@ -35,19 +35,19 @@
|
|||||||
this.pdfViewerControl1 = new Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl();
|
this.pdfViewerControl1 = new Syncfusion.Windows.Forms.PdfViewer.PdfViewerControl();
|
||||||
this.pnlEdit = new System.Windows.Forms.Panel();
|
this.pnlEdit = new System.Windows.Forms.Panel();
|
||||||
this.Open = new System.Windows.Forms.ToolStrip();
|
this.Open = new System.Windows.Forms.ToolStrip();
|
||||||
this.txtPageNumber = new System.Windows.Forms.ToolStripTextBox();
|
|
||||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
|
||||||
this.zoomComboBox = new System.Windows.Forms.ToolStripComboBox();
|
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
|
||||||
this.btnFirst = new System.Windows.Forms.ToolStripButton();
|
this.btnFirst = new System.Windows.Forms.ToolStripButton();
|
||||||
this.btnPrevious = new System.Windows.Forms.ToolStripButton();
|
this.btnPrevious = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.txtPageNumber = new System.Windows.Forms.ToolStripTextBox();
|
||||||
this.btnNext = new System.Windows.Forms.ToolStripButton();
|
this.btnNext = new System.Windows.Forms.ToolStripButton();
|
||||||
this.btnLast = new System.Windows.Forms.ToolStripButton();
|
this.btnLast = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.zoomIn = new System.Windows.Forms.ToolStripButton();
|
this.zoomIn = new System.Windows.Forms.ToolStripButton();
|
||||||
this.zoomOut = new System.Windows.Forms.ToolStripButton();
|
this.zoomOut = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.zoomComboBox = new System.Windows.Forms.ToolStripComboBox();
|
||||||
this.FitPage = new System.Windows.Forms.ToolStripButton();
|
this.FitPage = new System.Windows.Forms.ToolStripButton();
|
||||||
this.FitWidth = new System.Windows.Forms.ToolStripButton();
|
this.FitWidth = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.Open.SuspendLayout();
|
this.Open.SuspendLayout();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -127,46 +127,6 @@
|
|||||||
this.Open.TabIndex = 5;
|
this.Open.TabIndex = 5;
|
||||||
this.Open.Text = "toolStrip1";
|
this.Open.Text = "toolStrip1";
|
||||||
//
|
//
|
||||||
// txtPageNumber
|
|
||||||
//
|
|
||||||
this.txtPageNumber.AutoSize = false;
|
|
||||||
this.txtPageNumber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
||||||
this.txtPageNumber.Font = new System.Drawing.Font("Segoe UI", 9F);
|
|
||||||
this.txtPageNumber.Name = "txtPageNumber";
|
|
||||||
this.txtPageNumber.Size = new System.Drawing.Size(35, 23);
|
|
||||||
this.txtPageNumber.Text = "1";
|
|
||||||
this.txtPageNumber.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
||||||
//
|
|
||||||
// toolStripSeparator2
|
|
||||||
//
|
|
||||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
|
||||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
|
|
||||||
//
|
|
||||||
// zoomComboBox
|
|
||||||
//
|
|
||||||
this.zoomComboBox.Items.AddRange(new object[] {
|
|
||||||
"50%",
|
|
||||||
"75%",
|
|
||||||
"100%",
|
|
||||||
"125%",
|
|
||||||
"150%",
|
|
||||||
"200%",
|
|
||||||
"400%"});
|
|
||||||
this.zoomComboBox.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
|
|
||||||
this.zoomComboBox.Name = "zoomComboBox";
|
|
||||||
this.zoomComboBox.Size = new System.Drawing.Size(75, 31);
|
|
||||||
this.zoomComboBox.Text = "100%";
|
|
||||||
this.zoomComboBox.SelectedIndexChanged += new System.EventHandler(this.zoomComboBox_SelectedIndexChanged);
|
|
||||||
//
|
|
||||||
// panel1
|
|
||||||
//
|
|
||||||
this.panel1.Controls.Add(this.Open);
|
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
||||||
this.panel1.Location = new System.Drawing.Point(76, 0);
|
|
||||||
this.panel1.Name = "panel1";
|
|
||||||
this.panel1.Size = new System.Drawing.Size(781, 41);
|
|
||||||
this.panel1.TabIndex = 6;
|
|
||||||
//
|
|
||||||
// btnFirst
|
// btnFirst
|
||||||
//
|
//
|
||||||
this.btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.btnFirst.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
@@ -193,6 +153,16 @@
|
|||||||
this.btnPrevious.ToolTipText = "Vorherige Seite";
|
this.btnPrevious.ToolTipText = "Vorherige Seite";
|
||||||
this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
|
this.btnPrevious.Click += new System.EventHandler(this.btnPrevious_Click);
|
||||||
//
|
//
|
||||||
|
// txtPageNumber
|
||||||
|
//
|
||||||
|
this.txtPageNumber.AutoSize = false;
|
||||||
|
this.txtPageNumber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
|
this.txtPageNumber.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||||
|
this.txtPageNumber.Name = "txtPageNumber";
|
||||||
|
this.txtPageNumber.Size = new System.Drawing.Size(35, 23);
|
||||||
|
this.txtPageNumber.Text = "1";
|
||||||
|
this.txtPageNumber.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
//
|
||||||
// btnNext
|
// btnNext
|
||||||
//
|
//
|
||||||
this.btnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.btnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
@@ -219,6 +189,11 @@
|
|||||||
this.btnLast.ToolTipText = "Letzte Seite";
|
this.btnLast.ToolTipText = "Letzte Seite";
|
||||||
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
|
this.btnLast.Click += new System.EventHandler(this.btnLast_Click);
|
||||||
//
|
//
|
||||||
|
// toolStripSeparator2
|
||||||
|
//
|
||||||
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||||
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 31);
|
||||||
|
//
|
||||||
// zoomIn
|
// zoomIn
|
||||||
//
|
//
|
||||||
this.zoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.zoomIn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
@@ -243,6 +218,22 @@
|
|||||||
this.zoomOut.ToolTipText = "Vergrössern";
|
this.zoomOut.ToolTipText = "Vergrössern";
|
||||||
this.zoomOut.Click += new System.EventHandler(this.zoomOut_Click);
|
this.zoomOut.Click += new System.EventHandler(this.zoomOut_Click);
|
||||||
//
|
//
|
||||||
|
// zoomComboBox
|
||||||
|
//
|
||||||
|
this.zoomComboBox.Items.AddRange(new object[] {
|
||||||
|
"50%",
|
||||||
|
"75%",
|
||||||
|
"100%",
|
||||||
|
"125%",
|
||||||
|
"150%",
|
||||||
|
"200%",
|
||||||
|
"400%"});
|
||||||
|
this.zoomComboBox.Margin = new System.Windows.Forms.Padding(8, 0, 0, 0);
|
||||||
|
this.zoomComboBox.Name = "zoomComboBox";
|
||||||
|
this.zoomComboBox.Size = new System.Drawing.Size(75, 31);
|
||||||
|
this.zoomComboBox.Text = "100%";
|
||||||
|
this.zoomComboBox.SelectedIndexChanged += new System.EventHandler(this.zoomComboBox_SelectedIndexChanged);
|
||||||
|
//
|
||||||
// FitPage
|
// FitPage
|
||||||
//
|
//
|
||||||
this.FitPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.FitPage.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
@@ -277,9 +268,18 @@
|
|||||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton1.Name = "toolStripButton1";
|
this.toolStripButton1.Name = "toolStripButton1";
|
||||||
this.toolStripButton1.Size = new System.Drawing.Size(28, 28);
|
this.toolStripButton1.Size = new System.Drawing.Size(28, 28);
|
||||||
this.toolStripButton1.Text = "toolStripButton1";
|
this.toolStripButton1.Text = "PDF Drucken";
|
||||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||||
//
|
//
|
||||||
|
// panel1
|
||||||
|
//
|
||||||
|
this.panel1.Controls.Add(this.Open);
|
||||||
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(76, 0);
|
||||||
|
this.panel1.Name = "panel1";
|
||||||
|
this.panel1.Size = new System.Drawing.Size(781, 41);
|
||||||
|
this.panel1.TabIndex = 6;
|
||||||
|
//
|
||||||
// DocPreview
|
// DocPreview
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using Database;
|
using Database;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
|
using System.Web.Security;
|
||||||
|
|
||||||
namespace OnDoc.UIControls
|
namespace OnDoc.UIControls
|
||||||
{
|
{
|
||||||
@@ -269,5 +270,10 @@ namespace OnDoc.UIControls
|
|||||||
{
|
{
|
||||||
pdfViewerControl1.Print(true);
|
pdfViewerControl1.Print(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void printpdf()
|
||||||
|
{
|
||||||
|
pdfViewerControl1.Print(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,10 +132,10 @@
|
|||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADVSURBVDhPY3CLL/8Pw65x5Q8YSATOsRXCrvGlGygyyC2u
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADVSURBVDhPY3CLL/8Pw65x5Q8YSATOsRXCrvGlGygyyC2u
|
||||||
1NEtvuwJSC9ZBtnb17MA1bfZh+X9hekl2SDnxAoloCtOIOsDYZIMcksoi3KJKP+ErAeGiTLIL6mUFyi3
|
1NEtvuwJSC9ZBtnb17MA1bfZh+b+hekl2SDnxAoloCtOIOsDYZIMcksoi3KJKP+ErAeGiTLIL6mUFyi3
|
||||||
CFktOiZokEdChalrfPkdZHXYMF6DXGLL5XB5BR0TdlFipZZbbMklZHXYMFFhZB9fzwH03mRkteiYKINg
|
CFktOiZokEdChalrfPkdZHXYMF6DXGLL5XB5BR0TdlFipZZbbMklZHXYMFFhZB9fzwH03mRkteiYKINg
|
||||||
wC221Aeo7jWyHhgmySAQcEkqlXKLLd+DrA+ESTYIBOrr65nc4srL3eLzflNkEAwgJw2KDAIBSGItXwQA
|
wC221Aeo7jWyHhgmySAQcEkqlXKLLd+DrA+ESTYIBOrr65nc4srL3eJzf1NkEAwgJw2KDAIBSGItXwQA
|
||||||
J9Qz8tyQmCQAAAAASUVORK5CYII=
|
IEsz79EkZgAAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btnPrevious.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btnPrevious.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
@@ -143,8 +143,8 @@
|
|||||||
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACzSURBVDhPYyAFeMWXSLjFlW2FcgkDt/jyYLf4ojdA+j9U
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACzSURBVDhPYyAFeMWXSLjFlW2FcgkDt/jyYLf4ojdA+j9U
|
||||||
CDdwSSvnd40rXwRSDMNQKezALa7U0TGm7BGyBpya7OPrOdziy/qACv6hawBhqDIEcI4tN3SNK7uKTTEM
|
CDdwSSvnd40rXwRSDMNQKezALa7U0TGm7BGyBpya7OPrOdziy/qACv6hawBhqDIEcI4tN3SNK7uKTTEM
|
||||||
Q5UyMISGhjK7xJVXucXn/camEBmDNbjFVKi4xpcdw6YAG2YAOiUdyPiCLoEPk6eJLOfBAMkBgQxICnJk
|
Q5UyMISGhjK7xJVXucXn/samEBmDNbjFVKi4xpcdw6YAG2YAOiUdyPiCLoEPk6eJLOfBAMkBgQxICnJk
|
||||||
QHLkIgOSkhEyIDnBIgOgYuKzBjKAZMKyrQCkPg6mmNw2kwAAAABJRU5ErkJggg==
|
QHLkIgOSkhEyIDnBIgOgYuKzBjKAZMKyrQCgdQ6kWu3sLwAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btnNext.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btnNext.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
@@ -152,39 +152,39 @@
|
|||||||
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACeSURBVDhPY3CNLd3iFV8iwUAKcIsv/w/Er90TyoKgQoQB
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACeSURBVDhPY3CNLd3iFV8iwUAKcIsv/w/Er90TyoKgQoQB
|
||||||
VBMYu8aXLfSIrueDSuEGyJoguOihe3y5A1QaO8DUBMb/gLjXPr6eA6oMFaApRsEu8eVXXONLDKBKEQCb
|
VBMYu8aXLfSIrueDSuEGyJoguOihe3y5A1QaO8DUBMb/gLjXPr6eA6oMFaApRsEu8eVXXONLDKBKEQCb
|
||||||
YhQcVv7LNa6sMjQ0lBmqhQhNUOwSV37UI65EmSRNUPzFLb4ijbaaSHMeqQFBapCTGrkkJiNSEyxpWYP0
|
YhQcWv7LNa6sMjQ0lBmqhQhNUOwSV37UI65EmSRNUPzFLb4ijbaaSHMeqQFBapCTGrkkJiNSEyxpWYP0
|
||||||
TMjAAAAG+g6sHS8nigAAAABJRU5ErkJggg==
|
TMjAAAADTw6q3g6ecAAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="btnLast.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="btnLast.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADaSURBVDhPY3CNK1/kl1TKy0AiAOp74BZf/h+GGUCEa3z5
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADaSURBVDhPY3CNK1/kl1TKy0AiAOp74BZf/h+GGUCEa3z5
|
||||||
HY+EClOoGqIAVoMgOO+3W1x5eX19PRNULV6AxyAIdo0v2+2SVCoFVY8TEDQIil+7xZb6QPVgBcQaBMbA
|
HY+EClOoGqIAVoMgOPe3W1x5eX19PRNULV6AxyAIdo0v2+2SVCoFVY8TEDQIil+7xZb6QPVgBcQaBMbA
|
||||||
sJtsH1/PAdWLAkgyCIxjSy55JFZqQfXDAekGAbFLRPknl9hyOagZYECyQbiSBmlhhCexEmUQyCtuCWVR
|
sJtsH1/PAdWLAkgyCIxjSy55JFZqQfXDAekGAbFLRPknl9hyOagZYECyQbiSBmlhhCexEmUQyCtuCWVR
|
||||||
UD1YAREGlZ1wTqxQgqrHCXAaZB+W9xdIt9nb17NA1eIFOAwqe+IWV+oIVUMUwDDINb50g3NshTBUnmiA
|
UD1YAREGlZ1wTqxQgqrHCXAaZB+a+xdIt9nb17NA1eIFOAwqe+IWV+oIVUMUwDDINb50g3NshTBUnmiA
|
||||||
alD5fwDu3zPxKNmfQgAAAABJRU5ErkJggg==
|
alD5fwDplDPuaUZeUwAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="zoomIn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="zoomIn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADPSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vF5/0GYTAb
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADPSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vF5/4GYTAb
|
||||||
JAaUA6mBKscO3BLKXF3jy++4xZf/x4ed40tuu8dWuEC1oQKgbZn2YXl/sWnEhsFqgXqg2iHANa48EJti
|
JAaUA6mBKscO3BLKXF3jy++4xZf/x4ed40tuu8dWuEC1oQKgbZn2obl/sWnEhsFqgXqg2iHANa48EJti
|
||||||
YjBIL9gQ+/h8Aafo4lfYFBGDQXpBZjAAObnokmTgXAaXuPJDWCRIwiAzQC76hizoHl/uQAxG1gPE30AG
|
YjBIL9gQ+/h8Aafo4lfYFBGDQXpBZjAAObnokmTgXAaXuPJDWCRIwiAzQC76hizoHl/uQAxG1gPE30AG
|
||||||
IQv8BwccEQBDH5BAcZFrfIkBMRhZDxB/o2oYUSfWqJaOQIAqKRsGqJLXYIAquR8GyCuPGBgA/mnxXG9M
|
IQv8BwccEQBDH5BAcZFrfIkBMRhZDxB/o2oYUSfWqJaOQIAqKRsGqJLXYIAquR8GyCuPGBgA4VXxUAJa
|
||||||
KfwAAAAASUVORK5CYII=
|
VPcAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="zoomOut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="zoomOut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEdSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vF5/0GYTAb
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEdSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vF5/4GYTAb
|
||||||
JAaUA6mBKscO3GMrXFzjy++4xZf/x4ed40tug9RCtaECoG2Z9mF5f7FpxIbBaoF6oNohwDWuPBCr4viy
|
JAaUA6mBKscO3GMrXFzjy++4xZf/x4ed40tug9RCtaECoG2Z9qG5f7FpxIbBaoF6oNohwDWuPBCr4viy
|
||||||
j85xJRdAGMTGpgakF2yIfXy+gFN08SusiuJLN4AVAQGIjU0NSC/IDAYgJxddEoaJMQiKcxlc4soPYZEA
|
j85xJRdAGMTGpgakF2yIfXy+gFN08SusiuJLN4AVAQGIjU0NSC/IDAYgJxddEoaJMQiKcxlc4soPYZEA
|
||||||
Y2INApkBctE3ZEH3+HIHGHaNqdSBmsMAYiPLIesB4m8gg5AF/kP1EQQY+oAEiotc40sM4DimWBGqD+ii
|
Y2INApkBctE3ZEH3+HIHGHaNqdSBmsMAYiPLIesB4m8gg5AF/kP1EQQY+oAEiotc40sM4DimWBGqD+ii
|
||||||
YkVkOWQ9QPyNqmFEnVijWjoCK8KRst3ii94A6QMQDGZjqIGnbBigSl6DAbeEMldicj9IDc7cDwPw8ii+
|
YkVkOWQ9QPyNqmFEnVijWjoCK8KRst3ii94A6QMQDGZjqIGnbBigSl6DAbeEMldicj9IDc7cDwPw8ii+
|
||||||
fLVbfNkT4sojBgYA29fNZohv9VsAAAAASUVORK5CYII=
|
fLVbfNkT4sojBgYAvsPNWp0R0zgAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="FitPage.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="FitPage.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
|||||||
47
Client/UIControls/DokList.Designer.cs
generated
47
Client/UIControls/DokList.Designer.cs
generated
@@ -135,13 +135,14 @@ namespace OnDoc.UICintrols
|
|||||||
this.ribbonButton2 = new System.Windows.Forms.RibbonButton();
|
this.ribbonButton2 = new System.Windows.Forms.RibbonButton();
|
||||||
this.RibbonButtonBerechtigungsgruppe = new System.Windows.Forms.RibbonButton();
|
this.RibbonButtonBerechtigungsgruppe = new System.Windows.Forms.RibbonButton();
|
||||||
this.ribbonButtonSysadmins = new System.Windows.Forms.RibbonButton();
|
this.ribbonButtonSysadmins = new System.Windows.Forms.RibbonButton();
|
||||||
|
this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
|
||||||
|
this.ribbonbuttonedklog = new System.Windows.Forms.RibbonButton();
|
||||||
|
this.ribbonbuttonedkverarbeitung = new System.Windows.Forms.RibbonButton();
|
||||||
this.pdfConfig1 = new Syncfusion.Pdf.PdfConfig();
|
this.pdfConfig1 = new Syncfusion.Pdf.PdfConfig();
|
||||||
this.lblToApprove = new System.Windows.Forms.Label();
|
this.lblToApprove = new System.Windows.Forms.Label();
|
||||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||||
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
|
this.RibbonButtonCreateNewDoc = new System.Windows.Forms.RibbonButton();
|
||||||
this.ribbonButton5 = new System.Windows.Forms.RibbonButton();
|
this.ribbonButton5 = new System.Windows.Forms.RibbonButton();
|
||||||
this.ribbonPanel1 = new System.Windows.Forms.RibbonPanel();
|
|
||||||
this.ribbonbuttonedklog = new System.Windows.Forms.RibbonButton();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||||
this.ctxMenuDokList.SuspendLayout();
|
this.ctxMenuDokList.SuspendLayout();
|
||||||
this.toolStrip1.SuspendLayout();
|
this.toolStrip1.SuspendLayout();
|
||||||
@@ -598,6 +599,7 @@ namespace OnDoc.UICintrols
|
|||||||
this.ribbonButtonVersandstrasse.Name = "ribbonButtonVersandstrasse";
|
this.ribbonButtonVersandstrasse.Name = "ribbonButtonVersandstrasse";
|
||||||
this.ribbonButtonVersandstrasse.SmallImage = global::OnDoc.Properties.Resources.Versandstrasse_24x24_32;
|
this.ribbonButtonVersandstrasse.SmallImage = global::OnDoc.Properties.Resources.Versandstrasse_24x24_32;
|
||||||
this.ribbonButtonVersandstrasse.Text = "Versandstrasse";
|
this.ribbonButtonVersandstrasse.Text = "Versandstrasse";
|
||||||
|
this.ribbonButtonVersandstrasse.Visible = false;
|
||||||
this.ribbonButtonVersandstrasse.Click += new System.EventHandler(this.ribbonButtonVersandstrasse_Click);
|
this.ribbonButtonVersandstrasse.Click += new System.EventHandler(this.ribbonButtonVersandstrasse_Click);
|
||||||
//
|
//
|
||||||
// RibbonPanelDemo
|
// RibbonPanelDemo
|
||||||
@@ -1107,6 +1109,31 @@ namespace OnDoc.UICintrols
|
|||||||
this.ribbonButtonSysadmins.Text = "Sys-Admins";
|
this.ribbonButtonSysadmins.Text = "Sys-Admins";
|
||||||
this.ribbonButtonSysadmins.Click += new System.EventHandler(this.ribbonButtonSysadmins_Click);
|
this.ribbonButtonSysadmins.Click += new System.EventHandler(this.ribbonButtonSysadmins_Click);
|
||||||
//
|
//
|
||||||
|
// ribbonPanel1
|
||||||
|
//
|
||||||
|
this.ribbonPanel1.Items.Add(this.ribbonbuttonedklog);
|
||||||
|
this.ribbonPanel1.Items.Add(this.ribbonbuttonedkverarbeitung);
|
||||||
|
this.ribbonPanel1.Name = "ribbonPanel1";
|
||||||
|
this.ribbonPanel1.Text = "Analyse-Tools";
|
||||||
|
//
|
||||||
|
// ribbonbuttonedklog
|
||||||
|
//
|
||||||
|
this.ribbonbuttonedklog.Image = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedklog.Image")));
|
||||||
|
this.ribbonbuttonedklog.LargeImage = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedklog.LargeImage")));
|
||||||
|
this.ribbonbuttonedklog.Name = "ribbonbuttonedklog";
|
||||||
|
this.ribbonbuttonedklog.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedklog.SmallImage")));
|
||||||
|
this.ribbonbuttonedklog.Text = "EDK-DATA/-LOG";
|
||||||
|
this.ribbonbuttonedklog.Click += new System.EventHandler(this.ribbonbuttonedklog_Click);
|
||||||
|
//
|
||||||
|
// ribbonbuttonedkverarbeitung
|
||||||
|
//
|
||||||
|
this.ribbonbuttonedkverarbeitung.Image = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedkverarbeitung.Image")));
|
||||||
|
this.ribbonbuttonedkverarbeitung.LargeImage = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedkverarbeitung.LargeImage")));
|
||||||
|
this.ribbonbuttonedkverarbeitung.Name = "ribbonbuttonedkverarbeitung";
|
||||||
|
this.ribbonbuttonedkverarbeitung.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedkverarbeitung.SmallImage")));
|
||||||
|
this.ribbonbuttonedkverarbeitung.Text = "EDK OnDoc_EDOKA";
|
||||||
|
this.ribbonbuttonedkverarbeitung.Click += new System.EventHandler(this.ribbonbuttonedkverarbeitung_Click);
|
||||||
|
//
|
||||||
// lblToApprove
|
// lblToApprove
|
||||||
//
|
//
|
||||||
this.lblToApprove.AutoSize = true;
|
this.lblToApprove.AutoSize = true;
|
||||||
@@ -1139,21 +1166,6 @@ namespace OnDoc.UICintrols
|
|||||||
this.ribbonButton5.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.SmallImage")));
|
this.ribbonButton5.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonButton5.SmallImage")));
|
||||||
this.ribbonButton5.Text = "Load";
|
this.ribbonButton5.Text = "Load";
|
||||||
//
|
//
|
||||||
// ribbonPanel1
|
|
||||||
//
|
|
||||||
this.ribbonPanel1.Items.Add(this.ribbonbuttonedklog);
|
|
||||||
this.ribbonPanel1.Name = "ribbonPanel1";
|
|
||||||
this.ribbonPanel1.Text = "Analyse-Tools";
|
|
||||||
//
|
|
||||||
// ribbonbuttonedklog
|
|
||||||
//
|
|
||||||
this.ribbonbuttonedklog.Image = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedklog.Image")));
|
|
||||||
this.ribbonbuttonedklog.LargeImage = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedklog.LargeImage")));
|
|
||||||
this.ribbonbuttonedklog.Name = "ribbonbuttonedklog";
|
|
||||||
this.ribbonbuttonedklog.SmallImage = ((System.Drawing.Image)(resources.GetObject("ribbonbuttonedklog.SmallImage")));
|
|
||||||
this.ribbonbuttonedklog.Text = "EDK-DATA/-LOG";
|
|
||||||
this.ribbonbuttonedklog.Click += new System.EventHandler(this.ribbonbuttonedklog_Click);
|
|
||||||
//
|
|
||||||
// DokList
|
// DokList
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@@ -1293,5 +1305,6 @@ namespace OnDoc.UICintrols
|
|||||||
private System.Windows.Forms.RibbonButton ribbonButtonSysadmins;
|
private System.Windows.Forms.RibbonButton ribbonButtonSysadmins;
|
||||||
private System.Windows.Forms.RibbonPanel ribbonPanel1;
|
private System.Windows.Forms.RibbonPanel ribbonPanel1;
|
||||||
private System.Windows.Forms.RibbonButton ribbonbuttonedklog;
|
private System.Windows.Forms.RibbonButton ribbonbuttonedklog;
|
||||||
|
private System.Windows.Forms.RibbonButton ribbonbuttonedkverarbeitung;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,7 +119,8 @@ namespace OnDoc.UICintrols
|
|||||||
db = null;
|
db = null;
|
||||||
refresh_ansichten();
|
refresh_ansichten();
|
||||||
}
|
}
|
||||||
private void refresh_ansichten(string Bezeichnung="") {
|
private void refresh_ansichten(string Bezeichnung = "")
|
||||||
|
{
|
||||||
ribbonCBAnsicht.DropDownItems.Clear();
|
ribbonCBAnsicht.DropDownItems.Clear();
|
||||||
DB db = new DB(AppParams.connectionstring);
|
DB db = new DB(AppParams.connectionstring);
|
||||||
db.clear_parameter();
|
db.clear_parameter();
|
||||||
@@ -133,7 +134,7 @@ namespace OnDoc.UICintrols
|
|||||||
rl.Text = dr["bezeichnung"].ToString();
|
rl.Text = dr["bezeichnung"].ToString();
|
||||||
rl.Tag = Convert.ToInt32(dr["id"]);
|
rl.Tag = Convert.ToInt32(dr["id"]);
|
||||||
ribbonCBAnsicht.DropDownItems.Add(rl);
|
ribbonCBAnsicht.DropDownItems.Add(rl);
|
||||||
if (Convert.ToBoolean(dr["standard"])==true && Bezeichnung=="")
|
if (Convert.ToBoolean(dr["standard"]) == true && Bezeichnung == "")
|
||||||
{
|
{
|
||||||
ribbonCBAnsicht.SelectedItem = rl;
|
ribbonCBAnsicht.SelectedItem = rl;
|
||||||
standardview = dr["gridsettings"].ToString();
|
standardview = dr["gridsettings"].ToString();
|
||||||
@@ -177,7 +178,7 @@ namespace OnDoc.UICintrols
|
|||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
}
|
}
|
||||||
public void refresh_dokumente(string layout="")
|
public void refresh_dokumente(string layout = "")
|
||||||
{
|
{
|
||||||
if (datafilter != "")
|
if (datafilter != "")
|
||||||
{
|
{
|
||||||
@@ -193,7 +194,7 @@ namespace OnDoc.UICintrols
|
|||||||
System.Data.DataTable dokumente = new System.Data.DataTable();
|
System.Data.DataTable dokumente = new System.Data.DataTable();
|
||||||
dokumente = db.Get_Dokumente(partnernr, docartnr, profilnr, forMaNr, Search_Docid, false);
|
dokumente = db.Get_Dokumente(partnernr, docartnr, profilnr, forMaNr, Search_Docid, false);
|
||||||
// TableHelper.SetColumnsOrder(dokumente, "trefferliste");
|
// TableHelper.SetColumnsOrder(dokumente, "trefferliste");
|
||||||
if (layout=="") { layout = "trefferliste_relaunch"; }
|
if (layout == "") { layout = "trefferliste_relaunch"; }
|
||||||
TableHelper.FormatTable(ref dokumente, layout, ref this.sfDataGrid1);
|
TableHelper.FormatTable(ref dokumente, layout, ref this.sfDataGrid1);
|
||||||
|
|
||||||
//this.sfDataGrid1.DataSource = dokumente;
|
//this.sfDataGrid1.DataSource = dokumente;
|
||||||
@@ -202,7 +203,7 @@ namespace OnDoc.UICintrols
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void refresh_dokumente_filtered(string layout="")
|
public void refresh_dokumente_filtered(string layout = "")
|
||||||
{
|
{
|
||||||
DB db = new DB(AppParams.connectionstring);
|
DB db = new DB(AppParams.connectionstring);
|
||||||
int selectedIndex = RibbonCBProfil.SelectedIndex;
|
int selectedIndex = RibbonCBProfil.SelectedIndex;
|
||||||
@@ -227,7 +228,7 @@ namespace OnDoc.UICintrols
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void update_ansicht (string bearbeitung_zwingend, string toApprove, string approved)
|
private void update_ansicht(string bearbeitung_zwingend, string toApprove, string approved)
|
||||||
{
|
{
|
||||||
if (dokwerte1.Width > 0)
|
if (dokwerte1.Width > 0)
|
||||||
{
|
{
|
||||||
@@ -276,7 +277,7 @@ namespace OnDoc.UICintrols
|
|||||||
selected_dokumentid = documentid;
|
selected_dokumentid = documentid;
|
||||||
selected_partnernr = dataRow["Partner-Nr"].ToString();
|
selected_partnernr = dataRow["Partner-Nr"].ToString();
|
||||||
selected_cellvalue = dataRow[columnIndex].ToString();
|
selected_cellvalue = dataRow[columnIndex].ToString();
|
||||||
selected_cellvalue=this.sfDataGrid1.View.GetPropertyAccessProvider().GetValue(e.DataRow.RowData, e.DataColumn.GridColumn.MappingName).ToString();
|
selected_cellvalue = this.sfDataGrid1.View.GetPropertyAccessProvider().GetValue(e.DataRow.RowData, e.DataColumn.GridColumn.MappingName).ToString();
|
||||||
|
|
||||||
update_ansicht(dataRow["Bearbeitung_Zwingend"].ToString(), dataRow["toapprove"].ToString(), dataRow["approved"].ToString());
|
update_ansicht(dataRow["Bearbeitung_Zwingend"].ToString(), dataRow["toapprove"].ToString(), dataRow["approved"].ToString());
|
||||||
return;
|
return;
|
||||||
@@ -333,10 +334,21 @@ namespace OnDoc.UICintrols
|
|||||||
private void dokumentBearbeitenToolStripMenuItem_Click(object sender, EventArgs e)
|
private void dokumentBearbeitenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (!row_selected()) return;
|
if (!row_selected()) return;
|
||||||
dokument_bearbeiten();
|
var records = sfDataGrid1.View.GetSelectedRecords();
|
||||||
|
if (records.Count > 1) {
|
||||||
|
if (MessageBox.Show("Mehrere Dokumente zum Bearbeiten öffnen?","Dokument bearbeiten",MessageBoxButtons.YesNo,MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||||
|
|
||||||
|
}
|
||||||
|
foreach (var record in records)
|
||||||
|
{
|
||||||
|
var datarow = record as DataRowView;
|
||||||
|
string documentid = datarow["dokumentid"].ToString();
|
||||||
|
dokument_bearbeiten(documentid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
public void dokument_bearbeiten()
|
public void dokument_bearbeiten(string dokid)
|
||||||
{
|
{
|
||||||
|
if (dokid != "") { selected_dokumentid = dokid; }
|
||||||
clsdok dok = GetDoc(false);
|
clsdok dok = GetDoc(false);
|
||||||
if (dok.dokument == "") return;
|
if (dok.dokument == "") return;
|
||||||
DB db = new DB(AppParams.connectionstring);
|
DB db = new DB(AppParams.connectionstring);
|
||||||
@@ -634,7 +646,7 @@ namespace OnDoc.UICintrols
|
|||||||
interop = frmnewdok.interop;
|
interop = frmnewdok.interop;
|
||||||
runmacros = frmnewdok.runmacros;
|
runmacros = frmnewdok.runmacros;
|
||||||
|
|
||||||
dokument_bearbeiten();
|
dokument_bearbeiten(selected_dokumentid);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
@@ -798,11 +810,12 @@ namespace OnDoc.UICintrols
|
|||||||
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "D")
|
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "D")
|
||||||
{
|
{
|
||||||
//word
|
//word
|
||||||
if (dataRow[11].ToString() != "True")
|
Logging.Logging.Debug("IdonHandler", "OnDocClient", dataRow["dokumentid"].ToString() + Convert.ToString(dataRow["Bearbeitung_Zwingend"]));
|
||||||
|
if (Convert.ToBoolean(dataRow["Bearbeitung_Zwingend"])== false)
|
||||||
{
|
{
|
||||||
if (Convert.ToBoolean(dataRow[17]) == true)
|
if (Convert.ToBoolean(dataRow["ToApprove"]) == true)
|
||||||
{
|
{
|
||||||
if (Convert.ToBoolean(dataRow[18]) == true)
|
if (Convert.ToBoolean(dataRow["approved"]) == true)
|
||||||
{
|
{
|
||||||
e.Graphics.DrawImage(OnDoc.Properties.Resources.Word_approved_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
|
e.Graphics.DrawImage(OnDoc.Properties.Resources.Word_approved_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
|
||||||
}
|
}
|
||||||
@@ -824,10 +837,10 @@ namespace OnDoc.UICintrols
|
|||||||
}
|
}
|
||||||
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "X")
|
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "X")
|
||||||
{
|
{
|
||||||
if (dataRow[11].ToString() != "True")
|
if (Convert.ToBoolean(dataRow["Bearbeitung_Zwingend"]) == false == false)
|
||||||
if (Convert.ToBoolean(dataRow[17]) == true)
|
if (Convert.ToBoolean(dataRow["toapprove"]) == true)
|
||||||
{
|
{
|
||||||
if (Convert.ToBoolean(dataRow[18]) == true)
|
if (Convert.ToBoolean(dataRow["approved"]) == true)
|
||||||
{
|
{
|
||||||
e.Graphics.DrawImage(OnDoc.Properties.Resources.Excel_approved_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
|
e.Graphics.DrawImage(OnDoc.Properties.Resources.Excel_approved_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
|
||||||
}
|
}
|
||||||
@@ -871,11 +884,52 @@ namespace OnDoc.UICintrols
|
|||||||
|
|
||||||
private void druckenToolStripMenuItem_Click(object sender, EventArgs e)
|
private void druckenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
var records = sfDataGrid1.View.GetSelectedRecords();
|
||||||
|
if (records.Count < 1) { return; }
|
||||||
|
if (MessageBox.Show("Gewählte Dokument(e) drucken", "Dokument drucken", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||||
|
Cursor = Cursors.WaitCursor;
|
||||||
|
foreach (var record in records)
|
||||||
|
{
|
||||||
|
var datarow = record as DataRowView;
|
||||||
|
string documentid = datarow["dokumentid"].ToString();
|
||||||
|
print_doc(documentid);
|
||||||
|
}
|
||||||
|
Cursor = Cursors.Default;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void print_doc(string dokumentid)
|
||||||
|
{
|
||||||
|
|
||||||
DocGet gd = new DocGet(AppParams.connectionstring);
|
DocGet gd = new DocGet(AppParams.connectionstring);
|
||||||
clsdok dok = new clsdok("", "", "");
|
clsdok dok = new clsdok("", "", "");
|
||||||
dok = gd.GetDoc(selected_dokumentid);
|
dok = gd.GetDoc(dokumentid);
|
||||||
gd.Print_Doc(dok.dokument);
|
Helper.FileHelper fh = new Helper.FileHelper();
|
||||||
|
string Filename = "";
|
||||||
|
switch (dok.doktype)
|
||||||
|
{
|
||||||
|
case "D":
|
||||||
|
OfficePrinter.OnDocOffice op = new OfficePrinter.OnDocOffice();
|
||||||
|
Filename = AppParams.tempdir + dokumentid + "." + dok.extension;
|
||||||
|
fh.SaveBase64ToFile(dok.dokument, Filename);
|
||||||
|
op.PrintInWord(Filename, AppParams.wordprintmacro);
|
||||||
|
System.IO.File.Delete(Filename);
|
||||||
|
op = null;
|
||||||
|
break;
|
||||||
|
case "X":
|
||||||
|
System.Diagnostics.Process.Start("winword.exe", "/w " + Filename);
|
||||||
|
break;
|
||||||
|
case "P":
|
||||||
|
DocPreview docPreview = new DocPreview();
|
||||||
|
docPreview.Show_Doc(dokumentid);
|
||||||
|
docPreview.printpdf();
|
||||||
|
docPreview.Dispose();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
fh = null;
|
||||||
|
gd = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RibbonButtonTest1_Click(object sender, EventArgs e)
|
private void RibbonButtonTest1_Click(object sender, EventArgs e)
|
||||||
@@ -969,6 +1023,7 @@ namespace OnDoc.UICintrols
|
|||||||
if (records.Count < 1) { return; }
|
if (records.Count < 1) { return; }
|
||||||
if (MessageBox.Show("Gewählte Dokument(e) archiviern und abschliessen", "Dokument archivieren und abschliessen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
if (MessageBox.Show("Gewählte Dokument(e) archiviern und abschliessen", "Dokument archivieren und abschliessen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||||
|
|
||||||
|
Cursor = Cursors.WaitCursor;
|
||||||
foreach (var record in records)
|
foreach (var record in records)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -978,6 +1033,7 @@ namespace OnDoc.UICintrols
|
|||||||
|
|
||||||
archivedoc(documentid);
|
archivedoc(documentid);
|
||||||
}
|
}
|
||||||
|
Cursor = Cursors.Default;
|
||||||
refresh_dokumente();
|
refresh_dokumente();
|
||||||
// return;
|
// return;
|
||||||
|
|
||||||
@@ -1069,6 +1125,14 @@ namespace OnDoc.UICintrols
|
|||||||
fa.ShowDialog();
|
fa.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void upruefung()
|
||||||
|
{
|
||||||
|
Refresh_Bewilligungen();
|
||||||
|
if (this.lblToApprove.Text == "") { MessageBox.Show("Es stehen keine Dokumente zur Unterschriftenprüfung an.", "Unterschriftenprüfung", MessageBoxButtons.OK, MessageBoxIcon.Information); return; }
|
||||||
|
frmBewilligung bw = new frmBewilligung();
|
||||||
|
bw.Show();
|
||||||
|
}
|
||||||
|
|
||||||
private void Refresh_Bewilligungen()
|
private void Refresh_Bewilligungen()
|
||||||
{
|
{
|
||||||
DB db = new DB(AppParams.connectionstring);
|
DB db = new DB(AppParams.connectionstring);
|
||||||
@@ -1267,7 +1331,7 @@ namespace OnDoc.UICintrols
|
|||||||
//tagesdatum = "2024-11-29T00:00:00";
|
//tagesdatum = "2024-11-29T00:00:00";
|
||||||
plaintext = plaintext.Replace("@today@", tagesdatum);
|
plaintext = plaintext.Replace("@today@", tagesdatum);
|
||||||
plaintext = Strings.Base64Encode(plaintext);
|
plaintext = Strings.Base64Encode(plaintext);
|
||||||
bytes=Convert.FromBase64String(plaintext);
|
bytes = Convert.FromBase64String(plaintext);
|
||||||
using (MemoryStream ms = new MemoryStream(bytes))
|
using (MemoryStream ms = new MemoryStream(bytes))
|
||||||
{
|
{
|
||||||
this.sfDataGrid1.Deserialize(ms);
|
this.sfDataGrid1.Deserialize(ms);
|
||||||
@@ -1276,6 +1340,7 @@ namespace OnDoc.UICintrols
|
|||||||
//sfDataGrid1.ShowToolTip = true;
|
//sfDataGrid1.ShowToolTip = true;
|
||||||
//sfDataGrid1.ToolTipOption.AutoPopDelay = 500;
|
//sfDataGrid1.ToolTipOption.AutoPopDelay = 500;
|
||||||
//sfDataGrid1.ToolTipOption.InitialDelay = 500;
|
//sfDataGrid1.ToolTipOption.InitialDelay = 500;
|
||||||
|
sfDataGrid1.ShowToolTip = true;
|
||||||
System.Windows.Forms.Application.DoEvents();
|
System.Windows.Forms.Application.DoEvents();
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1358,7 +1423,7 @@ namespace OnDoc.UICintrols
|
|||||||
}
|
}
|
||||||
|
|
||||||
string sql = "insert Mitarbeiter_GridSettings (mitarbeiterid, erstellt_am, aktiv, bezeichnung, gridsettings,standard) values(";
|
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()+")";
|
sql = sql + AppParams.CurrentMitarbieter.ToString() + ",getdate(),1,'" + sa.selectedtext + "','" + inputAsString + "'," + sa.alsStandard.ToString() + ")";
|
||||||
db.Exec_SQL(sql);
|
db.Exec_SQL(sql);
|
||||||
db = null;
|
db = null;
|
||||||
if (sa.alsStandard != 1) { refresh_ansichten(sa.selectedtext); } else { refresh_ansichten(); }
|
if (sa.alsStandard != 1) { refresh_ansichten(sa.selectedtext); } else { refresh_ansichten(); }
|
||||||
@@ -1373,7 +1438,9 @@ namespace OnDoc.UICintrols
|
|||||||
private void RibbonButtonViewDelete_Click(object sender, EventArgs e)
|
private void RibbonButtonViewDelete_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (ribbonCBAnsicht.SelectedItem.Text.Trim()=="" || ribbonCBAnsicht.SelectedItem.Text.Substring(0,4)==" Heu")
|
string bez = ribbonCBAnsicht.SelectedItem.Text.Trim();
|
||||||
|
if (bez.Length < 4) { bez = bez + " "; }
|
||||||
|
if (bez == "" || bez == " Heu")
|
||||||
{
|
{
|
||||||
MessageBox.Show("Die gewählte Standard-Ansicht kann nicht gelöscht werden", "Ansicht löschen", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
MessageBox.Show("Die gewählte Standard-Ansicht kann nicht gelöscht werden", "Ansicht löschen", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
return;
|
return;
|
||||||
@@ -1399,7 +1466,7 @@ namespace OnDoc.UICintrols
|
|||||||
FileHelper fh = new FileHelper();
|
FileHelper fh = new FileHelper();
|
||||||
string b = fh.Base64FromFile(@"x:\gridsettings2.xml");
|
string b = fh.Base64FromFile(@"x:\gridsettings2.xml");
|
||||||
|
|
||||||
DB db = new DB(AppParams.connectionstring);
|
DB db = new DB(AppParams.connectionstring);
|
||||||
db.Exec_SQL("Update mitarbeiter_gridsettings set gridsettings='" + b + "' where id=-100");
|
db.Exec_SQL("Update mitarbeiter_gridsettings set gridsettings='" + b + "' where id=-100");
|
||||||
using (var file = File.Open(@"x:\gridsettings2.xml", FileMode.Open))
|
using (var file = File.Open(@"x:\gridsettings2.xml", FileMode.Open))
|
||||||
{
|
{
|
||||||
@@ -1428,7 +1495,7 @@ namespace OnDoc.UICintrols
|
|||||||
if (dokwerte1.Width == 0)
|
if (dokwerte1.Width == 0)
|
||||||
{
|
{
|
||||||
dokwerte1.Width = 300;
|
dokwerte1.Width = 300;
|
||||||
dokwerte1.set_panelheight( sfDataGrid1.GroupPanel.Height, sfDataGrid1.GroupPanel.BackColor);
|
dokwerte1.set_panelheight(sfDataGrid1.GroupPanel.Height, sfDataGrid1.GroupPanel.BackColor);
|
||||||
|
|
||||||
dokwerte1.Update_Werte(selected_dokumentid);
|
dokwerte1.Update_Werte(selected_dokumentid);
|
||||||
}
|
}
|
||||||
@@ -1454,7 +1521,6 @@ namespace OnDoc.UICintrols
|
|||||||
{
|
{
|
||||||
e.ToolTipInfo.Items.Clear();
|
e.ToolTipInfo.Items.Clear();
|
||||||
Syncfusion.WinForms.Controls.ToolTipItem tt = new Syncfusion.WinForms.Controls.ToolTipItem();
|
Syncfusion.WinForms.Controls.ToolTipItem tt = new Syncfusion.WinForms.Controls.ToolTipItem();
|
||||||
tt.Text = "Hallo Du";
|
|
||||||
e.ToolTipInfo.Items.Add(tt);
|
e.ToolTipInfo.Items.Add(tt);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1507,7 +1573,8 @@ namespace OnDoc.UICintrols
|
|||||||
selected_dokumentid = "";
|
selected_dokumentid = "";
|
||||||
selected_partnernr = "";
|
selected_partnernr = "";
|
||||||
selected_cellvalue = "";
|
selected_cellvalue = "";
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
RibbonButtonEditEditDoc.Enabled = true;
|
RibbonButtonEditEditDoc.Enabled = true;
|
||||||
RibbonButtonEditDelete.Enabled = true;
|
RibbonButtonEditDelete.Enabled = true;
|
||||||
@@ -1528,10 +1595,10 @@ namespace OnDoc.UICintrols
|
|||||||
selected_partnernr = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "partner-nr").ToString();
|
selected_partnernr = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "partner-nr").ToString();
|
||||||
selected_cellvalue = selected_dokumentid;
|
selected_cellvalue = selected_dokumentid;
|
||||||
|
|
||||||
string bearbeitung_zwingend= sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "Bearbeitung_Zwingend").ToString();
|
string bearbeitung_zwingend = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "Bearbeitung_Zwingend").ToString();
|
||||||
string toapprove = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "toapprove").ToString();
|
string toapprove = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "toapprove").ToString();
|
||||||
string approved = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "approved").ToString();
|
string approved = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "approved").ToString();
|
||||||
update_ansicht(bearbeitung_zwingend,toapprove,approved);
|
update_ansicht(bearbeitung_zwingend, toapprove, approved);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1597,6 +1664,12 @@ namespace OnDoc.UICintrols
|
|||||||
edk_viewer ev = new edk_viewer();
|
edk_viewer ev = new edk_viewer();
|
||||||
ev.Show();
|
ev.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ribbonbuttonedkverarbeitung_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
TableEditor tb = new TableEditor("OnDoc_EDK_Routing");
|
||||||
|
tb.Show();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -506,40 +506,55 @@
|
|||||||
<data name="ribbonButtonSysadmins.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="ribbonButtonSysadmins.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wgAADsIBFShKgAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
vwAADr8BOAVTJAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ribbonButtonSysadmins.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="ribbonButtonSysadmins.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wgAADsIBFShKgAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
vwAADr8BOAVTJAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ribbonButtonSysadmins.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="ribbonButtonSysadmins.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
wgAADsIBFShKgAAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
vwAADr8BOAVTJAAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ribbonbuttonedklog.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="ribbonbuttonedklog.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAaSURBVFhH7cEBAQAAAIIg/69uSEAAAADAuRoQIAABnXhJ
|
wAAADsABataJCQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||||
QwAAAABJRU5ErkJggg==
|
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ribbonbuttonedklog.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="ribbonbuttonedklog.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAaSURBVFhH7cEBAQAAAIIg/69uSEAAAADAuRoQIAABnXhJ
|
wAAADsABataJCQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||||
QwAAAABJRU5ErkJggg==
|
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="ribbonbuttonedklog.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="ribbonbuttonedklog.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAATSURBVDhPYxgFo2AUjAIwYGAAAAQQAAGnRHxjAAAAAElF
|
wAAADsABataJCQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||||
TkSuQmCC
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="ribbonbuttonedkverarbeitung.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wgAADsIBFShKgAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="ribbonbuttonedkverarbeitung.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wgAADsIBFShKgAAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
<data name="ribbonbuttonedkverarbeitung.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||||
|
wgAADsIBFShKgAAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
|||||||
34
Client/UIControls/Dokwerte.Designer.cs
generated
34
Client/UIControls/Dokwerte.Designer.cs
generated
@@ -31,8 +31,12 @@
|
|||||||
this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();
|
this.sfDataGrid1 = new Syncfusion.WinForms.DataGrid.SfDataGrid();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.grppruefung = new System.Windows.Forms.GroupBox();
|
||||||
|
this.sfdatagridpruefung = new Syncfusion.WinForms.DataGrid.SfDataGrid();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
|
this.grppruefung.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.sfdatagridpruefung)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// sfDataGrid1
|
// sfDataGrid1
|
||||||
@@ -42,7 +46,7 @@
|
|||||||
this.sfDataGrid1.Location = new System.Drawing.Point(0, 100);
|
this.sfDataGrid1.Location = new System.Drawing.Point(0, 100);
|
||||||
this.sfDataGrid1.Name = "sfDataGrid1";
|
this.sfDataGrid1.Name = "sfDataGrid1";
|
||||||
this.sfDataGrid1.ShowToolTip = true;
|
this.sfDataGrid1.ShowToolTip = true;
|
||||||
this.sfDataGrid1.Size = new System.Drawing.Size(381, 611);
|
this.sfDataGrid1.Size = new System.Drawing.Size(381, 421);
|
||||||
this.sfDataGrid1.TabIndex = 0;
|
this.sfDataGrid1.TabIndex = 0;
|
||||||
this.sfDataGrid1.Text = "sfDataGrid1";
|
this.sfDataGrid1.Text = "sfDataGrid1";
|
||||||
this.sfDataGrid1.CopyCellContent += new Syncfusion.WinForms.DataGrid.Events.CellCutCopyPasteEventHandler(this.sfDataGrid1_CopyCellContent);
|
this.sfDataGrid1.CopyCellContent += new Syncfusion.WinForms.DataGrid.Events.CellCutCopyPasteEventHandler(this.sfDataGrid1_CopyCellContent);
|
||||||
@@ -67,17 +71,43 @@
|
|||||||
this.label1.TabIndex = 0;
|
this.label1.TabIndex = 0;
|
||||||
this.label1.Text = "Attribute";
|
this.label1.Text = "Attribute";
|
||||||
//
|
//
|
||||||
|
// grppruefung
|
||||||
|
//
|
||||||
|
this.grppruefung.Controls.Add(this.sfdatagridpruefung);
|
||||||
|
this.grppruefung.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.grppruefung.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.grppruefung.Location = new System.Drawing.Point(0, 521);
|
||||||
|
this.grppruefung.Name = "grppruefung";
|
||||||
|
this.grppruefung.Size = new System.Drawing.Size(381, 190);
|
||||||
|
this.grppruefung.TabIndex = 2;
|
||||||
|
this.grppruefung.TabStop = false;
|
||||||
|
this.grppruefung.Text = "Prüfung";
|
||||||
|
//
|
||||||
|
// sfdatagridpruefung
|
||||||
|
//
|
||||||
|
this.sfdatagridpruefung.AccessibleName = "Table";
|
||||||
|
this.sfdatagridpruefung.BackColor = System.Drawing.SystemColors.Window;
|
||||||
|
this.sfdatagridpruefung.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.sfdatagridpruefung.Location = new System.Drawing.Point(3, 16);
|
||||||
|
this.sfdatagridpruefung.Name = "sfdatagridpruefung";
|
||||||
|
this.sfdatagridpruefung.Size = new System.Drawing.Size(375, 171);
|
||||||
|
this.sfdatagridpruefung.TabIndex = 0;
|
||||||
|
this.sfdatagridpruefung.Text = "sfDataGrid2";
|
||||||
|
//
|
||||||
// Dokwerte
|
// Dokwerte
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.sfDataGrid1);
|
this.Controls.Add(this.sfDataGrid1);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
|
this.Controls.Add(this.grppruefung);
|
||||||
this.Name = "Dokwerte";
|
this.Name = "Dokwerte";
|
||||||
this.Size = new System.Drawing.Size(381, 711);
|
this.Size = new System.Drawing.Size(381, 711);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).EndInit();
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
|
this.grppruefung.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.sfdatagridpruefung)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -87,5 +117,7 @@
|
|||||||
private Syncfusion.WinForms.DataGrid.SfDataGrid sfDataGrid1;
|
private Syncfusion.WinForms.DataGrid.SfDataGrid sfDataGrid1;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.GroupBox grppruefung;
|
||||||
|
private Syncfusion.WinForms.DataGrid.SfDataGrid sfdatagridpruefung;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,10 +44,28 @@ namespace OnDoc.UIControls
|
|||||||
db.add_parameter("@dokumentid", dokumentid);
|
db.add_parameter("@dokumentid", dokumentid);
|
||||||
db.Get_Tabledata("sp_ondoc_get_dokumentdetails", true, false);
|
db.Get_Tabledata("sp_ondoc_get_dokumentdetails", true, false);
|
||||||
this.sfDataGrid1.DataSource = db.dsdaten.Tables[0];
|
this.sfDataGrid1.DataSource = db.dsdaten.Tables[0];
|
||||||
db = null;
|
|
||||||
sfDataGrid1.Columns[0].Width = 120;
|
sfDataGrid1.Columns[0].Width = 120;
|
||||||
sfDataGrid1.Columns[1].Width = 170;
|
sfDataGrid1.Columns[1].Width = 170;
|
||||||
|
|
||||||
|
db.Get_Tabledata("Select * from dokumentbewilligung where aktiv=1 and dokumentid='" + dokumentid + "'", false, true);
|
||||||
|
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||||
|
{
|
||||||
|
this.grppruefung.Height = this.Height = 150;
|
||||||
|
sfdatagridpruefung.DataSource=db.dsdaten.Tables[0];
|
||||||
|
for (int i = 3; i < sfdatagridpruefung.ColumnCount; i++)
|
||||||
|
{
|
||||||
|
sfdatagridpruefung.Columns[i].Visible = false;
|
||||||
|
}
|
||||||
|
sfdatagridpruefung.Columns[2].Width = 80;
|
||||||
|
sfdatagridpruefung.Columns[1].Width = 80;
|
||||||
|
sfdatagridpruefung.Columns[0].Width = sfdatagridpruefung.Width - 170;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.grppruefung.Height = 0;
|
||||||
|
}
|
||||||
|
db = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void sfDataGrid1_KeyUp(object sender, KeyEventArgs e)
|
private void sfDataGrid1_KeyUp(object sender, KeyEventArgs e)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,7 @@
|
|||||||
<value>NO</value>
|
<value>NO</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="StandardWordDruckMakro" serializeAs="String">
|
<setting name="StandardWordDruckMakro" serializeAs="String">
|
||||||
<value>FilePrintDefault</value>
|
<value>DateiDrukenStandard</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="VBVorlagenmanagement" serializeAs="String">
|
<setting name="VBVorlagenmanagement" serializeAs="String">
|
||||||
<value>Yes</value>
|
<value>Yes</value>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<value />
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="NativVorlagen" serializeAs="String">
|
<setting name="NativVorlagen" serializeAs="String">
|
||||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
<value>E:\Software-Projekte\OnDoc\TKB-Vorlagen\</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||||
<value />
|
<value />
|
||||||
@@ -47,7 +47,13 @@
|
|||||||
<value>Arial</value>
|
<value>Arial</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="ZusatzFontSize" serializeAs="String">
|
<setting name="ZusatzFontSize" serializeAs="String">
|
||||||
<value>14</value>
|
<value>9</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="edokapath" serializeAs="String">
|
||||||
|
<value>E:\Software-Projekte\EDOKA\Cleint_Erneuerung_DMS_Framwork48 - Kopie\EDOKA\bin\edoka.exe</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="OfficeWatchTimerIntervall" serializeAs="String">
|
||||||
|
<value>5000</value>
|
||||||
</setting>
|
</setting>
|
||||||
</OnDoc.Properties.Settings>
|
</OnDoc.Properties.Settings>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
931b0c7dd69587e134eaad161e787b8964978bb6a406bb6e76682ec4df0de556
|
270bbf90fe53a42fd6861f8675c74b142541c27c71ac5fd345ee101d7df54cce
|
||||||
|
|||||||
@@ -254,3 +254,4 @@ E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.pdb
|
|||||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.Diverses.SaveAnsicht.resources
|
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.Diverses.SaveAnsicht.resources
|
||||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.UIControls.Dokwerte.resources
|
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.UIControls.Dokwerte.resources
|
||||||
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.UIControls.Administrator.edk_viewer.resources
|
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.UIControls.Administrator.edk_viewer.resources
|
||||||
|
E:\Software-Projekte\OnDoc\OnDoc\Client\obj\Debug\OnDoc.Diverses.SplashScreen.resources
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Client/obj/Debug/OnDoc.Diverses.SplashScreen.resources
Normal file
BIN
Client/obj/Debug/OnDoc.Diverses.SplashScreen.resources
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,7 @@
|
|||||||
<value>NO</value>
|
<value>NO</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="StandardWordDruckMakro" serializeAs="String">
|
<setting name="StandardWordDruckMakro" serializeAs="String">
|
||||||
<value>FilePrintDefault</value>
|
<value>DateiDrukenStandard</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="VBVorlagenmanagement" serializeAs="String">
|
<setting name="VBVorlagenmanagement" serializeAs="String">
|
||||||
<value>Yes</value>
|
<value>Yes</value>
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<value />
|
<value />
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="NativVorlagen" serializeAs="String">
|
<setting name="NativVorlagen" serializeAs="String">
|
||||||
<value>E:\Software-Projekte\OnDoc\TKB - Vorlagen\</value>
|
<value>E:\Software-Projekte\OnDoc\TKB-Vorlagen\</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="Connectionstring_Prod" serializeAs="String">
|
<setting name="Connectionstring_Prod" serializeAs="String">
|
||||||
<value />
|
<value />
|
||||||
@@ -47,7 +47,13 @@
|
|||||||
<value>Arial</value>
|
<value>Arial</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="ZusatzFontSize" serializeAs="String">
|
<setting name="ZusatzFontSize" serializeAs="String">
|
||||||
<value>14</value>
|
<value>9</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="edokapath" serializeAs="String">
|
||||||
|
<value>E:\Software-Projekte\EDOKA\Cleint_Erneuerung_DMS_Framwork48 - Kopie\EDOKA\bin\edoka.exe</value>
|
||||||
|
</setting>
|
||||||
|
<setting name="OfficeWatchTimerIntervall" serializeAs="String">
|
||||||
|
<value>5000</value>
|
||||||
</setting>
|
</setting>
|
||||||
</OnDoc.Properties.Settings>
|
</OnDoc.Properties.Settings>
|
||||||
</userSettings>
|
</userSettings>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user