SNAP.com

My blog (this blog) is just integrated with the script form snap.com. It is using AJAX feature as well. The feature of snap.com is take a snap of the website or web page when you mouse over the hyperlink or even a image that with hyperlink. For me, i think it is quite cool. After seeing this snap.com, I come out another idea. Hope it will works. For those want to apply this please goto http://www.snap.com

Setup a new Forum

I just setup a new forum for discussing some stuff. If you feel interesting, please do register and start post your message here today. It will contains technical thing and non-technical stuff too. Please goto http://ycoderz.jconserv.net/index.php for posting.

How to get a new laptop or desktop?

Want to get a new laptop or desktop because of INTEL duo core? There is alot of ways. I would like to share some here that very funny. Please goto http://www.neednewpc.com/?b to take a look.

Show different tooltiptext in different Infragistics Status Bar Panel

Lately I have been involving in a .NET 2.0 project in my company. The presentation layer or UI of this project is fully using the Infragistics control. I have been long time didn't use third party control or components since my Advance Diploma project. During the development, I found out that the web does not have the information how to show the balloon tooltip text with UltraToolTipManager when the mouse is hovering on top of different status panel. For example, there are two panels in the status bar. First panel will show the user information in the tooltip and second panel will show application information. In this case, I declared a 1 dimention array that contains two tooltip that be displayed. Then, I handle the MouseEnterElement event with a method and display the balloon tooltip. Here are my codes as shown below, please tell me if you have a better solution. Thanks.

Codes:

private void ultraStatusBar_MouseEnterElement(object sender, Infragistics.Win.UIElementEventArgs e)


{


Infragistics.Win.UltraWinToolTip.UltraToolTipInfo oTooltip = null;


Infragistics.Win.UIElement oUIElmt = e.Element;


if (oUIElmt is Infragistics.Win.UltraWinStatusBar.PanelUIElement)


{


object oPanel = oUIElmt.GetContext(Type.GetType("Infragistics.Win.UltraWinStatusBar.UltraStatusPanel"));


if (oPanel != null && oPanel is Infragistics.Win.UltraWinStatusBar.UltraStatusPanel)


{


oTooltip = this.ultraToolTipMgr.GetUltraToolTip(this.ultraStatusBar);


if (oTooltip == null)


oTooltip = new UltraToolTipInfo();




oTooltip.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.Circular;


oTooltip.ToolTipTitle = "Information";


oTooltip.ToolTipText = this.strToolTipString[((Infragistics.Win.UltraWinStatusBar.UltraStatusPanel)oPanel).Index];


this.ultraToolTipMgr.SetUltraToolTip(this.ultraStatusBar, oTooltip);


this.ultraToolTipMgr.ShowToolTip(this.ultraStatusBar);


}




}


}

RoboCode is fun~

Lately, I found an very interesting thing and it is always on my screen now. It is called RoboCode. I trust it existed few years ago but I just get to know it lately. It is an AI similiar thing. You can code it and let it to battle in the field. It robot depend on how you code it to win. For more information, please study more on http://www.robocoderepository.com/