實現代碼為: /// <summary> /// 鼠標移入 /// </summary> private void Progress_enter(object sender, EventArgs e) { #region |=>顯示信息 progressBar1.Cursor = Cursors.Hand; this.toolTip1.ToolTipTitle = "Cpuage"; this.toolTip1.UseAnimation = true; this.toolTip1.UseFading = true; this.toolTip1.InitialDelay = 0; this.toolTip1.ReshowDelay = 0; this.toolTip1.BackColor = Color.Transparent; this.toolTip1.ForeColor = Color.Teal; this.toolTip1.SetToolTip(progressBar1, label1.Text.ToString()); #endregion } private void Progress_leave(object sender, EventArgs e) { this.toolTip1.UseAnimation = false; } }