update vor token
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
this.GrpBewilligung = new System.Windows.Forms.GroupBox();
|
||||
this.chkBewilliigungZwingend = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
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();
|
||||
@@ -137,7 +138,6 @@
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.rbNr = new System.Windows.Forms.RadioButton();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.chkinterop = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
|
||||
this.tabControlAdv1.SuspendLayout();
|
||||
this.tabPageAdv1.SuspendLayout();
|
||||
@@ -366,6 +366,14 @@
|
||||
this.groupBox4.TabStop = false;
|
||||
this.groupBox4.Text = "Dokument-Produktion";
|
||||
//
|
||||
// chkinterop
|
||||
//
|
||||
this.chkinterop.Location = new System.Drawing.Point(259, 59);
|
||||
this.chkinterop.Name = "chkinterop";
|
||||
this.chkinterop.Size = new System.Drawing.Size(127, 24);
|
||||
this.chkinterop.TabIndex = 11;
|
||||
this.chkinterop.Text = "Bearbeitung InterOP";
|
||||
//
|
||||
// chkbearbeitungdirekt
|
||||
//
|
||||
this.chkbearbeitungdirekt.Location = new System.Drawing.Point(259, 40);
|
||||
@@ -819,6 +827,7 @@
|
||||
//
|
||||
// groupBox5
|
||||
//
|
||||
this.groupBox5.BackColor = System.Drawing.Color.LightGray;
|
||||
this.groupBox5.Controls.Add(this.listBox1);
|
||||
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox5.Location = new System.Drawing.Point(0, 42);
|
||||
@@ -830,6 +839,7 @@
|
||||
//
|
||||
// listBox1
|
||||
//
|
||||
this.listBox1.BackColor = System.Drawing.Color.LightBlue;
|
||||
this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.listBox1.FormattingEnabled = true;
|
||||
this.listBox1.Location = new System.Drawing.Point(3, 16);
|
||||
@@ -1239,7 +1249,7 @@
|
||||
this.groupBox7.Size = new System.Drawing.Size(282, 760);
|
||||
this.groupBox7.TabIndex = 1;
|
||||
this.groupBox7.TabStop = false;
|
||||
this.groupBox7.Text = "sflk";
|
||||
this.groupBox7.Text = "Dokumenttypen";
|
||||
//
|
||||
// TreeDokumenttyp
|
||||
//
|
||||
@@ -1350,14 +1360,6 @@
|
||||
this.label15.TabIndex = 7;
|
||||
this.label15.Text = "Sort";
|
||||
//
|
||||
// chkinterop
|
||||
//
|
||||
this.chkinterop.Location = new System.Drawing.Point(259, 59);
|
||||
this.chkinterop.Name = "chkinterop";
|
||||
this.chkinterop.Size = new System.Drawing.Size(127, 24);
|
||||
this.chkinterop.TabIndex = 11;
|
||||
this.chkinterop.Text = "Bearbeitung InterOP";
|
||||
//
|
||||
// Dokumenttyp
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
||||
@@ -330,7 +330,7 @@ namespace OnDoc.UIControls.Administrator
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Insert_Vorlagenfeld(Convert.ToInt32(this.listBox1.SelectedValue), this.dokumenttypnr, AppParams.CurrentMitarbieter);
|
||||
db.Get_Tabledata("Select top 1 vorlagenfeldnr from vorlagenfeld order by vorlagenfeldnr desc", false, true);
|
||||
db.Get_Tabledata("Select top 1 vorlagenfeldnr from vorlagenfeld order by erstellt_am desc", false, true);
|
||||
int newkey = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][0]);
|
||||
Update_Vorlagenfelder();
|
||||
pos_grid(newkey);
|
||||
@@ -345,8 +345,13 @@ namespace OnDoc.UIControls.Administrator
|
||||
foreach (var record in records)
|
||||
{
|
||||
var obj = record.Data as DataRowView;
|
||||
if (obj["id"].ToString()==newkey.ToString())
|
||||
this.sfDataGrid1.SelectedItems.Add(obj);
|
||||
if (obj["id"].ToString() == newkey.ToString())
|
||||
{ this.sfDataGrid1.SelectedItems.Add(obj);
|
||||
|
||||
var dataRow = (obj as DataRowView).Row;
|
||||
Origin = (obj as DataRowView).Row;
|
||||
|
||||
Update_Vorlagenfeld(dataRow);}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
19
Client/UIControls/DokList.Designer.cs
generated
19
Client/UIControls/DokList.Designer.cs
generated
@@ -44,6 +44,7 @@ namespace OnDoc.UICintrols
|
||||
this.druckenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.pDFGenerierenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.wordInterOPEditToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
||||
this.tsrbvorschau = new System.Windows.Forms.ToolStripComboBox();
|
||||
@@ -114,7 +115,6 @@ namespace OnDoc.UICintrols
|
||||
this.lblToApprove = new System.Windows.Forms.Label();
|
||||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||||
this.cbboxMitarbeiter = new Syncfusion.WinForms.ListView.SfComboBox();
|
||||
this.wordInterOPEditToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.sfDataGrid1)).BeginInit();
|
||||
this.ctxMenuDokList.SuspendLayout();
|
||||
this.toolStrip1.SuspendLayout();
|
||||
@@ -161,7 +161,7 @@ namespace OnDoc.UICintrols
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem,
|
||||
this.wordInterOPEditToolStripMenuItem});
|
||||
this.ctxMenuDokList.Name = "ctxMenuDokList";
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 268);
|
||||
this.ctxMenuDokList.Size = new System.Drawing.Size(280, 246);
|
||||
//
|
||||
// dokumentAnzeigenToolStripMenuItem
|
||||
//
|
||||
@@ -237,6 +237,13 @@ namespace OnDoc.UICintrols
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.dokumentAnVersandstrasseToolStripMenuItem.Text = "Dokument an Versandstrasse";
|
||||
//
|
||||
// wordInterOPEditToolStripMenuItem
|
||||
//
|
||||
this.wordInterOPEditToolStripMenuItem.Name = "wordInterOPEditToolStripMenuItem";
|
||||
this.wordInterOPEditToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.wordInterOPEditToolStripMenuItem.Text = "Word InterOP Edit";
|
||||
this.wordInterOPEditToolStripMenuItem.Click += new System.EventHandler(this.wordInterOPEditToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
@@ -747,7 +754,6 @@ namespace OnDoc.UICintrols
|
||||
this.ribbonButton1.LargeImage = global::OnDoc.Properties.Resources.Pprofil_32x32_32;
|
||||
this.ribbonButton1.Name = "ribbonButton1";
|
||||
this.ribbonButton1.SmallImage = global::OnDoc.Properties.Resources.Pprofil_16x16_32;
|
||||
this.ribbonButton1.Visible = false;
|
||||
this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click);
|
||||
//
|
||||
// ribbonPannelDiverseVorlagen
|
||||
@@ -882,13 +888,6 @@ namespace OnDoc.UICintrols
|
||||
this.cbboxMitarbeiter.TabStop = false;
|
||||
this.cbboxMitarbeiter.SelectedValueChanged += new System.EventHandler(this.cbboxMitarbeiter_SelectedValueChanged);
|
||||
//
|
||||
// wordInterOPEditToolStripMenuItem
|
||||
//
|
||||
this.wordInterOPEditToolStripMenuItem.Name = "wordInterOPEditToolStripMenuItem";
|
||||
this.wordInterOPEditToolStripMenuItem.Size = new System.Drawing.Size(279, 22);
|
||||
this.wordInterOPEditToolStripMenuItem.Text = "Word InterOP Edit";
|
||||
this.wordInterOPEditToolStripMenuItem.Click += new System.EventHandler(this.wordInterOPEditToolStripMenuItem_Click);
|
||||
//
|
||||
// DokList
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
||||
@@ -27,6 +27,7 @@ namespace OnDoc.UIControls
|
||||
public bool checkpartner { get; set; } = true;
|
||||
|
||||
public bool interop { get; set; } = false;
|
||||
public bool barcode { get; set; } = false;
|
||||
public bool runmacros { get; set; } = false;
|
||||
|
||||
public string check_error { get; set; } = "";
|
||||
@@ -108,6 +109,7 @@ namespace OnDoc.UIControls
|
||||
interop = Convert.ToBoolean(dr["interop"]) == true;
|
||||
}
|
||||
catch { interop = false; }
|
||||
barcode = Convert.ToBoolean(dr["Vertrag"])== true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -289,7 +291,7 @@ namespace OnDoc.UIControls
|
||||
if (rbEditlater.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentSpäterBearbeiten; }
|
||||
if (rbasPDF.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentAlsPDF; }
|
||||
if (rbasPDFarchivieren.Checked) { docgendata.erstellungsart = Erstellungsart.DokumentAlsPDFArchivieren; }
|
||||
|
||||
|
||||
docgendata.dokumentwerte = gridDokwertlist.DataSource as DataTable;
|
||||
}
|
||||
|
||||
@@ -311,6 +313,7 @@ namespace OnDoc.UIControls
|
||||
if (docgendata.erstellungsart == Erstellungsart.DokumentAlsPDF) { dokdata.Result_as_PDF = "True"; } else { dokdata.Result_as_PDF = "False"; }
|
||||
if (docgendata.digitaleunterschrift == true) { dokdata.As_Faksimile = "True"; } else { dokdata.As_Faksimile = "False"; }
|
||||
dokdata.dokumentwerte = docgendata.dokumentwerte;
|
||||
dokdata.Barcode = barcode;
|
||||
|
||||
}
|
||||
private void sfButton1_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user