void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 12 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 13 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 14 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 15 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 16 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 17 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 18 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UserControl_PreviewKeyDown);

            #line default
            #line hidden

            #line 19 "..\..\..\Windows\DataPanel.xaml"
                ((BlueSky.Windows.DataPanel)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.UserControl_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 69 "..\..\..\Windows\DataPanel.xaml"
                ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.gridControl1 = ((C1.WPF.DataGrid.C1DataGrid)(target));

            #line 74 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.AutoGeneratingColumn += new System.EventHandler <C1.WPF.DataGrid.DataGridAutoGeneratingColumnEventArgs>(this.gridControl1_AutoGeneratingColumn);

            #line default
            #line hidden

            #line 75 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.BeginningNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridBeginningNewRowEventArgs>(this.gridControl1_BeginningNewRow);

            #line default
            #line hidden

            #line 76 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.CommittingNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridEndingNewRowEventArgs>(this.gridControl1_CommittingNewRow);

            #line default
            #line hidden

            #line 77 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.CommittedNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridRowEventArgs>(this.gridControl1_CommittedNewRow);

            #line default
            #line hidden

            #line 79 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.CommittingEdit += new System.EventHandler <C1.WPF.DataGrid.DataGridEndingEditEventArgs>(this.gridControl1_CommittingEdit);

            #line default
            #line hidden

            #line 80 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.BeginningEdit += new System.EventHandler <C1.WPF.DataGrid.DataGridBeginningEditEventArgs>(this.gridControl1_BeginningEdit);

            #line default
            #line hidden

            #line 81 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.SelectionChanged += new System.EventHandler <C1.WPF.DataGrid.DataGridSelectionChangedEventArgs>(this.gridControl1_SelectionChanged);

            #line default
            #line hidden

            #line 82 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.RowsDeleted += new System.EventHandler <C1.WPF.DataGrid.DataGridRowsDeletedEventArgs>(this.gridControl1_RowsDeleted);

            #line default
            #line hidden

            #line 83 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.datagridContextMenu_ContextMenuOpening);

            #line default
            #line hidden

            #line 84 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.LoadedRowHeaderPresenter += new System.EventHandler <C1.WPF.DataGrid.DataGridRowEventArgs>(this.gridControl1_LoadedRowHeaderPresenter);

            #line default
            #line hidden

            #line 85 "..\..\..\Windows\DataPanel.xaml"
                this.gridControl1.LoadedColumnHeaderPresenter += new System.EventHandler <C1.WPF.DataGrid.DataGridColumnEventArgs>(this.gridControl1_LoadedColumnHeaderPresenter);

            #line default
            #line hidden
                return;

            case 4:
                this.datagridContextMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 5:
                this._insertNewData = ((System.Windows.Controls.MenuItem)(target));

            #line 100 "..\..\..\Windows\DataPanel.xaml"
                this._insertNewData.Click += new System.Windows.RoutedEventHandler(this._insertNewData_Click);

            #line default
            #line hidden
                return;

            case 6:
                this._deleteData = ((System.Windows.Controls.MenuItem)(target));

            #line 101 "..\..\..\Windows\DataPanel.xaml"
                this._deleteData.Click += new System.Windows.RoutedEventHandler(this._deleteData_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 112 "..\..\..\Windows\DataPanel.xaml"
                ((System.Windows.Controls.TabItem)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 8:
                this.variableGrid = ((C1.WPF.DataGrid.C1DataGrid)(target));

            #line 116 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.Loaded += new System.Windows.RoutedEventHandler(this.variableGrid_Loaded);

            #line default
            #line hidden

            #line 118 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.CancelingNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridEndingNewRowEventArgs>(this.variableGrid_CancelingNewRow);

            #line default
            #line hidden

            #line 120 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.AutoGeneratingColumn += new System.EventHandler <C1.WPF.DataGrid.DataGridAutoGeneratingColumnEventArgs>(this.variableGrid_AutoGeneratingColumn);

            #line default
            #line hidden

            #line 121 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.AutoGeneratedColumns += new System.EventHandler(this.variableGrid_AutoGeneratedColumns);

            #line default
            #line hidden

            #line 122 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.BeganEdit += new System.EventHandler <C1.WPF.DataGrid.DataGridBeganEditEventArgs>(this.variableGrid_BeganEdit);

            #line default
            #line hidden

            #line 123 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.BeginningEdit += new System.EventHandler <C1.WPF.DataGrid.DataGridBeginningEditEventArgs>(this.variableGrid_BeginningEdit);

            #line default
            #line hidden

            #line 124 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.CommittingEdit += new System.EventHandler <C1.WPF.DataGrid.DataGridEndingEditEventArgs>(this.variableGrid_CommittingEdit);

            #line default
            #line hidden

            #line 125 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.SelectionChanged += new System.EventHandler <C1.WPF.DataGrid.DataGridSelectionChangedEventArgs>(this.variableGrid_SelectionChanged);

            #line default
            #line hidden

            #line 126 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.BeginningNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridBeginningNewRowEventArgs>(this.variableGrid_BeginningNewRow);

            #line default
            #line hidden

            #line 127 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.CommittedNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridRowEventArgs>(this.variableGrid_CommittedNewRow);

            #line default
            #line hidden

            #line 128 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.CommittingNewRow += new System.EventHandler <C1.WPF.DataGrid.DataGridEndingNewRowEventArgs>(this.variableGrid_CommittingNewRow);

            #line default
            #line hidden

            #line 129 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.CurrentCellChanged += new System.EventHandler <C1.WPF.DataGrid.DataGridCellEventArgs>(this.variableGrid_CurrentCellChanged);

            #line default
            #line hidden

            #line 130 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.DeletingRows += new System.EventHandler <C1.WPF.DataGrid.DataGridDeletingRowsEventArgs>(this.variableGrid_DeletingRows);

            #line default
            #line hidden

            #line 131 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.RowsDeleted += new System.EventHandler <C1.WPF.DataGrid.DataGridRowsDeletedEventArgs>(this.variableGrid_RowsDeleted);

            #line default
            #line hidden

            #line 132 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.LoadedRowHeaderPresenter += new System.EventHandler <C1.WPF.DataGrid.DataGridRowEventArgs>(this.variableGrid_LoadedRowHeaderPresenter);

            #line default
            #line hidden

            #line 133 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.variableGrid_PreviewMouseRightButtonDown);

            #line default
            #line hidden

            #line 135 "..\..\..\Windows\DataPanel.xaml"
                this.variableGrid.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.variableGrid_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 9:
                this._addfactorlevel = ((System.Windows.Controls.MenuItem)(target));

            #line 148 "..\..\..\Windows\DataPanel.xaml"
                this._addfactorlevel.Click += new System.Windows.RoutedEventHandler(this._addfactorlevel_Click);

            #line default
            #line hidden
                return;

            case 10:
                this._changelabel = ((System.Windows.Controls.MenuItem)(target));

            #line 149 "..\..\..\Windows\DataPanel.xaml"
                this._changelabel.Click += new System.Windows.RoutedEventHandler(this._changelabel_Click);

            #line default
            #line hidden
                return;

            case 11:
                this._makeFactor = ((System.Windows.Controls.MenuItem)(target));

            #line 150 "..\..\..\Windows\DataPanel.xaml"
                this._makeFactor.Click += new System.Windows.RoutedEventHandler(this._makeFactor_Click);

            #line default
            #line hidden
                return;

            case 12:
                this._nomToOrd = ((System.Windows.Controls.MenuItem)(target));

            #line 152 "..\..\..\Windows\DataPanel.xaml"
                this._nomToOrd.Click += new System.Windows.RoutedEventHandler(this._nomToOrd_Click);

            #line default
            #line hidden
                return;

            case 13:
                this._ordToNom = ((System.Windows.Controls.MenuItem)(target));

            #line 153 "..\..\..\Windows\DataPanel.xaml"
                this._ordToNom.Click += new System.Windows.RoutedEventHandler(this._ordToNom_Click);

            #line default
            #line hidden
                return;

            case 14:
                this._insertNewVar = ((System.Windows.Controls.MenuItem)(target));

            #line 154 "..\..\..\Windows\DataPanel.xaml"
                this._insertNewVar.Click += new System.Windows.RoutedEventHandler(this._insertNewVar_Click);

            #line default
            #line hidden
                return;

            case 15:
                this._insertNewVarAtEnd = ((System.Windows.Controls.MenuItem)(target));

            #line 155 "..\..\..\Windows\DataPanel.xaml"
                this._insertNewVarAtEnd.Click += new System.Windows.RoutedEventHandler(this._insertNewVarAtEnd_Click);

            #line default
            #line hidden
                return;

            case 16:
                this._deleteVar = ((System.Windows.Controls.MenuItem)(target));

            #line 156 "..\..\..\Windows\DataPanel.xaml"
                this._deleteVar.Click += new System.Windows.RoutedEventHandler(this._deleteVar_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.statusbar = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 12 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 13 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 15 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 16 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 17 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 18 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.UserControl_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 19 "..\..\..\Windows\DataPanel.xaml"
     ((BlueSky.Windows.DataPanel)(target)).PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.UserControl_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 69 "..\..\..\Windows\DataPanel.xaml"
     ((System.Windows.Controls.TabControl)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TabControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.gridControl1 = ((C1.WPF.DataGrid.C1DataGrid)(target));
     
     #line 74 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.AutoGeneratingColumn += new System.EventHandler<C1.WPF.DataGrid.DataGridAutoGeneratingColumnEventArgs>(this.gridControl1_AutoGeneratingColumn);
     
     #line default
     #line hidden
     
     #line 75 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.BeginningNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridBeginningNewRowEventArgs>(this.gridControl1_BeginningNewRow);
     
     #line default
     #line hidden
     
     #line 76 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.CommittingNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridEndingNewRowEventArgs>(this.gridControl1_CommittingNewRow);
     
     #line default
     #line hidden
     
     #line 77 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.CommittedNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridRowEventArgs>(this.gridControl1_CommittedNewRow);
     
     #line default
     #line hidden
     
     #line 79 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.CommittingEdit += new System.EventHandler<C1.WPF.DataGrid.DataGridEndingEditEventArgs>(this.gridControl1_CommittingEdit);
     
     #line default
     #line hidden
     
     #line 80 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.BeginningEdit += new System.EventHandler<C1.WPF.DataGrid.DataGridBeginningEditEventArgs>(this.gridControl1_BeginningEdit);
     
     #line default
     #line hidden
     
     #line 81 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.SelectionChanged += new System.EventHandler<C1.WPF.DataGrid.DataGridSelectionChangedEventArgs>(this.gridControl1_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 82 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.RowsDeleted += new System.EventHandler<C1.WPF.DataGrid.DataGridRowsDeletedEventArgs>(this.gridControl1_RowsDeleted);
     
     #line default
     #line hidden
     
     #line 83 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.datagridContextMenu_ContextMenuOpening);
     
     #line default
     #line hidden
     
     #line 84 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.LoadedRowHeaderPresenter += new System.EventHandler<C1.WPF.DataGrid.DataGridRowEventArgs>(this.gridControl1_LoadedRowHeaderPresenter);
     
     #line default
     #line hidden
     
     #line 85 "..\..\..\Windows\DataPanel.xaml"
     this.gridControl1.LoadedColumnHeaderPresenter += new System.EventHandler<C1.WPF.DataGrid.DataGridColumnEventArgs>(this.gridControl1_LoadedColumnHeaderPresenter);
     
     #line default
     #line hidden
     return;
     case 4:
     this.datagridContextMenu = ((System.Windows.Controls.ContextMenu)(target));
     return;
     case 5:
     this._insertNewData = ((System.Windows.Controls.MenuItem)(target));
     
     #line 100 "..\..\..\Windows\DataPanel.xaml"
     this._insertNewData.Click += new System.Windows.RoutedEventHandler(this._insertNewData_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this._deleteData = ((System.Windows.Controls.MenuItem)(target));
     
     #line 101 "..\..\..\Windows\DataPanel.xaml"
     this._deleteData.Click += new System.Windows.RoutedEventHandler(this._deleteData_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 112 "..\..\..\Windows\DataPanel.xaml"
     ((System.Windows.Controls.TabItem)(target)).PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItem_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.variableGrid = ((C1.WPF.DataGrid.C1DataGrid)(target));
     
     #line 116 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.Loaded += new System.Windows.RoutedEventHandler(this.variableGrid_Loaded);
     
     #line default
     #line hidden
     
     #line 118 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.CancelingNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridEndingNewRowEventArgs>(this.variableGrid_CancelingNewRow);
     
     #line default
     #line hidden
     
     #line 120 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.AutoGeneratingColumn += new System.EventHandler<C1.WPF.DataGrid.DataGridAutoGeneratingColumnEventArgs>(this.variableGrid_AutoGeneratingColumn);
     
     #line default
     #line hidden
     
     #line 121 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.AutoGeneratedColumns += new System.EventHandler(this.variableGrid_AutoGeneratedColumns);
     
     #line default
     #line hidden
     
     #line 122 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.BeganEdit += new System.EventHandler<C1.WPF.DataGrid.DataGridBeganEditEventArgs>(this.variableGrid_BeganEdit);
     
     #line default
     #line hidden
     
     #line 123 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.BeginningEdit += new System.EventHandler<C1.WPF.DataGrid.DataGridBeginningEditEventArgs>(this.variableGrid_BeginningEdit);
     
     #line default
     #line hidden
     
     #line 124 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.CommittingEdit += new System.EventHandler<C1.WPF.DataGrid.DataGridEndingEditEventArgs>(this.variableGrid_CommittingEdit);
     
     #line default
     #line hidden
     
     #line 125 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.SelectionChanged += new System.EventHandler<C1.WPF.DataGrid.DataGridSelectionChangedEventArgs>(this.variableGrid_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 126 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.BeginningNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridBeginningNewRowEventArgs>(this.variableGrid_BeginningNewRow);
     
     #line default
     #line hidden
     
     #line 127 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.CommittedNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridRowEventArgs>(this.variableGrid_CommittedNewRow);
     
     #line default
     #line hidden
     
     #line 128 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.CommittingNewRow += new System.EventHandler<C1.WPF.DataGrid.DataGridEndingNewRowEventArgs>(this.variableGrid_CommittingNewRow);
     
     #line default
     #line hidden
     
     #line 129 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.CurrentCellChanged += new System.EventHandler<C1.WPF.DataGrid.DataGridCellEventArgs>(this.variableGrid_CurrentCellChanged);
     
     #line default
     #line hidden
     
     #line 130 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.DeletingRows += new System.EventHandler<C1.WPF.DataGrid.DataGridDeletingRowsEventArgs>(this.variableGrid_DeletingRows);
     
     #line default
     #line hidden
     
     #line 131 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.RowsDeleted += new System.EventHandler<C1.WPF.DataGrid.DataGridRowsDeletedEventArgs>(this.variableGrid_RowsDeleted);
     
     #line default
     #line hidden
     
     #line 132 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.LoadedRowHeaderPresenter += new System.EventHandler<C1.WPF.DataGrid.DataGridRowEventArgs>(this.variableGrid_LoadedRowHeaderPresenter);
     
     #line default
     #line hidden
     
     #line 133 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.variableGrid_PreviewMouseRightButtonDown);
     
     #line default
     #line hidden
     
     #line 135 "..\..\..\Windows\DataPanel.xaml"
     this.variableGrid.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.variableGrid_ContextMenuOpening);
     
     #line default
     #line hidden
     return;
     case 9:
     this._addfactorlevel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 148 "..\..\..\Windows\DataPanel.xaml"
     this._addfactorlevel.Click += new System.Windows.RoutedEventHandler(this._addfactorlevel_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this._changelabel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 149 "..\..\..\Windows\DataPanel.xaml"
     this._changelabel.Click += new System.Windows.RoutedEventHandler(this._changelabel_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this._makeFactor = ((System.Windows.Controls.MenuItem)(target));
     
     #line 150 "..\..\..\Windows\DataPanel.xaml"
     this._makeFactor.Click += new System.Windows.RoutedEventHandler(this._makeFactor_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this._nomToOrd = ((System.Windows.Controls.MenuItem)(target));
     
     #line 152 "..\..\..\Windows\DataPanel.xaml"
     this._nomToOrd.Click += new System.Windows.RoutedEventHandler(this._nomToOrd_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this._ordToNom = ((System.Windows.Controls.MenuItem)(target));
     
     #line 153 "..\..\..\Windows\DataPanel.xaml"
     this._ordToNom.Click += new System.Windows.RoutedEventHandler(this._ordToNom_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this._insertNewVar = ((System.Windows.Controls.MenuItem)(target));
     
     #line 154 "..\..\..\Windows\DataPanel.xaml"
     this._insertNewVar.Click += new System.Windows.RoutedEventHandler(this._insertNewVar_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this._insertNewVarAtEnd = ((System.Windows.Controls.MenuItem)(target));
     
     #line 155 "..\..\..\Windows\DataPanel.xaml"
     this._insertNewVarAtEnd.Click += new System.Windows.RoutedEventHandler(this._insertNewVarAtEnd_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this._deleteVar = ((System.Windows.Controls.MenuItem)(target));
     
     #line 156 "..\..\..\Windows\DataPanel.xaml"
     this._deleteVar.Click += new System.Windows.RoutedEventHandler(this._deleteVar_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.statusbar = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }