コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PersonAdd = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
                this.PersonAdd.Click += new System.Windows.RoutedEventHandler(this.PersonAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
                this.PersonRemove.Click += new System.Windows.RoutedEventHandler(this.PersonRemove_Click);

            #line default
            #line hidden
                return;

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

            #line 10 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
                this.PersonCopy.Click += new System.Windows.RoutedEventHandler(this.PersonCopy_Click);

            #line default
            #line hidden
                return;

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

            #line 11 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
                this.PersonPaste.Click += new System.Windows.RoutedEventHandler(this.PersonPaste_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.PersonListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.MainPeron = ((Invert911.InvertCommon.Modules.Person.Person)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: Persons.g.i.cs プロジェクト: Nsobi/PoliceReports
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PersonAdd = ((System.Windows.Controls.Button)(target));
     
     #line 8 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
     this.PersonAdd.Click += new System.Windows.RoutedEventHandler(this.PersonAdd_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.PersonRemove = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
     this.PersonRemove.Click += new System.Windows.RoutedEventHandler(this.PersonRemove_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.PersonCopy = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
     this.PersonCopy.Click += new System.Windows.RoutedEventHandler(this.PersonCopy_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.PersonPaste = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\..\..\Modules\Common\Person\Persons.xaml"
     this.PersonPaste.Click += new System.Windows.RoutedEventHandler(this.PersonPaste_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.PersonListView = ((System.Windows.Controls.ListView)(target));
     return;
     case 6:
     this.MainPeron = ((Invert911.InvertCommon.Modules.Person.Person)(target));
     return;
     }
     this._contentLoaded = true;
 }