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);}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user