Example #1
0
        /// <summary>
        ///     Output file click
        /// </summary>
        private void btnOutPut_Click(object sender, EventArgs e)
        {
            //Set cursor
            Cursor.Current = Cursors.WaitCursor;

            CommPro.output(false, this.rtb_logger);

            //popup report form
            frmDailyReporter frmDailyReport = new frmDailyReporter();
            frmDailyReport.Show();
            //after export file,automatic send email to user
            //buttons set
            this.btnImpECI.Enabled = true;
            this.btnImpSAP.Enabled = false;
            this.btnOutPut.Enabled = false;
        }
Example #2
0
 private void toolStripdailyReport_Click(object sender, EventArgs e)
 {
     frmDailyReporter frmDailyReporter = new frmDailyReporter();
     frmDailyReporter.MdiParent = this;
     frmDailyReporter.Show();
 }