void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SessionUserControl = ((ES.UI.Setups.ucSessionListView)(target));
     return;
     case 2:
     this.btnAddSession = ((System.Windows.Controls.Button)(target));
     
     #line 36 "..\..\..\..\..\..\Setups\Setting\Session\ucSessionListView.xaml"
     this.btnAddSession.Click += new System.Windows.RoutedEventHandler(this.btnAddSession_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnRefreshSession = ((System.Windows.Controls.Button)(target));
     
     #line 47 "..\..\..\..\..\..\Setups\Setting\Session\ucSessionListView.xaml"
     this.btnRefreshSession.Click += new System.Windows.RoutedEventHandler(this.btnRefreshSession_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.gvSessionListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
     
     #line 60 "..\..\..\..\..\..\Setups\Setting\Session\ucSessionListView.xaml"
     this.gvSessionListView.RowEditEnding += new System.EventHandler<System.Windows.Controls.DataGridRowEditEndingEventArgs>(this.gvSessionListView_RowEditEnding);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 80 "..\..\..\..\..\..\Setups\Setting\Session\ucSessionListView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 85 "..\..\..\..\..\..\Setups\Setting\Session\ucSessionListView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMView_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 86 "..\..\..\..\..\..\Setups\Setting\Session\ucSessionListView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMDelete_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SessionUserControl = ((ES.UI.Setups.ucSessionListView)(target));
                return;

            case 2:
                this.btnAddSession = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\..\..\Setups\ucSessionListView.xaml"
                this.btnAddSession.Click += new System.Windows.RoutedEventHandler(this.btnAddSession_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnRefreshSession = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\..\..\Setups\ucSessionListView.xaml"
                this.btnRefreshSession.Click += new System.Windows.RoutedEventHandler(this.btnRefreshSession_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.gvSessionListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
                return;

            case 5:

            #line 76 "..\..\..\..\Setups\ucSessionListView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 81 "..\..\..\..\Setups\ucSessionListView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMView_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 82 "..\..\..\..\Setups\ucSessionListView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMDelete_Click);

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