void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.StructureEntry = ((Tourny2.Window2)(target));
     return;
     case 2:
     this.FlowGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.LevelsColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 4:
     this.UseAntesColumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 5:
     this.AntesColumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 6:
     this.SBColumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 7:
     this.BBColumn1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 8:
     this.LevelMinutesColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 9:
     this.DisplayGamesColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 10:
     this.CurrentGame = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 11:
     this.AddOnColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 12:
     this.UseAntesColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.AntesColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.SBColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.BBColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.Levels_Column = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.LevelTimeColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.ListGamesColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.CurrentGamesColumn = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.AddBreak = ((System.Windows.Controls.Button)(target));
     
     #line 133 "..\..\StructureEntry.xaml"
     this.AddBreak.Click += new System.Windows.RoutedEventHandler(this.button_Click);
     
     #line default
     #line hidden
     return;
     case 21:
     this.AddLevelButton = ((System.Windows.Controls.Button)(target));
     
     #line 134 "..\..\StructureEntry.xaml"
     this.AddLevelButton.Click += new System.Windows.RoutedEventHandler(this.AddLevelButton_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 135 "..\..\StructureEntry.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.Save_Clicked);
     
     #line default
     #line hidden
     return;
     case 23:
     this.Level = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.AntesBox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 137 "..\..\StructureEntry.xaml"
     this.AntesBox.Checked += new System.Windows.RoutedEventHandler(this.AntesBox_Checked);
     
     #line default
     #line hidden
     
     #line 137 "..\..\StructureEntry.xaml"
     this.AntesBox.Unchecked += new System.Windows.RoutedEventHandler(this.AntesBox_Unchecked);
     
     #line default
     #line hidden
     return;
     case 25:
     this.EnterAntes = ((System.Windows.Controls.TextBox)(target));
     
     #line 138 "..\..\StructureEntry.xaml"
     this.EnterAntes.KeyDown += new System.Windows.Input.KeyEventHandler(this.EnterAntes_KeyDown);
     
     #line default
     #line hidden
     
     #line 138 "..\..\StructureEntry.xaml"
     this.EnterAntes.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.EnterAntes_TextChanged);
     
     #line default
     #line hidden
     return;
     case 26:
     this.SBEntry = ((System.Windows.Controls.TextBox)(target));
     
     #line 139 "..\..\StructureEntry.xaml"
     this.SBEntry.KeyDown += new System.Windows.Input.KeyEventHandler(this.SBEntry_KeyDown);
     
     #line default
     #line hidden
     
     #line 139 "..\..\StructureEntry.xaml"
     this.SBEntry.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SBEntry_TextChanged);
     
     #line default
     #line hidden
     return;
     case 27:
     this.BBEntry = ((System.Windows.Controls.TextBox)(target));
     
     #line 140 "..\..\StructureEntry.xaml"
     this.BBEntry.KeyDown += new System.Windows.Input.KeyEventHandler(this.BBEntry_KeyDown);
     
     #line default
     #line hidden
     
     #line 140 "..\..\StructureEntry.xaml"
     this.BBEntry.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BBEntry_TextChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.TimeEntry = ((System.Windows.Controls.TextBox)(target));
     
     #line 141 "..\..\StructureEntry.xaml"
     this.TimeEntry.KeyDown += new System.Windows.Input.KeyEventHandler(this.TimeEntry_KeyDown);
     
     #line default
     #line hidden
     
     #line 141 "..\..\StructureEntry.xaml"
     this.TimeEntry.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TimeEntry_TextChanged);
     
     #line default
     #line hidden
     return;
     case 29:
     this.ListGamesBox = ((System.Windows.Controls.CheckBox)(target));
     
     #line 142 "..\..\StructureEntry.xaml"
     this.ListGamesBox.Checked += new System.Windows.RoutedEventHandler(this.ListGamesBox_Checked);
     
     #line default
     #line hidden
     
     #line 142 "..\..\StructureEntry.xaml"
     this.ListGamesBox.Unchecked += new System.Windows.RoutedEventHandler(this.ListGamesBox_Unchecked);
     
     #line default
     #line hidden
     return;
     case 30:
     this.GamesEntry = ((System.Windows.Controls.TextBox)(target));
     
     #line 143 "..\..\StructureEntry.xaml"
     this.GamesEntry.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.GamesEntry_TextChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 private void Blinds_Click(object sender, RoutedEventArgs e)                     //click blinds button
 {
     Window2 blinds = new Window2();
     blinds.Show();
 }