示例#1
0
        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;
        }
示例#2
0
        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;
        }