Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Kill_Processes = ((UserControls.KillProcessWindow)(target));
                return;

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

            #line 9 "..\..\KillProcessWindow.xaml"
                this.btnKill.Click += new System.Windows.RoutedEventHandler(this.btnKill_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.lstbxProcesses = ((System.Windows.Controls.ListBox)(target));

            #line 11 "..\..\KillProcessWindow.xaml"
                this.lstbxProcesses.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstbxProcesses_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Kill_Processes = ((UserControls.KillProcessWindow)(target));
     return;
     case 2:
     this.btnKill = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\KillProcessWindow.xaml"
     this.btnKill.Click += new System.Windows.RoutedEventHandler(this.btnKill_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.lstbxProcesses = ((System.Windows.Controls.ListBox)(target));
     
     #line 11 "..\..\KillProcessWindow.xaml"
     this.lstbxProcesses.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lstbxProcesses_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }