public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/slExample;component/scrollnumberpage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.scrollnumber = ((Silverlight.Common.Controls.NumberScroll)(this.FindName("scrollnumber"))); this.txttest = ((System.Windows.Controls.TextBlock)(this.FindName("txttest"))); this.lan = ((System.Windows.Controls.ComboBox)(this.FindName("lan"))); }