void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((AssimpSample.MainWindow)(target)); #line 5 "..\..\..\MainWindow.xaml" this.window.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown); #line default #line hidden return; case 2: this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target)); #line 11 "..\..\..\MainWindow.xaml" this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw); #line default #line hidden #line 12 "..\..\..\MainWindow.xaml" this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized); #line default #line hidden #line 12 "..\..\..\MainWindow.xaml" this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized); #line default #line hidden return; case 3: this.rotacijalabel = ((System.Windows.Controls.Label)(target)); return; case 4: this.skaliranjelabel = ((System.Windows.Controls.Label)(target)); return; case 5: this.tbVisina = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.VisinaSkakanja_btn = ((System.Windows.Controls.Button)(target)); #line 23 "..\..\..\MainWindow.xaml" this.VisinaSkakanja_btn.Click += new System.Windows.RoutedEventHandler(this.VisinaSkakanja_btn_Click); #line default #line hidden return; case 7: this.labelaTackasti = ((System.Windows.Controls.Label)(target)); return; case 8: this.tackasti = ((System.Windows.Controls.CheckBox)(target)); #line 30 "..\..\..\MainWindow.xaml" this.tackasti.Click += new System.Windows.RoutedEventHandler(this.TackastiIzvor_Click); #line default #line hidden return; case 9: this.reflektorski = ((System.Windows.Controls.CheckBox)(target)); #line 32 "..\..\..\MainWindow.xaml" this.reflektorski.Click += new System.Windows.RoutedEventHandler(this.ReflektorskiIzvor_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.prozor = ((AssimpSample.MainWindow)(target)); #line 5 "..\..\..\MainWindow.xaml" this.prozor.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown); #line default #line hidden return; case 2: this.translateBoard = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.tbBtn = ((System.Windows.Controls.Button)(target)); #line 11 "..\..\..\MainWindow.xaml" this.tbBtn.Click += new System.Windows.RoutedEventHandler(this.TbBtn_Click); #line default #line hidden return; case 4: this.scaleBoard = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.sbBtn = ((System.Windows.Controls.Button)(target)); #line 14 "..\..\..\MainWindow.xaml" this.sbBtn.Click += new System.Windows.RoutedEventHandler(this.SbBtn_Click); #line default #line hidden return; case 6: this.red = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.green = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.blue = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.clBtn = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\..\MainWindow.xaml" this.clBtn.Click += new System.Windows.RoutedEventHandler(this.ClBtn_Click); #line default #line hidden return; case 10: this.openGLControl = ((SharpGL.WPF.OpenGLControl)(target)); #line 23 "..\..\..\MainWindow.xaml" this.openGLControl.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLDraw); #line default #line hidden #line 24 "..\..\..\MainWindow.xaml" this.openGLControl.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_OpenGLInitialized); #line default #line hidden #line 24 "..\..\..\MainWindow.xaml" this.openGLControl.Resized += new SharpGL.SceneGraph.OpenGLEventHandler(this.openGLControl_Resized); #line default #line hidden return; } this._contentLoaded = true; }