Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AllList = ((PasswordSaver.AllListWindow)(target));

            #line 5 "..\..\AllListWindow.xaml"
                this.AllList.Closing += new System.ComponentModel.CancelEventHandler(this.AllList_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.AllListBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 8 "..\..\AllListWindow.xaml"
                this.Save_btn.Click += new System.Windows.RoutedEventHandler(this.Save_btn_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.AllList = ((PasswordSaver.AllListWindow)(target));
     
     #line 5 "..\..\AllListWindow.xaml"
     this.AllList.Closing += new System.ComponentModel.CancelEventHandler(this.AllList_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.AllListBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.Save_btn = ((System.Windows.Controls.Button)(target));
     
     #line 8 "..\..\AllListWindow.xaml"
     this.Save_btn.Click += new System.Windows.RoutedEventHandler(this.Save_btn_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }