private void butDel_Click(object sender, EventArgs e) { try { if (!isuser(1)) { return; } T_Sysset.Deluser(txtUser.Text.Trim()); Loaduser(); } catch (Exception exception) { MessageBox.Show("删除用户失败!" + exception); } }