//退出
        private void btnExit_Click(object sender, EventArgs e)
        {
            FrmSendOrdersToLis frm = new FrmSendOrdersToLis();

            frm.Dispose();
            b = true;
            timer.AutoReset = false;
            SetTB(">>>退 出 时 间");
            Close();
        }
Exemple #2
0
        //退出
        private void btnExit_Click(object sender, EventArgs e)
        {
            strMsg = string.Format(">>>{0}    退出系统", DateTime.Now);
            log.Info(strMsg);
            tree_logview.Nodes.Add(strMsg);

            //timer.Stop();
            //timer.Dispose();
            //timer.Close();

            FrmSendOrdersToLis frm = new FrmSendOrdersToLis();

            frm.Dispose();
            this.Close();
        }