示例#1
0
        public Form1()
        {
            InitializeComponent();
            radioButtonSplit.Checked              = true;
            backgroundWorker1.DoWork             += new DoWorkEventHandler(backgroundWorker1_DoWork);
            backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(backgroundWorker1_RunWorkerCompleted);
            Form1.CheckForIllegalCrossThreadCalls = false;
            ExcelHandlercs handler = new ExcelHandlercs();

            handler.KillProcesses("EXCEL");
            buttonLShowLog.Visible = true;
        }
示例#2
0
        private void Form1_FormClosing(object sender, FormClosingEventArgs e)
        {
            ExcelHandlercs handler = new ExcelHandlercs();

            handler.KillProcesses("EXCEL");
        }