void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.userControl = ((cpsc481_a3._1.PhotoViewControl)(target)); return; case 2: this.PhotoViewControl1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.PhotoImage = ((System.Windows.Controls.Image)(target)); return; case 4: this.PhotoNameLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.closeButton = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Container = ((System.Windows.Controls.Canvas)(target)); return; case 2: this.SplashCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 3: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.button = ((System.Windows.Controls.Button)(target)); return; case 5: this.ScrollViewer = ((System.Windows.Controls.ScrollViewer)(target)); return; case 6: this.ImagePanel = ((System.Windows.Controls.Primitives.UniformGrid)(target)); return; case 7: this.PhotoViewControl = ((cpsc481_a3._1.PhotoViewControl)(target)); return; } this._contentLoaded = true; }