Update 20260717
This commit is contained in:
@@ -95,6 +95,7 @@ namespace OnDoc.UIControls
|
||||
|
||||
try
|
||||
{
|
||||
//Logging.Logging.Info("NodeTag: " + nodetag,"OnDoc","TestSTH");
|
||||
docPreview1.Width = splitContainer1.Panel2.Width - grpDetails.Width - 5;
|
||||
grpversanddetails.Left = grpDetails.Left;
|
||||
grpversanddetails.Top= grpDetails.Top;
|
||||
@@ -143,10 +144,13 @@ namespace OnDoc.UIControls
|
||||
notes.Columns.Add("Betreff");
|
||||
notes.Columns.Add("Note");
|
||||
notes.Columns.Add("Notewriter");
|
||||
// Logging.Logging.Info("ShowDoc: " + nodetag, "OnDoc", "TestSTH");
|
||||
this.docPreview1.reset_PrintDokID();
|
||||
this.docPreview1.Show_Doc(nodetag);
|
||||
this.pages = docPreview1.Get_Page_Count();
|
||||
Database.DB db = new Database.DB(AppParams.connectionstring);
|
||||
|
||||
// Logging.Logging.Info("Select: " + nodetag, "OnDoc", "TestSTH");
|
||||
db.Get_Tabledata("Select * from View_Relaunach_Approval_Doc where dokumentid='" + nodetag + "'", false, true);
|
||||
this.txtdokumentid.Text = db.dsdaten.Tables[0].Rows[0]["Dokumentid"].ToString();
|
||||
this.txtbezeichnung.Text = db.dsdaten.Tables[0].Rows[0]["bezeichnung"].ToString();
|
||||
@@ -175,7 +179,15 @@ namespace OnDoc.UIControls
|
||||
sfListView1.DisplayMember = "Betreff";
|
||||
sfListView1.ValueMember = "note";
|
||||
}
|
||||
catch { }
|
||||
catch
|
||||
{
|
||||
try
|
||||
{
|
||||
this.docPreview1.reset_PrintDokID();
|
||||
this.docPreview1.Show_Doc(nodetag);
|
||||
} catch { }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user