Beispiel #1
0
 public Form1()
 {
     InitializeComponent();
     this.FormClosing += Form1_FormClosing;
     this.m_logger     = new Logger(loggerTextBox);
     this.m_conf       = new Configuration(this.m_logger);
     this.m_parser     = new QSParser(this.m_logger);
 }
Beispiel #2
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     this.m_historyTasks = null;
     this.m_currentTasks = null;
     this.m_needAllerts  = null;
     this.m_logger.WriteLog("Close application");
     this.m_logger.Close();
     this.m_logger       = null;
     this.m_conf         = null;
     this.m_parser       = null;
     this.m_sendSNTPMail = null;
 }