Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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();
        }