void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.zoomBorder = ((Wpf.Controls.PanAndZoom.ZoomBorder)(target)); return; case 2: this.image = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Slider_Param_Width = ((System.Windows.Controls.Slider)(target)); return; case 2: this.Slider_Param_Height = ((System.Windows.Controls.Slider)(target)); return; case 3: this.Slider_Param_XOffset = ((System.Windows.Controls.Slider)(target)); return; case 4: this.Slider_Param_YOffset = ((System.Windows.Controls.Slider)(target)); return; case 5: this.Slider_Param_Gain = ((System.Windows.Controls.Slider)(target)); return; case 6: this.Slider_Param_ExposureTime = ((System.Windows.Controls.Slider)(target)); return; case 7: this.LogDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.ImageGrid = ((System.Windows.Controls.Grid)(target)); return; case 9: this.zoomBorder = ((Wpf.Controls.PanAndZoom.ZoomBorder)(target)); return; } this._contentLoaded = true; }