C#汽车销售系统财务管理和销售管理设计(13)_毕业论文

毕业论文移动版

毕业论文 > 计算机论文 >

C#汽车销售系统财务管理和销售管理设计(13)


            ca.Show();
        }
        private void MS_LoginoutItem_Click(object sender, EventArgs e)
        {
            int returnNum = cb.LogoutBll(this.statusUser.Text.Trim());
            if (returnNum == 1)
            {
                MessageBox.Show("注销成功");
                LoadStar();
            }
            else {
                MessageBox.Show(注销失败);
            }
        }
        private void MS_PwdItem_Click(object sender, EventArgs e)
        {
            AlterPwd ap = new AlterPwd(ul);
            ap.Show();
        }
        private void MS_ExitItem_Click(object sender, EventArgs e)
        {
            string userName=this.statusUser.Text.Trim();
            if (userName == "<无T>")
            {
                this.Close();
            }
            else
            {
                int returnNum = cb.LogoutBll(userName);
                if (returnNum == 1)
                {
                    MessageBox.Show("退出消息", "提示");
                    this.Close();
                }
                else
                {
                    MessageBox.Show(注销失败);
                }
            }
        }
        private void MR_CustomerItem_Click(object sender, EventArgs e)
        {
            CustomerSearch cs = new CustomerSearch(); (责任编辑:qin)