//默认图标显示 void pb_MouseUp(object sender, MouseEventArgs e) { if (this.lastCard != null) { lastCard.Image = Properties.Resources.蓝色_点击前1; lastCard.Brush = new SolidBrush(Color.Black); lastCard.Refresh(); } }
//按下图标显示 void pb_MouseDown(object sender, MouseEventArgs e) { ucBusy pb = sender as ucBusy; pb.Image = Properties.Resources.银色_点击后1; pb.Brush = new SolidBrush(Color.Black); pb.Refresh(); this.lastCard = pb; }