public WinFormTemplate1() { InitializeComponent(); lbxLogHnd = new mko.Log.WinFormListBoxLogHnd(lbxLog); log.registerLogHnd(lbxLogHnd); StatusStripLogHnd = new mko.Log.WinFormStatusStripLogHnd(statusStrip1, "toolStripStatusLabel1"); log.registerLogHnd(StatusStripLogHnd); }
//DMS.Bilderscanner scanner; public PicBrowserForm() { InitializeComponent(); //scanner = new DMS.Bilderscanner(trvPicDir); hndLbx = new mko.Log.WinFormListBoxLogHnd(lbxLog); log.registerLogHnd(hndLbx); hndStatusStrip = new mko.Log.WinFormStatusStripLogHnd(this.statusStrip1, "toolStripStatusLabel1"); log.registerLogHnd(hndStatusStrip); }
public Form1() { InitializeComponent(); Text = "[" + System.Net.Dns.GetHostName() + "] " + this.Text + " ver " + this.GetType().Assembly.GetName().Version.Major.ToString() + "." + this.GetType().Assembly.GetName().Version.Minor.ToString() + "." + this.GetType().Assembly.GetName().Version.Build.ToString(); hndStatusStripLog = new mko.Log.WinFormStatusStripLogHnd(this.statusStrip1, "toolStripStatusLabel1"); log.registerLogHnd(hndStatusStripLog); // Stapelverarbeitung für Dateiscanns anlegen //_Worker = new FCWorker(log); DMS.FC.BP.BatchProcessor.logServer = log; FCBatchProzessor = new DMS.FC.BP.BatchProcessor(); ibp = (DMS.IBatchProcessing)FCBatchProzessor; log.Log(mko.Log.RC.CreateMsg(string.Format("erfolgreich gestartet um {0:s}", DateTime.Now))); }