void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WINDOW = ((SharpGLWPFApplication3.MainWindow)(target)); return; case 2: this.MENUBARGRID = ((System.Windows.Controls.Grid)(target)); return; case 3: this.___MenuBar_ = ((System.Windows.Controls.Menu)(target)); return; case 4: #line 22 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFS); #line default #line hidden return; case 5: #line 23 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadFS); #line default #line hidden return; case 6: #line 24 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LOADMOD_Click); #line default #line hidden return; case 7: this.compile_button = ((System.Windows.Controls.Button)(target)); #line 28 "..\..\..\MainWindow.xaml" this.compile_button.Click += new System.Windows.RoutedEventHandler(this.compile_button_Click); #line default #line hidden return; case 8: this.PlayButton = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\..\MainWindow.xaml" this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click); #line default #line hidden return; case 9: this.EQ = ((System.Windows.Shapes.Rectangle)(target)); return; case 10: this.EQ2 = ((System.Windows.Shapes.Rectangle)(target)); return; case 11: this.StopButton = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\..\MainWindow.xaml" this.StopButton.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click); #line default #line hidden return; case 12: this.OpenGLcontext = ((SharpGL.WPF.OpenGLControl)(target)); #line 35 "..\..\..\MainWindow.xaml" this.OpenGLcontext.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw); #line default #line hidden #line 36 "..\..\..\MainWindow.xaml" this.OpenGLcontext.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized); #line default #line hidden return; case 13: this.ERRORBOX = ((System.Windows.Controls.Label)(target)); return; case 14: this.TxtBox_FS = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WINDOW = ((SharpGLWPFApplication3.MainWindow)(target)); return; case 2: this.MENUBARGRID = ((System.Windows.Controls.Grid)(target)); return; case 3: this.___MenuBar_ = ((System.Windows.Controls.Menu)(target)); return; case 4: #line 18 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveVS); #line default #line hidden return; case 5: #line 19 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadVS); #line default #line hidden return; case 6: #line 20 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveFS); #line default #line hidden return; case 7: #line 21 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LoadFS); #line default #line hidden return; case 8: #line 22 "..\..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LOADMOD_Click); #line default #line hidden return; case 9: this.compile_button = ((System.Windows.Controls.Button)(target)); #line 26 "..\..\..\MainWindow.xaml" this.compile_button.Click += new System.Windows.RoutedEventHandler(this.compile_button_Click); #line default #line hidden return; case 10: this.ViewTab = ((System.Windows.Controls.TabControl)(target)); return; case 11: this.OpenGLcontext = ((SharpGL.WPF.OpenGLControl)(target)); #line 35 "..\..\..\MainWindow.xaml" this.OpenGLcontext.OpenGLDraw += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLDraw); #line default #line hidden #line 36 "..\..\..\MainWindow.xaml" this.OpenGLcontext.OpenGLInitialized += new SharpGL.SceneGraph.OpenGLEventHandler(this.OpenGLControl_OpenGLInitialized); #line default #line hidden return; case 12: this.ParamTab1 = ((System.Windows.Controls.TabControl)(target)); return; case 13: this.paramsv0_Check = ((System.Windows.Controls.CheckBox)(target)); return; case 14: this.paramsv0_Uniform = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.paramsv1_Check = ((System.Windows.Controls.CheckBox)(target)); return; case 16: this.paramsv1_Uniform = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.param1_Check = ((System.Windows.Controls.CheckBox)(target)); return; case 18: this.param1_Value = ((System.Windows.Controls.Slider)(target)); return; case 19: this.param1_Uniform = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.param2_Check = ((System.Windows.Controls.CheckBox)(target)); return; case 21: this.param2_Value = ((System.Windows.Controls.Slider)(target)); return; case 22: this.param2_Uniform = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.ModplayBar = ((System.Windows.Controls.Grid)(target)); return; case 24: this.EQ = ((System.Windows.Shapes.Rectangle)(target)); return; case 25: this.EQ2 = ((System.Windows.Shapes.Rectangle)(target)); return; case 26: this.dbgLABEL = ((System.Windows.Controls.Label)(target)); return; case 27: this.PlayButton = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\..\MainWindow.xaml" this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.PlayButton_Click); #line default #line hidden return; case 28: this.StopButton = ((System.Windows.Controls.Button)(target)); #line 76 "..\..\..\MainWindow.xaml" this.StopButton.Click += new System.Windows.RoutedEventHandler(this.StopButton_Click); #line default #line hidden return; case 29: this.SongnameLabel = ((System.Windows.Controls.Label)(target)); return; case 30: this.EditTab = ((System.Windows.Controls.TabControl)(target)); return; case 31: this.listb_FS = ((System.Windows.Controls.ListBox)(target)); #line 84 "..\..\..\MainWindow.xaml" this.listb_FS.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listb_FS_SelectionChanged); #line default #line hidden return; case 32: this.add_FS_button = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\..\MainWindow.xaml" this.add_FS_button.Click += new System.Windows.RoutedEventHandler(this.add_FS_Button_Clicked); #line default #line hidden return; case 33: this.save_FS_button = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\..\MainWindow.xaml" this.save_FS_button.Click += new System.Windows.RoutedEventHandler(this.save_FS_Button_Click); #line default #line hidden return; case 34: this.TxtBox_FS = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.listb_VS = ((System.Windows.Controls.ListBox)(target)); #line 96 "..\..\..\MainWindow.xaml" this.listb_VS.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listb_VS_SelectionChanged); #line default #line hidden return; case 36: this.add_VS_button = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\..\MainWindow.xaml" this.add_VS_button.Click += new System.Windows.RoutedEventHandler(this.add_VS_button_Click); #line default #line hidden return; case 37: this.save_VS_button = ((System.Windows.Controls.Button)(target)); #line 98 "..\..\..\MainWindow.xaml" this.save_VS_button.Click += new System.Windows.RoutedEventHandler(this.save_VS_button_Click); #line default #line hidden return; case 38: this.TxtBox_VS = ((System.Windows.Controls.TextBox)(target)); return; case 39: this.ERRORBOX = ((System.Windows.Controls.Label)(target)); #line 107 "..\..\..\MainWindow.xaml" this.ERRORBOX.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ERRORBOX_MouseDoubleClick); #line default #line hidden return; } this._contentLoaded = true; }