void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.settingWin = ((PSterminal.SettingsWindow)(target));
     return;
     case 2:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.rbLightStyle = ((System.Windows.Controls.RadioButton)(target));
     
     #line 55 "..\..\SettingsWindow.xaml"
     this.rbLightStyle.Checked += new System.Windows.RoutedEventHandler(this.rbLightStyle_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.rbDarkSide = ((System.Windows.Controls.RadioButton)(target));
     
     #line 59 "..\..\SettingsWindow.xaml"
     this.rbDarkSide.Checked += new System.Windows.RoutedEventHandler(this.rbDarkSide_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.dtpCommnadHighlight = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 75 "..\..\SettingsWindow.xaml"
     this.dtpCommnadHighlight.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.dtpCommnadHighlight_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.tbCommnad = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 7:
     this.dtpParameterHighlight = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 87 "..\..\SettingsWindow.xaml"
     this.dtpParameterHighlight.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.dtpParameterHighlight_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.tbParameter = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 9:
     this.ScriptColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     return;
     case 10:
     this.OutputColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     return;
     case 11:
     this.FontSize = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.FontColor = ((Xceed.Wpf.Toolkit.ColorPicker)(target));
     
     #line 118 "..\..\SettingsWindow.xaml"
     this.FontColor.SelectedColorChanged += new System.Windows.RoutedPropertyChangedEventHandler<System.Nullable<System.Windows.Media.Color>>(this.FontColor_SelectedColorChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 121 "..\..\SettingsWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 private void OpenSettings(object sender, ExecutedRoutedEventArgs e)
 {
     SettingsWindow set = new SettingsWindow(this);
     set.ShowDialog();
     UpdateRTB();
 }