void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((BlendWpfApplication1.Window1)(target)); #line 7 "..\..\Window1.xaml" this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.battery = ((System.Windows.Controls.Image)(target)); return; case 4: this.batterypercentage = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Window = ((BlendWpfApplication1.Window1)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.listBox1 = ((System.Windows.Controls.ListBox)(target)); #line 13 "..\..\Test_slide.xaml" this.listBox1.Loaded += new System.Windows.RoutedEventHandler(this.listBox1_Loaded); #line default #line hidden #line 13 "..\..\Test_slide.xaml" this.listBox1.Unloaded += new System.Windows.RoutedEventHandler(this.listBox1_Unloaded); #line default #line hidden return; } this._contentLoaded = true; }