예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SubjectListUserControl = ((ES.UI.Setups.ucSubjectListView)(target));
                return;

            case 2:
                this.WindowHeader = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 31 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
                this.btnAddSubject.Click += new System.Windows.RoutedEventHandler(this.btnAddSubject_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnRefreshSubject = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
                this.btnRefreshSubject.Click += new System.Windows.RoutedEventHandler(this.btnRefreshSubject_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.gvSubjectListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
                return;

            case 6:

            #line 72 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 77 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMDelete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SubjectListUserControl = ((ES.UI.Setups.ucSubjectListView)(target));
     return;
     case 2:
     this.WindowHeader = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.btnAddSubject = ((System.Windows.Controls.Button)(target));
     
     #line 31 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
     this.btnAddSubject.Click += new System.Windows.RoutedEventHandler(this.btnAddSubject_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnRefreshSubject = ((System.Windows.Controls.Button)(target));
     
     #line 42 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
     this.btnRefreshSubject.Click += new System.Windows.RoutedEventHandler(this.btnRefreshSubject_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.gvSubjectListView = ((ExtendedGrid.ExtendedGridControl.ExtendedDataGrid)(target));
     return;
     case 6:
     
     #line 72 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMEdit_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 77 "..\..\..\..\..\..\Setups\Setting\Subject\ucSubjectListView.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btnCMDelete_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }