Exemple #1
0
        //审核按钮
        private void BtnApprovalOK_Click(object sender, EventArgs e)
        {
            try
            {
                applicationInfo.ApprovalApplication3(applicationInfo.TransNo, Login.LoginUser, 1, dtApprovalTime3.Value);
                Thread thread = new Thread(new ThreadStart(SendEmail));
                thread.Start();

                MessageBox.Show("审核完毕", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                DialogResult = DialogResult.OK;
                this.Close();
            }
            catch (Exception)
            {
                MessageBox.Show("审核失败", "消息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }