public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Smartclusters;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.menu1 = ((System.Windows.Controls.Button)(this.FindName("menu1"))); this.SilverlightTreemap = ((System.Windows.Controls.DataVisualization.TreeMap)(this.FindName("SilverlightTreemap"))); }