shecarchi
چهارشنبه 28 مهر 1389, 20:54 عصر
سلام دوستان . روش استفاده از super tooltip در کامپوننت DotNetBar چطوریه؟ میخوام برای buttonitem هایی که تو ribbon control گذاشتم tooltip بزارم . tooltip معمولی هم جواب نداد
shecarchi
چهارشنبه 28 مهر 1389, 22:00 عصر
مشکل با کمک کد زیر حل شد
Creating the SuperToolTip.
DevComponents.DotNetBar.SuperTooltip sTip = new DevComponents.DotNetBar.SuperTooltip();
Assigning the SuperToolTip's values to a control.
sTip.SetSuperTooltip(this.buttonX1, new DevComponents.DotNetBar.SuperTooltipInfo("DevComponents", "", "Beautiful .Net controls for fast and easy programming", null, null, DevComponents.DotNetBar.eTooltipColor.Apple)) ;
Assigning an image to the body of the SuperToolTip.
sTip.SetSuperTooltip(this.buttonX1, new DevComponents.DotNetBar.SuperTooltipInfo("DevComponents", "", "Beautiful .Net controls for fast and easy programming", global::WindowsApplication2.Properties.Resources.Y ourResourceImage, null, DevComponents.DotNetBar.eTooltipColor.Apple)) ;
vBulletin® v4.2.5, Copyright ©2000-1403, Jelsoft Enterprises Ltd.