Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\WPFControls\Test\ChatWindow.xaml"
                ((HadayIMWpfControls.WPFControls.Win.ChatWindow)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.Window_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.chatList = ((HadayIMWpfControls.WPFControls.ChatList)(target));
                return;

            case 3:

            #line 23 "..\..\..\..\WPFControls\Test\ChatWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 4:

            #line 24 "..\..\..\..\WPFControls\Test\ChatWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 5:

            #line 25 "..\..\..\..\WPFControls\Test\ChatWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 6:
                this.chatNavigationList = ((HadayIMWpfControls.WPFControls.ChatNavigationList)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.chatList = ((HadayIMWpfControls.WPFControls.ChatList)(target));
                return;

            case 2:

            #line 17 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 18 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 4:

            #line 19 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 5:

            #line 20 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 6:

            #line 21 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 7:

            #line 22 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

            case 8:

            #line 23 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6);

            #line default
            #line hidden
                return;

            case 9:
                this.textBox = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\..\..\WPFControls\Test\ChatListTest.xaml"
                this.textBox.Loaded += new System.Windows.RoutedEventHandler(this.textBox_Loaded);

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