if (this.rBtn1.Checked)//組異動
{
strgp = "0";
this.tr1.Style.Add("display", "block");
this.tr2.Style.Add("display", "block");
this.tr3.Style.Add("display", "block");
this.tr4.Style.Add("display","none");
this.new2.Style.Add("display", "none");
}
if (this.rBtn2.Checked)//個人異動
{
strgp = "1";
this.tr1.Style.Add("display", "none");
this.tr2.Style.Add("display", "none");
this.tr3.Style.Add("display", "none");
this.tr4.Style.Add("display", "block");
this.new2.Style.Add("display", "block");
}
转载于:https://www.cnblogs.com/linpengfeixgu/articles/1293138.html