private void btnDutyOff_Click(object sender, System.EventArgs e) { ManagerInfo currentManager = ManagerHelper.GetCurrentManager(); string msg = ManagerHelper.DutyOff(currentManager.UserId); if (msg == "关班成功") { this.ShowMsgAndReUrl("关班成功!", true, "DutyShift.aspx"); } else { this.ShowMsg(msg, false); } }