update 20251008
This commit is contained in:
@@ -7,6 +7,7 @@ using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Policy;
|
||||
@@ -74,6 +75,12 @@ namespace OnDoc.Klassen
|
||||
public static bool O365 { get; set; } = false;
|
||||
|
||||
public static int MaxFileSize { get; set; } = 9000000;
|
||||
|
||||
public static string assemblyversion { get; set; } = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
public static Boolean check_for_updates { get; set; } = false;
|
||||
public static string updatepath { get; set; } = "";
|
||||
|
||||
public static bool DoUpdate { get; set; } = false;
|
||||
static AppParams()
|
||||
{
|
||||
|
||||
@@ -129,6 +136,8 @@ namespace OnDoc.Klassen
|
||||
AutomArchivierung = db.dsdaten.Tables[0].Rows[0][22].ToString() == "TRUE";
|
||||
SignApp = db.dsdaten.Tables[0].Rows[0][23].ToString();
|
||||
MaxFileSize = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][24]);
|
||||
check_for_updates= db.dsdaten.Tables[0].Rows[0][25].ToString() == "TRUE";
|
||||
updatepath = db.dsdaten.Tables[0].Rows[0][26].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user