Exemplo n.º 1
0
        private void executeMenuStrip_Click(object sender, EventArgs e)
        {
            List <String> files = sheets.getFiles();

            if (files.Count > 0)
            {
                logger.addLog("Start Processing " + files.Count + " file(s).");
                Thread thread = new Thread(() => LongRun(files));
                thread.Start();
            }
            else
            {
                logger.addError("No file selected.");
            }
        }
Exemplo n.º 2
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            logger           = new FormLogger();
            logger.MdiParent = this;
            logger.Show();
            logger.Location = new Point(this.Width - logger.Width - 30, this.Height - logger.Height - 70);

            sheets           = new FormSheet();
            sheets.MdiParent = this;
            sheets.Show();
            sheets.Location = new Point(this.Width - sheets.Width - 30, this.Height - logger.Height - sheets.Height - 90);

            result           = new FormResult();
            result.MdiParent = this;
            result.Show();
            result.Location = new Point(10, 20);

            logger.addLog("Initialized.");
        }
Exemplo n.º 3
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            logger = new FormLogger();
            logger.MdiParent = this;
            logger.Show();
            logger.Location = new Point(this.Width - logger.Width - 30, this.Height - logger.Height - 70);

            sheets = new FormSheet();
            sheets.MdiParent = this;
            sheets.Show();
            sheets.Location = new Point(this.Width - sheets.Width - 30, this.Height - logger.Height - sheets.Height - 90);

            result = new FormResult();
            result.MdiParent = this;
            result.Show();
            result.Location = new Point(10, 20);

            logger.addLog("Initialized.");
        }