void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.textBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 2:
     this.backgroundGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Rect = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 4:
     this.grdEvents = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 8:
     this.buttonColumnUsers = ((System.Windows.Controls.DataGridTemplateColumn)(target));
     return;
     case 9:
     this.buttonColumnSessions = ((System.Windows.Controls.DataGridTemplateColumn)(target));
     return;
     case 10:
     this.buttonColumnDelete = ((System.Windows.Controls.DataGridTemplateColumn)(target));
     return;
     case 11:
     this.deleteEventConfirmation = ((MyEvents.Client.Organizer.Desktop.Views.UserControls.ConfirmationDialog)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.grdEvents = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 2:
     this.buttonColumnEdit = ((System.Windows.Controls.DataGridTemplateColumn)(target));
     return;
     case 3:
     this.buttonColumnMaterials = ((System.Windows.Controls.DataGridTemplateColumn)(target));
     return;
     case 4:
     this.buttonColumnDelete = ((System.Windows.Controls.DataGridTemplateColumn)(target));
     return;
     case 5:
     this.deleteEventConfirmation = ((MyEvents.Client.Organizer.Desktop.Views.UserControls.ConfirmationDialog)(target));
     return;
     }
     this._contentLoaded = true;
 }