예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MainGrid = ((BigDaddy.MainDataGrid)(target));
         return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainGrid = ((BigDaddy.MainDataGrid)(target));

            #line 11 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                this.MainGrid.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.MainGrid_LoadingRow);

            #line default
            #line hidden

            #line 12 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                this.MainGrid.UnloadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.MainGrid_UnloadingRow);

            #line default
            #line hidden

            #line 13 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                this.MainGrid.RowEditEnding += new System.EventHandler <System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.MainGrid_RowEditEnding);

            #line default
            #line hidden
                return;

            case 2:

            #line 55 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CopyRowMenuItem_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 58 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CutRowMenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 61 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PasteBeforeRowMenuItem_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 64 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PasteAfterRowMenuItem_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }