public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // config = new AirlockConfig.Config(); config.readConfig(); txtBase.Text = config.targetPath; }
public transporter() { // // TODO: Add constructor logic here // config = new AirlockConfig.Config(); config.readConfig(); if (config.targetPath.Length <= 0) throw new ConfigException(); tea = new transportEventArgs(); item = new string[MAXITEM]; itemCount = 0; targetRoot = config.targetPath + "\\" + System.Net.Dns.GetHostName() + "\\"; deleteAfterCopy = false; }