Man kann jetzt einen Ausrduck erzeugen für das ausgeben einer Kalibrierliste
This commit is contained in:
@@ -6,6 +6,7 @@ using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
@@ -21,10 +22,12 @@ namespace BerichtGen
|
||||
string firma;
|
||||
string vorlage;
|
||||
string speicherpfad;
|
||||
string source;
|
||||
List<BilderObject> bilderObjects;
|
||||
DataTable tableContent = null;
|
||||
|
||||
|
||||
public Options(string firma, string vorlage, string speicherpfad, Hashtable grunddaten, List<BilderObject> bilderObjects)
|
||||
public Options(string firma, string vorlage, string speicherpfad, Hashtable grunddaten, List<BilderObject> bilderObjects, DataTable tableContent = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.firma = firma;
|
||||
@@ -32,12 +35,14 @@ namespace BerichtGen
|
||||
this.speicherpfad = speicherpfad;
|
||||
this.grundDaten = grunddaten;
|
||||
this.bilderObjects = bilderObjects;
|
||||
this.tableContent = tableContent;
|
||||
this.source = Path.Combine("documents",firma, vorlage);
|
||||
}
|
||||
|
||||
void Gen()
|
||||
{
|
||||
Bericht bericht = new Bericht();
|
||||
bericht.Erzeuge(firma,vorlage, speicherpfad, grundDaten,bilderObjects);
|
||||
bericht.Erzeuge(source, speicherpfad, grundDaten,bilderObjects,tableContent);
|
||||
}
|
||||
|
||||
private void btn_start_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user