update 20260322
This commit is contained in:
1 parent
4460f36891
commit
399d63bc69
78 files changed
+792
-56
No files matched your search
+1
-1
@@ -53,7 +53,7 @@
|
||||
<value>E:\Software-Projekte\OnDoc\TKB-Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="OfficeWatchTimerIntervall" serializeAs="String">
|
||||
<value>20000</value>
|
||||
<value>60000</value>
|
||||
</setting>
|
||||
<setting name="PrinterSettings" serializeAs="String">
|
||||
<value>E:\Software-Projekte\TKBDiverse\TKBOfficeLib\PluginStart\bin\Debug\pluginstart.exe</value>
|
||||
|
||||
Generated
+1
-1
@@ -65,7 +65,7 @@
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(472, 26);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "16. März 2026";
|
||||
this.label2.Text = "22. März 2026";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.label2.Click += new System.EventHandler(this.label2_Click);
|
||||
//
|
||||
|
||||
@@ -84,6 +84,7 @@ namespace OnDoc.Klassen
|
||||
public static bool DoUpdate { get; set; } = false;
|
||||
public static bool MultiThreadingSign { get; set; } = false;
|
||||
public static bool MultiThreadingSB { get; set; } = false;
|
||||
public static int ExcelWait { get; set; } = 0;
|
||||
|
||||
static AppParams()
|
||||
{
|
||||
@@ -144,6 +145,7 @@ namespace OnDoc.Klassen
|
||||
updatepath = db.dsdaten.Tables[0].Rows[0][26].ToString();
|
||||
MultiThreadingSign= db.dsdaten.Tables[0].Rows[0][27].ToString() == "TRUE";
|
||||
MultiThreadingSB = db.dsdaten.Tables[0].Rows[0][28].ToString() == "TRUE";
|
||||
ExcelWait = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][30]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Generated
+2
-2
@@ -12,7 +12,7 @@ namespace OnDoc.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
@@ -194,7 +194,7 @@ namespace OnDoc.Properties {
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("20000")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("60000")]
|
||||
public string OfficeWatchTimerIntervall {
|
||||
get {
|
||||
return ((string)(this["OfficeWatchTimerIntervall"]));
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
<Value Profile="(Default)">E:\Software-Projekte\OnDoc\TKB-Vorlagen\</Value>
|
||||
</Setting>
|
||||
<Setting Name="OfficeWatchTimerIntervall" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">20000</Value>
|
||||
<Value Profile="(Default)">60000</Value>
|
||||
</Setting>
|
||||
<Setting Name="PrinterSettings" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">E:\Software-Projekte\TKBDiverse\TKBOfficeLib\PluginStart\bin\Debug\pluginstart.exe</Value>
|
||||
|
||||
@@ -717,6 +717,10 @@ namespace OnDoc.UICintrols
|
||||
case ".XLS":
|
||||
case ".XLT":
|
||||
apptype = "Excel";
|
||||
for (int i = 0; i < AppParams.ExcelWait; i++)
|
||||
{
|
||||
System.Windows.Forms.Application.DoEvents();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -869,9 +873,13 @@ namespace OnDoc.UICintrols
|
||||
{
|
||||
System.Diagnostics.Process.Start("excel.exe", " " + tempfilename);
|
||||
}
|
||||
|
||||
//System.Diagnostics.Process.Start("excel.exe", "/x " + tempfilename);
|
||||
if (editdoc == true)
|
||||
{
|
||||
Logging.Logging.Debug("Excel: ExcelWait", "OndocClient", "");
|
||||
System.Threading.Thread.Sleep(AppParams.ExcelWait);
|
||||
|
||||
clsProcessWatch.AddToList(selected_dokumentid, tempfilename, "Excel");
|
||||
}
|
||||
fh2 = null;
|
||||
|
||||
@@ -1491,6 +1491,7 @@ namespace OnDoc.Versandstrasse
|
||||
{
|
||||
if (this.ribbonbuttondokpreviewpostkorb.Checked)
|
||||
{
|
||||
System.IO.File.WriteAllText(@"y:\base64pdf1.json", node.TagObject.ToString());
|
||||
var stream = new MemoryStream(Convert.FromBase64String(node.TagObject.ToString()));
|
||||
this.pdfViewerControl2.Load(stream);
|
||||
stream = null;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -53,7 +53,7 @@
|
||||
<value>E:\Software-Projekte\OnDoc\TKB-Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="OfficeWatchTimerIntervall" serializeAs="String">
|
||||
<value>20000</value>
|
||||
<value>60000</value>
|
||||
</setting>
|
||||
<setting name="PrinterSettings" serializeAs="String">
|
||||
<value>E:\Software-Projekte\TKBDiverse\TKBOfficeLib\PluginStart\bin\Debug\pluginstart.exe</value>
|
||||
|
||||
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.
@@ -53,7 +53,7 @@
|
||||
<value>E:\Software-Projekte\OnDoc\TKB-Vorlagen\</value>
|
||||
</setting>
|
||||
<setting name="OfficeWatchTimerIntervall" serializeAs="String">
|
||||
<value>20000</value>
|
||||
<value>60000</value>
|
||||
</setting>
|
||||
<setting name="PrinterSettings" serializeAs="String">
|
||||
<value>E:\Software-Projekte\TKBDiverse\TKBOfficeLib\PluginStart\bin\Debug\pluginstart.exe</value>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user