void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.InoutStockStatusControl = ((R54IN0.WPF.IOStockStatusControl)(target));
     return;
     case 2:
     this.DataGridHelperGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.DatePicker = ((R54IN0.WPF.IOStockDatePickerControl)(target));
     return;
     case 4:
     this.ProjectListBox = ((R54IN0.WPF.IOStockProjectListBoxControl)(target));
     return;
     case 5:
     this.MSTreeView = ((R54IN0.WPF.MultiSelectTreeViewControl)(target));
     return;
     case 6:
     this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.DataGrid = ((R54IN0.WPF.IOStockDataGridControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ProductSelecterFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 2:
     this.MultiSelectTreeView = ((R54IN0.WPF.MultiSelectTreeViewControl)(target));
     return;
     }
     this._contentLoaded = true;
 }