update 20250111

This commit is contained in:
Stefan Hutter
2025-01-11 18:28:18 +01:00
parent bd4598e4a8
commit 11b4f840f0
150 changed files with 3091 additions and 390 deletions

View File

@@ -28,7 +28,7 @@
/// </summary>
private void InitializeComponent()
{
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo2 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdminDokTypGenerierung));
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.TreeDokumenttyp = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
@@ -40,20 +40,23 @@
this.rbNr = new System.Windows.Forms.RadioButton();
this.label15 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.chkinterop = new System.Windows.Forms.CheckBox();
this.chkbearbeitungdirekt = new System.Windows.Forms.CheckBox();
this.cbPDFDirekteArchivierung = new System.Windows.Forms.CheckBox();
this.cbPDFDokument = new System.Windows.Forms.CheckBox();
this.cbOfficeDokument = new System.Windows.Forms.CheckBox();
this.label18 = new System.Windows.Forms.Label();
this.chkfilloffice = new System.Windows.Forms.CheckBox();
this.cbboxcompatibilitymode = new System.Windows.Forms.ComboBox();
this.chkboxInOffice = new System.Windows.Forms.CheckBox();
this.chkinterop = new System.Windows.Forms.CheckBox();
this.chkbearbeitungdirekt = new System.Windows.Forms.CheckBox();
this.cbbearbeitungzwingend = new System.Windows.Forms.CheckBox();
this.cbPDFDirekteArchivierung = new System.Windows.Forms.CheckBox();
this.cbPDFDokument = new System.Windows.Forms.CheckBox();
this.cbOfficeDokument = new System.Windows.Forms.CheckBox();
this.sfButton1 = new Syncfusion.WinForms.Controls.SfButton();
this.btnerstellen = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.cbboxfachverantwortung = new System.Windows.Forms.ComboBox();
this.btnFilterDelete = new System.Windows.Forms.Button();
this.groupBox7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.TreeDokumenttyp)).BeginInit();
this.panel1.SuspendLayout();
@@ -67,26 +70,26 @@
this.groupBox7.Controls.Add(this.TreeDokumenttyp);
this.groupBox7.Controls.Add(this.panel1);
this.groupBox7.Dock = System.Windows.Forms.DockStyle.Left;
this.groupBox7.Location = new System.Drawing.Point(0, 0);
this.groupBox7.Location = new System.Drawing.Point(2, 2);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(282, 446);
this.groupBox7.Size = new System.Drawing.Size(369, 349);
this.groupBox7.TabIndex = 2;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "Dokumenttypen";
//
// TreeDokumenttyp
//
treeNodeAdvStyleInfo2.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo2.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo2.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo2.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo2.ShowCheckBox = false;
treeNodeAdvStyleInfo2.TextColor = System.Drawing.Color.Black;
treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1;
treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
treeNodeAdvStyleInfo1.ShowCheckBox = false;
treeNodeAdvStyleInfo1.TextColor = System.Drawing.Color.Black;
this.TreeDokumenttyp.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo2)});
this.TreeDokumenttyp.BeforeTouchSize = new System.Drawing.Size(273, 356);
new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)});
this.TreeDokumenttyp.BeforeTouchSize = new System.Drawing.Size(363, 234);
this.TreeDokumenttyp.Dock = System.Windows.Forms.DockStyle.Left;
//
//
@@ -98,11 +101,11 @@
this.TreeDokumenttyp.HelpTextControl.TabIndex = 0;
this.TreeDokumenttyp.HelpTextControl.Visible = true;
this.TreeDokumenttyp.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
this.TreeDokumenttyp.Location = new System.Drawing.Point(3, 87);
this.TreeDokumenttyp.Location = new System.Drawing.Point(3, 112);
this.TreeDokumenttyp.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
this.TreeDokumenttyp.Name = "TreeDokumenttyp";
this.TreeDokumenttyp.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText;
this.TreeDokumenttyp.Size = new System.Drawing.Size(273, 356);
this.TreeDokumenttyp.Size = new System.Drawing.Size(363, 234);
this.TreeDokumenttyp.SortWithChildNodes = true;
this.TreeDokumenttyp.TabIndex = 11;
this.TreeDokumenttyp.Text = "treeViewAdv1";
@@ -121,6 +124,9 @@
//
// panel1
//
this.panel1.Controls.Add(this.btnFilterDelete);
this.panel1.Controls.Add(this.cbboxfachverantwortung);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.chkboxaktive);
this.panel1.Controls.Add(this.txtFilter);
this.panel1.Controls.Add(this.rbBezeichnung);
@@ -130,7 +136,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(3, 16);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(276, 71);
this.panel1.Size = new System.Drawing.Size(363, 96);
this.panel1.TabIndex = 10;
//
// chkboxaktive
@@ -138,25 +144,26 @@
this.chkboxaktive.AutoSize = true;
this.chkboxaktive.Checked = true;
this.chkboxaktive.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkboxaktive.Location = new System.Drawing.Point(205, 43);
this.chkboxaktive.Location = new System.Drawing.Point(303, 11);
this.chkboxaktive.Name = "chkboxaktive";
this.chkboxaktive.Size = new System.Drawing.Size(55, 17);
this.chkboxaktive.TabIndex = 10;
this.chkboxaktive.Text = "aktive";
this.chkboxaktive.UseVisualStyleBackColor = true;
this.chkboxaktive.Visible = false;
//
// txtFilter
//
this.txtFilter.Location = new System.Drawing.Point(69, 12);
this.txtFilter.Location = new System.Drawing.Point(118, 15);
this.txtFilter.Name = "txtFilter";
this.txtFilter.Size = new System.Drawing.Size(191, 20);
this.txtFilter.Size = new System.Drawing.Size(153, 20);
this.txtFilter.TabIndex = 6;
this.txtFilter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtFilter_KeyDown);
//
// rbBezeichnung
//
this.rbBezeichnung.AutoSize = true;
this.rbBezeichnung.Location = new System.Drawing.Point(111, 42);
this.rbBezeichnung.Location = new System.Drawing.Point(160, 73);
this.rbBezeichnung.Name = "rbBezeichnung";
this.rbBezeichnung.Size = new System.Drawing.Size(87, 17);
this.rbBezeichnung.TabIndex = 9;
@@ -176,7 +183,7 @@
//
this.rbNr.AutoSize = true;
this.rbNr.Checked = true;
this.rbNr.Location = new System.Drawing.Point(69, 42);
this.rbNr.Location = new System.Drawing.Point(117, 73);
this.rbNr.Name = "rbNr";
this.rbNr.Size = new System.Drawing.Size(36, 17);
this.rbNr.TabIndex = 8;
@@ -187,7 +194,7 @@
// label15
//
this.label15.AutoSize = true;
this.label15.Location = new System.Drawing.Point(12, 44);
this.label15.Location = new System.Drawing.Point(12, 71);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(26, 13);
this.label15.TabIndex = 7;
@@ -200,13 +207,58 @@
this.groupBox4.Controls.Add(this.cbPDFDirekteArchivierung);
this.groupBox4.Controls.Add(this.cbPDFDokument);
this.groupBox4.Controls.Add(this.cbOfficeDokument);
this.groupBox4.Location = new System.Drawing.Point(301, 166);
this.groupBox4.Location = new System.Drawing.Point(386, 123);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(351, 73);
this.groupBox4.Size = new System.Drawing.Size(303, 56);
this.groupBox4.TabIndex = 25;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Generierung ohne Office";
//
// chkinterop
//
this.chkinterop.Location = new System.Drawing.Point(141, 0);
this.chkinterop.Name = "chkinterop";
this.chkinterop.Size = new System.Drawing.Size(127, 24);
this.chkinterop.TabIndex = 11;
this.chkinterop.Text = "Bearbeitung InterOP";
this.chkinterop.Visible = false;
//
// chkbearbeitungdirekt
//
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(11, 24);
this.chkbearbeitungdirekt.Name = "chkbearbeitungdirekt";
this.chkbearbeitungdirekt.Size = new System.Drawing.Size(257, 24);
this.chkbearbeitungdirekt.TabIndex = 10;
this.chkbearbeitungdirekt.Text = "Nach der Generierung direkt bearbeiten";
this.chkbearbeitungdirekt.CheckedChanged += new System.EventHandler(this.chkbearbeitungdirekt_CheckedChanged);
//
// cbPDFDirekteArchivierung
//
this.cbPDFDirekteArchivierung.Location = new System.Drawing.Point(392, 69);
this.cbPDFDirekteArchivierung.Name = "cbPDFDirekteArchivierung";
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
this.cbPDFDirekteArchivierung.TabIndex = 8;
this.cbPDFDirekteArchivierung.Text = "Direkte OnBase-Archvierung";
this.cbPDFDirekteArchivierung.Visible = false;
//
// cbPDFDokument
//
this.cbPDFDokument.Location = new System.Drawing.Point(392, 50);
this.cbPDFDokument.Name = "cbPDFDokument";
this.cbPDFDokument.Size = new System.Drawing.Size(280, 24);
this.cbPDFDokument.TabIndex = 6;
this.cbPDFDokument.Text = "Generierng als PDF";
this.cbPDFDokument.Visible = false;
//
// cbOfficeDokument
//
this.cbOfficeDokument.Location = new System.Drawing.Point(392, 29);
this.cbOfficeDokument.Name = "cbOfficeDokument";
this.cbOfficeDokument.Size = new System.Drawing.Size(240, 24);
this.cbOfficeDokument.TabIndex = 4;
this.cbOfficeDokument.Text = "Office-Dokument";
this.cbOfficeDokument.Visible = false;
//
// label18
//
this.label18.AutoSize = true;
@@ -245,23 +297,7 @@
this.chkboxInOffice.Size = new System.Drawing.Size(187, 24);
this.chkboxInOffice.TabIndex = 26;
this.chkboxInOffice.Text = "Erstellung mit Office";
//
// chkinterop
//
this.chkinterop.Location = new System.Drawing.Point(238, 19);
this.chkinterop.Name = "chkinterop";
this.chkinterop.Size = new System.Drawing.Size(127, 24);
this.chkinterop.TabIndex = 11;
this.chkinterop.Text = "Bearbeitung InterOP";
this.chkinterop.Visible = false;
//
// chkbearbeitungdirekt
//
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(11, 24);
this.chkbearbeitungdirekt.Name = "chkbearbeitungdirekt";
this.chkbearbeitungdirekt.Size = new System.Drawing.Size(257, 24);
this.chkbearbeitungdirekt.TabIndex = 10;
this.chkbearbeitungdirekt.Text = "Nach der Generierung direkt bearbeiten";
this.chkboxInOffice.CheckedChanged += new System.EventHandler(this.chkboxInOffice_CheckedChanged);
//
// cbbearbeitungzwingend
//
@@ -273,46 +309,19 @@
this.cbbearbeitungzwingend.Text = "Bearbeitung zwingend";
this.cbbearbeitungzwingend.CheckedChanged += new System.EventHandler(this.cbbearbeitungzwingend_CheckedChanged);
//
// cbPDFDirekteArchivierung
//
this.cbPDFDirekteArchivierung.Location = new System.Drawing.Point(392, 69);
this.cbPDFDirekteArchivierung.Name = "cbPDFDirekteArchivierung";
this.cbPDFDirekteArchivierung.Size = new System.Drawing.Size(280, 24);
this.cbPDFDirekteArchivierung.TabIndex = 8;
this.cbPDFDirekteArchivierung.Text = "Direkte OnBase-Archvierung";
this.cbPDFDirekteArchivierung.Visible = false;
//
// cbPDFDokument
//
this.cbPDFDokument.Location = new System.Drawing.Point(392, 50);
this.cbPDFDokument.Name = "cbPDFDokument";
this.cbPDFDokument.Size = new System.Drawing.Size(280, 24);
this.cbPDFDokument.TabIndex = 6;
this.cbPDFDokument.Text = "Generierng als PDF";
this.cbPDFDokument.Visible = false;
//
// cbOfficeDokument
//
this.cbOfficeDokument.Location = new System.Drawing.Point(392, 29);
this.cbOfficeDokument.Name = "cbOfficeDokument";
this.cbOfficeDokument.Size = new System.Drawing.Size(240, 24);
this.cbOfficeDokument.TabIndex = 4;
this.cbOfficeDokument.Text = "Office-Dokument";
this.cbOfficeDokument.Visible = false;
//
// sfButton1
//
this.sfButton1.Font = new System.Drawing.Font("Segoe UI Semibold", 9F);
this.sfButton1.Location = new System.Drawing.Point(301, 312);
this.sfButton1.Location = new System.Drawing.Point(377, 257);
this.sfButton1.Name = "sfButton1";
this.sfButton1.Size = new System.Drawing.Size(96, 28);
this.sfButton1.Size = new System.Drawing.Size(136, 28);
this.sfButton1.TabIndex = 26;
this.sfButton1.Text = "Speichern";
this.sfButton1.Click += new System.EventHandler(this.sfButton1_Click);
//
// btnerstellen
//
this.btnerstellen.Location = new System.Drawing.Point(301, 386);
this.btnerstellen.Location = new System.Drawing.Point(377, 312);
this.btnerstellen.Name = "btnerstellen";
this.btnerstellen.Size = new System.Drawing.Size(136, 23);
this.btnerstellen.TabIndex = 27;
@@ -324,9 +333,9 @@
//
this.groupBox1.Controls.Add(this.chkboxInOffice);
this.groupBox1.Controls.Add(this.chkfilloffice);
this.groupBox1.Location = new System.Drawing.Point(301, 220);
this.groupBox1.Location = new System.Drawing.Point(386, 177);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(331, 74);
this.groupBox1.Size = new System.Drawing.Size(303, 74);
this.groupBox1.TabIndex = 29;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Office";
@@ -336,18 +345,46 @@
this.groupBox2.Controls.Add(this.label18);
this.groupBox2.Controls.Add(this.cbboxcompatibilitymode);
this.groupBox2.Controls.Add(this.cbbearbeitungzwingend);
this.groupBox2.Location = new System.Drawing.Point(301, 60);
this.groupBox2.Location = new System.Drawing.Point(386, 17);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(351, 100);
this.groupBox2.Size = new System.Drawing.Size(303, 100);
this.groupBox2.TabIndex = 30;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Allgemein";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 44);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(99, 13);
this.label1.TabIndex = 11;
this.label1.Text = "Fachverantwortung";
//
// cbboxfachverantwortung
//
this.cbboxfachverantwortung.FormattingEnabled = true;
this.cbboxfachverantwortung.Location = new System.Drawing.Point(117, 40);
this.cbboxfachverantwortung.Name = "cbboxfachverantwortung";
this.cbboxfachverantwortung.Size = new System.Drawing.Size(154, 21);
this.cbboxfachverantwortung.TabIndex = 12;
this.cbboxfachverantwortung.SelectedIndexChanged += new System.EventHandler(this.cbboxfachverantwortung_SelectedIndexChanged);
//
// btnFilterDelete
//
this.btnFilterDelete.Location = new System.Drawing.Point(280, 34);
this.btnFilterDelete.Name = "btnFilterDelete";
this.btnFilterDelete.Size = new System.Drawing.Size(80, 23);
this.btnFilterDelete.TabIndex = 13;
this.btnFilterDelete.Text = "Filter löschen";
this.btnFilterDelete.UseVisualStyleBackColor = true;
this.btnFilterDelete.Click += new System.EventHandler(this.btnFilterDelete_Click);
//
// AdminDokTypGenerierung
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(661, 446);
this.ClientSize = new System.Drawing.Size(692, 353);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.btnerstellen);
@@ -356,6 +393,8 @@
this.Controls.Add(this.groupBox7);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "AdminDokTypGenerierung";
this.Style.MdiChild.IconHorizontalAlignment = System.Windows.Forms.HorizontalAlignment.Center;
this.Style.MdiChild.IconVerticalAlignment = System.Windows.Forms.VisualStyles.VerticalAlignment.Center;
this.Text = "AdminDokumentGenerierung";
this.Load += new System.EventHandler(this.AdminDokTypGenerierung_Load);
this.groupBox7.ResumeLayout(false);
@@ -397,5 +436,8 @@
private System.Windows.Forms.Button btnerstellen;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cbboxfachverantwortung;
private System.Windows.Forms.Button btnFilterDelete;
}
}

View File

@@ -38,6 +38,12 @@ namespace OnDoc.UIControls.Administrator
private void AdminDokTypGenerierung_Load(object sender, EventArgs e)
{
DB db = new DB(AppParams.connectionstring);
db.Get_Tabledata("select distinct fachverantwortung from dbo.view_dokumenttypen_relaunch order by fachverantwortung asc", false, true);
foreach (System.Data.DataRow dr in db.dsdaten.Tables[0].Rows)
{
cbboxfachverantwortung.Items.Add(dr[0].ToString());
}
update_tree();
return;
@@ -49,20 +55,29 @@ namespace OnDoc.UIControls.Administrator
TreeDokumenttyp.Nodes.Clear();
string sql = "";
sql = "Select dokumenttypnr as ID, Bezeichnung, Aktiv from dokumenttyp";
string sql = " Select dokumenttypnr as ID, Bezeichnung from view_dokumenttypen_relaunch ";
string where = "";
//sql = "Select dokumenttypnr as ID, Bezeichnung, Aktiv from dokumenttyp";
if (txtFilter.Text.Trim().Length > 0)
{
sql = sql + " where bezeichnung like '%" + txtFilter.Text.Replace(" ", "%") + "%'";
if (where.Length > 0) { where = where + " and "; } else { where = "where "; }
where = where + " bezeichnung like '%" + txtFilter.Text.Replace(" ", "%") + "%'";
}
else
if (cbboxfachverantwortung.Text != "")
{
sql = sql + " where dokumenttypnr > 0";
if (where.Length > 0) { where = where + " and "; } else { where = "where "; }
where = where + " fachverantwortung ='"+cbboxfachverantwortung.Text+"'" ;
}
if (chkboxaktive.Checked) { sql = sql + " and aktiv=1"; }
if (where.Trim().Length > 0) { sql = sql + where; }
//else
//{
// sql = sql + " where dokumenttypnr > 0";
//}
// if (chkboxaktive.Checked) { sql = sql + " and aktiv=1"; }
if (rbNr.Checked)
{
sql = sql + " order by id";
sql = sql + " order by dokumenttypnr";
}
else
{
@@ -78,10 +93,10 @@ namespace OnDoc.UIControls.Administrator
TreeNodeAdv nodeAdv = new TreeNodeAdv();
nodeAdv.Text = r["id"].ToString() + " " + r["Bezeichnung"].ToString();
nodeAdv.Tag = r["id"].ToString();
if (Convert.ToBoolean(r["aktiv"]) == false)
{
nodeAdv.Font = new System.Drawing.Font(nodeAdv.Font, FontStyle.Strikeout);
}
//if (Convert.ToBoolean(r["aktiv"]) == false)
//{
// nodeAdv.Font = new System.Drawing.Font(nodeAdv.Font, FontStyle.Strikeout);
//}
TreeDokumenttyp.Nodes.Add(nodeAdv);
}
}
@@ -158,6 +173,40 @@ namespace OnDoc.UIControls.Administrator
{
}
private void chkboxInOffice_CheckedChanged(object sender, EventArgs e)
{
if (chkboxInOffice.Checked) {
chkbearbeitungdirekt.Checked = false;
chkfilloffice.Checked = true;
}
}
private void chkbearbeitungdirekt_CheckedChanged(object sender, EventArgs e)
{
if (chkbearbeitungdirekt.Checked)
{
chkboxInOffice.Checked = false;
chkfilloffice.Checked = false;
}
}
private void toolstripCombobox_Fachverantwortung_SelectedIndexChanged(object sender, EventArgs e)
{
}
private void cbboxfachverantwortung_SelectedIndexChanged(object sender, EventArgs e)
{
update_tree();
}
private void btnFilterDelete_Click(object sender, EventArgs e)
{
cbboxfachverantwortung.Text = "";
txtFilter.Text = "";
update_tree();
}
}
}

View File

@@ -21,8 +21,7 @@ using Syncfusion.Windows.Forms;
using Syncfusion.Windows.Forms.Tools;
using Syncfusion.WinForms.Controls;
using VBFileManagement;
using Windows.Devices.Sensors;
using Windows.Media.Audio;
namespace OnDoc.UIControls.Administrator
{

View File

@@ -78,10 +78,10 @@
this.FitPage,
this.FitWidth,
this.toolStripButton1});
this.Open.Location = new System.Drawing.Point(3, 6);
this.Open.Location = new System.Drawing.Point(3, 0);
this.Open.Name = "Open";
this.Open.Padding = new System.Windows.Forms.Padding(5);
this.Open.Size = new System.Drawing.Size(361, 41);
this.Open.Size = new System.Drawing.Size(454, 41);
this.Open.TabIndex = 5;
this.Open.Text = "toolStrip1";
//
@@ -264,7 +264,7 @@
this.pdfViewerControl1.ReferencePath = null;
this.pdfViewerControl1.ScrollDisplacementValue = 0;
this.pdfViewerControl1.ShowHorizontalScrollBar = true;
this.pdfViewerControl1.ShowToolBar = true;
this.pdfViewerControl1.ShowToolBar = false;
this.pdfViewerControl1.ShowVerticalScrollBar = true;
this.pdfViewerControl1.Size = new System.Drawing.Size(781, 519);
this.pdfViewerControl1.SpaceBetweenPages = 8;
@@ -274,6 +274,7 @@
textSearchSettings1.HighlightAllInstance = true;
textSearchSettings1.OtherInstanceColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
this.pdfViewerControl1.TextSearchSettings = textSearchSettings1;
this.pdfViewerControl1.ThemeName = "Default";
this.pdfViewerControl1.VerticalScrollOffset = 0;
this.pdfViewerControl1.VisualStyle = Syncfusion.Windows.Forms.PdfViewer.VisualStyle.Default;
this.pdfViewerControl1.ZoomMode = Syncfusion.Windows.Forms.PdfViewer.ZoomMode.Default;

View File

@@ -125,10 +125,10 @@
<value>
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADVSURBVDhPY3CLL/8Pw65x5Q8YSATOsRXCrvGlGygyyC2u
1NEtvuwJSC9ZBtnb17MA1bfZB2X9hekl2SDnxAoloCtOIOsDYZIMcksoi3KJKP+ErAeGiTLIL6mUFyi3
1NEtvuwJSC9ZBtnb17MA1bfZB2b+hekl2SDnxAoloCtOIOsDYZIMcksoi3KJKP+ErAeGiTLIL6mUFyi3
CFktOiZokEdChalrfPkdZHXYMF6DXGLL5XB5BR0TdlFipZZbbMklZHXYMFFhZB9fzwH03mRkteiYKINg
wC221Aeo7jWyHhgmySAQcEkqlXKLLd+DrA+ESTYIBOrr65nc4srL3eKzflNkEAwgJw2KDAIBSGItXwQA
CbAz5iVNkssAAAAASUVORK5CYII=
wC221Aeo7jWyHhgmySAQcEkqlXKLLd+DrA+ESTYIBOrr65nc4srL3eIzf1NkEAwgJw2KDAIBSGItXwQA
Aicz439QGrkAAAAASUVORK5CYII=
</value>
</data>
<data name="btnPrevious.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -136,8 +136,8 @@
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACzSURBVDhPYyAFeMWXSLjFlW2FcgkDt/jyYLf4ojdA+j9U
CDdwSSvnd40rXwRSDMNQKezALa7U0TGm7BGyBpya7OPrOdziy/qACv6hawBhqDIEcI4tN3SNK7uKTTEM
Q5UyMISGhjK7xJVXucVn/camEBmDNbjFVKi4xpcdw6YAG2YAOiUdyPiCLoEPk6eJLOfBAMkBgQxICnJk
QHLkIgOSkhEyIDnBIgOgYuKzBjKAZMKyrQCVGg6eVJofGwAAAABJRU5ErkJggg==
Q5UyMISGhjK7xJVXucVn/samEBmDNbjFVKi4xpcdw6YAG2YAOiUdyPiCLoEPk6eJLOfBAMkBgQxICnJk
QHLkIgOSkhEyIDnBIgOgYuKzBjKAZMKyrQCRUQ6clqvFpwAAAABJRU5ErkJggg==
</value>
</data>
<data name="btnNext.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -145,39 +145,39 @@
iVBORw0KGgoAAAANSUhEUgAAAA0AAAASCAYAAACAa1QyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACeSURBVDhPY3CNLd3iFV8iwUAKcIsv/w/Er90TyoKgQoQB
VBMYu8aXLfSIrueDSuEGyJoguOihe3y5A1QaO8DUBMb/gLjXPr6eA6oMFaApRsEu8eVXXONLDKBKEQCb
YhQcVP7LNa6sMjQ0lBmqhQhNUOwSV37UI65EmSRNUPzFLb4ijbaaSHMeqQFBapCTGrkkJiNSEyxpWYP0
TMjAAAD4Pw6kcfrAuQAAAABJRU5ErkJggg==
YhQcWP7LNa6sMjQ0lBmqhQhNUOwSV37UI65EmSRNUPzFLb4ijbaaSHMeqQFBapCTGrkkJiNSEyxpWYP0
TMjAAAD0lA6i2Wu4swAAAABJRU5ErkJggg==
</value>
</data>
<data name="btnLast.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABIAAAAPCAYAAADphp8SAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADaSURBVDhPY3CNK1/kl1TKy0AiAOp74BZf/h+GGUCEa3z5
HY+EClOoGqIAVoMgOOu3W1x5eX19PRNULV6AxyAIdo0v2+2SVCoFVY8TEDQIil+7xZb6QPVgBcQaBMbA
HY+EClOoGqIAVoMgOPO3W1x5eX19PRNULV6AxyAIdo0v2+2SVCoFVY8TEDQIil+7xZb6QPVgBcQaBMbA
sJtsH1/PAdWLAkgyCIxjSy55JFZqQfXDAekGAbFLRPknl9hyOagZYECyQbiSBmlhhCexEmUQyCtuCWVR
UD1YAREGlZ1wTqxQgqrHCXAaZB+U9RdIt9nb17NA1eIFOAwqe+IWV+oIVUMUwDDINb50g3NshTBUnmiA
alD5fwDZszPlE4//iQAAAABJRU5ErkJggg==
UD1YAREGlZ1wTqxQgqrHCXAaZB+Y+RdIt9nb17NA1eIFOAwqe+IWV+oIVUMUwDDINb50g3NshTBUnmiA
alD5fwDUaDPi09L+WgAAAABJRU5ErkJggg==
</value>
</data>
<data name="zoomIn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADPSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vFZ/0GYTAb
JAaUA6mBKscO3BLKXF3jy++4xZf/x4ed40tuu8dWuEC1oQKgbZn2QVl/sWnEhsFqgXqg2iHANa48EJti
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADPSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vFZ/4GYTAb
JAaUA6mBKscO3BLKXF3jy++4xZf/x4ed40tuu8dWuEC1oQKgbZn2gZl/sWnEhsFqgXqg2iHANa48EJti
YjBIL9gQ+/h8Aafo4lfYFBGDQXpBZjAAObnokmTgXAaXuPJDWCRIwiAzQC76hizoHl/uQAxG1gPE30AG
IQv8BwccEQBDH5BAcZFrfIkBMRhZDxB/o2oYUSfWqJaOQIAqKRsGqJLXYIAquR8GyCuPGBgAihnxLMs+
FUEAAAAASUVORK5CYII=
IQv8BwccEQBDH5BAcZFrfIkBMRhZDxB/o2oYUSfWqJaOQIAqKRsGqJLXYIAquR8GyCuPGBgAbQXxIN23
EOIAAAAASUVORK5CYII=
</value>
</data>
<data name="zoomOut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEdSURBVDhPY0AH9vb1LC5xFZFucWWrXOLLH7vFZ/0GYTAb
JAaUA6mBKscO3GMrXFzjy++4xZf/x4ed40tug9RCtaECoG2Z9kFZf7FpxIbBaoF6oNohwDWuPBCr4viy
j85xJRdAGMTGpgakF2yIfXy+gFN08SusiuJLN4AVAQGIjU0NSC/IDAYgJxddEoaJMQiKcxlc4soPYZEA
Y2INApkBctE3ZEH3+HIHGHaNqdSBmsMAYiPLIesB4m8gg5AF/kP1EQQY+oAEiotc40sM4DimWBGqD+ii
YkVkOWQ9QPyNqmFEnVijWjoCK8KRst3ii94A6QMQDGZjqIGnbBigSl6DAbeEMldicj9IDc7cDwPw8ii+
fLVbfNkT4sojBgYAZ4fNNo7VHMkAAAAASUVORK5CYII=
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEcSURBVDhPrVQxjsIwEHRxD7gvpL/ifhBEYlNTIsBLmwIh
XXIxVPwHGp6AeAE9dFAhGpo0pxPsGjsyYCBFRppk452ZWIltdo8wnH7EctwRMp/FoHYCkj+irmkMe6Qx
cj9a/XHMQW0FqPMrRpBtSGtst8C3JWE7+fcZfdRa9Bj7FVyqtlcM+SmS2ZpItU9DXh0Swuiz2U0PXhH8
LrQIQbVPQ17KYPgwvG9aVgkyHLJYqpWnoVk1iDJoRoU72ALVsOS9yZfJYVS7PdeDLCjIHTgb31s8+PBy
MyMO2XfJXhoYH84oDdye60EWtX6jev5abetIi56sbAE/R7wvr9T1g6Zc2Ra17DULMch5ld1Pmqe736I8
j0DNBeT7aucRYxdKc80qgQKkhwAAAABJRU5ErkJggg==
</value>
</data>
<data name="FitPage.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@@ -535,7 +535,7 @@ namespace OnDoc.UICintrols
//System.Diagnostics.Process.Start(tempfilename);
if (interop == true)
{
OnDocOffice.clsWordEdit WordInterOP = new OnDocOffice.clsWordEdit(AppParams.connectionstring, tempfilename, selected_dokumentid);
OnDocOffice.clsWordEdit WordInterOP = new OnDocOffice.clsWordEdit(AppParams.connectionstring, tempfilename, selected_dokumentid,AppParams.RESTURI,AppParams.apikey);
WordInterOP.Edit_Document(runmacros);
WordInterOP = null;
}
@@ -1828,59 +1828,64 @@ namespace OnDoc.UICintrols
private void sfDataGrid1_DataSourceChanged(object sender, Syncfusion.WinForms.DataGrid.Events.DataSourceChangedEventArgs e)
{
dokwerte1.clear_details();
docPreview1.clear_viewer();
if (get_selected_records() == 0)
try
{
RibbonButtonEditEditDoc.Enabled = false;
RibbonButtonEditDelete.Enabled = false;
RibbonButtonZuweisen.Enabled = false;
ribbonButtonToApproval.Enabled = false;
RibbonButtonArchivToOnBase.Enabled = false;
dokumentBearbeitenToolStripMenuItem.Enabled = false;
dokumentLöschenToolStripMenuItem.Enabled = false;
druckenToolStripMenuItem.Enabled = false;
dokumentKopierenToolStripMenuItem.Enabled = false;
attributeAnzeigenVersteckenToolStripMenuItem.Enabled = false;
historyToolStripMenuItem.Enabled = false;
archivierenToolStripMenuItem.Enabled = false;
zellenwertInZwischenablageKopierenToolStripMenuItem.Enabled = false;
selected_dokumentid = "";
selected_partnernr = "";
selected_cellvalue = "";
dokwerte1.clear_details();
docPreview1.clear_viewer();
if (get_selected_records() == 0)
{
RibbonButtonEditEditDoc.Enabled = false;
RibbonButtonEditDelete.Enabled = false;
RibbonButtonZuweisen.Enabled = false;
ribbonButtonToApproval.Enabled = false;
RibbonButtonArchivToOnBase.Enabled = false;
dokumentBearbeitenToolStripMenuItem.Enabled = false;
dokumentLöschenToolStripMenuItem.Enabled = false;
druckenToolStripMenuItem.Enabled = false;
dokumentKopierenToolStripMenuItem.Enabled = false;
attributeAnzeigenVersteckenToolStripMenuItem.Enabled = false;
historyToolStripMenuItem.Enabled = false;
archivierenToolStripMenuItem.Enabled = false;
zellenwertInZwischenablageKopierenToolStripMenuItem.Enabled = false;
selected_dokumentid = "";
selected_partnernr = "";
selected_cellvalue = "";
}
else
{
RibbonButtonEditEditDoc.Enabled = true;
RibbonButtonEditDelete.Enabled = true;
RibbonButtonZuweisen.Enabled = true;
ribbonButtonToApproval.Enabled = true;
RibbonButtonArchivToOnBase.Enabled = true;
dokumentBearbeitenToolStripMenuItem.Enabled = true;
dokumentLöschenToolStripMenuItem.Enabled = true;
archivierenToolStripMenuItem.Enabled = true;
zellenwertInZwischenablageKopierenToolStripMenuItem.Enabled = true;
druckenToolStripMenuItem.Enabled = true;
dokumentKopierenToolStripMenuItem.Enabled = true;
attributeAnzeigenVersteckenToolStripMenuItem.Enabled = true;
historyToolStripMenuItem.Enabled = true;
this.sfDataGrid1.SelectedItem = this.sfDataGrid1.View.Records[0];
sfDataGrid1.SelectedIndex = 0;
var record = sfDataGrid1.View.Records.GetItemAt(sfDataGrid1.SelectedIndex);
// var changed = DrugGrid.View.GetPropertyAccessProvider().SetValue(record, "GPackSize", "Hello"); // returns true, suggesting
selected_dokumentid = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "dokumentid").ToString();
selected_partnernr = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "partner-nr").ToString();
selected_cellvalue = selected_dokumentid;
string bearbeitung_zwingend = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "Bearbeitung_Zwingend").ToString();
string toapprove = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "toapprove").ToString();
string approved = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "approved").ToString();
string faksimle = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "faksimile").ToString();
update_ansicht(bearbeitung_zwingend, toapprove, approved, faksimle);
}
}
else
{
RibbonButtonEditEditDoc.Enabled = true;
RibbonButtonEditDelete.Enabled = true;
RibbonButtonZuweisen.Enabled = true;
ribbonButtonToApproval.Enabled = true;
RibbonButtonArchivToOnBase.Enabled = true;
dokumentBearbeitenToolStripMenuItem.Enabled = true;
dokumentLöschenToolStripMenuItem.Enabled = true;
archivierenToolStripMenuItem.Enabled = true;
zellenwertInZwischenablageKopierenToolStripMenuItem.Enabled = true;
druckenToolStripMenuItem.Enabled = true;
dokumentKopierenToolStripMenuItem.Enabled = true;
attributeAnzeigenVersteckenToolStripMenuItem.Enabled = true;
historyToolStripMenuItem.Enabled = true;
catch { }
this.sfDataGrid1.SelectedItem = this.sfDataGrid1.View.Records[0];
sfDataGrid1.SelectedIndex = 0;
var record = sfDataGrid1.View.Records.GetItemAt(sfDataGrid1.SelectedIndex);
// var changed = DrugGrid.View.GetPropertyAccessProvider().SetValue(record, "GPackSize", "Hello"); // returns true, suggesting
selected_dokumentid = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "dokumentid").ToString();
selected_partnernr = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "partner-nr").ToString();
selected_cellvalue = selected_dokumentid;
string bearbeitung_zwingend = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "Bearbeitung_Zwingend").ToString();
string toapprove = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "toapprove").ToString();
string approved = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "approved").ToString();
string faksimle = sfDataGrid1.View.GetPropertyAccessProvider().GetValue(record, "faksimile").ToString();
update_ansicht(bearbeitung_zwingend, toapprove, approved, faksimle);
}
}
private void sfDataGrid1_FilterChanged(object sender, FilterChangedEventArgs e)
{

View File

@@ -524,19 +524,19 @@
<data name="ribbonButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
wAAADsABataJCQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
</value>
</data>
<data name="ribbonButton4.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wQAADsEBuJFr7QAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
wAAADsABataJCQAAABpJREFUWEftwQEBAAAAgiD/r25IQAAAAMC5GhAgAAGdeElDAAAAAElFTkSuQmCC
</value>
</data>
<data name="ribbonButton4.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
wQAADsEBuJFr7QAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
wAAADsABataJCQAAABNJREFUOE9jGAWjYBSMAjBgYAAABBAAAadEfGMAAAAASUVORK5CYII=
</value>
</data>
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View File

@@ -129,7 +129,7 @@ namespace OnDoc.UIControls
this.cbboxunterschriftrechts.Enabled = Convert.ToBoolean(dr["unterschrift_rechts"]) == true;
this.cbformularohneunterschrfit.Enabled = Convert.ToBoolean(dr["unterschrift_ohne"]) == true;
this.cbfaksimile.Enabled = Convert.ToBoolean(dr["unterschrift_faksimile"]) == true;
this.cbfaksimile.Checked = false;
if (this.cbfaksimile.Enabled == true) { this.cbfaksimile.Checked=true; }
this.cbformularohneunterschrfit.Checked = false;
try {
@@ -219,10 +219,14 @@ namespace OnDoc.UIControls
db.Get_Tabledata(sql, false, true);
if (db.dsdaten.Tables[0].Rows.Count > 0)
{
string logdata1 = barcode_left.ToString() + "/" + barcode_top.ToString() + "/" + barcode_width.ToString() + "/" + barcode_height.ToString();
this.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
this.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
this.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
this.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
string logdata2 = barcode_left.ToString() + "/" + barcode_top.ToString() + "/" + barcode_width.ToString() + "/" + barcode_height.ToString();
Logging.Logging.Debug("Barcode-Resize: " + logdata1 + " - " + logdata2, "ondoc", "");
}
}
@@ -509,7 +513,32 @@ namespace OnDoc.UIControls
check_error = check_error + "- " + bezeichnung + " Feldwert ist zwingend" ; }
}
}
if (cbfaksimile.Checked)
{
int ul = 0;
int ur = 0;
try
{
ul = Convert.ToInt32(cbboxunterschriftlinks.SelectedValue);
}
catch { }
try
{
ur = Convert.ToInt32(cbboxunterschriftrechts.SelectedValue);
}
catch { }
if (ul==0 || ur == 0)
{
if (check_error != "") { check_error = check_error + Environment.NewLine + Environment.NewLine; }
check_error = check_error + "- " + "Bitte Unterschrift links und rechts auswählen";
}
}
if (check_error == "") { return true; } else { return false; }
return true;
}
public void Update_DocGenData()