private void SetDefault() { boilerReportQueue = new BoilerReportQueue(); //historyReportQueue = new BoilerReportQueue(); historyOriginalQueue = new HistoryReportQueue(); //var folderToWatchFor = string.Format("{0}\\input", System.Environment.CurrentDirectory); //var outputFolder = string.Format("{0}\\output", System.Environment.CurrentDirectory); //MonitorFolder = new MonitorFolder(folderToWatchFor, outputFolder); }
public PdfMonitorForm() { InitializeComponent(); fileInputMonitor = new FileInputMonitor(); InitializeFolder(); historyOrignalQueue = Program.SysConfig.HistoryOriginalQueue; LogHelper.GetLogger <PdfMonitorForm>().Debug("Start Monitor!"); notifyIcon.ShowBalloonTip(1000); configFilePath = string.Format("{0}\\Config\\MonitorFolder.xml", System.Environment.CurrentDirectory); //RegisterInStartup(); }