Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.chatHistoryList = ((HadayIMWpfControls.WPFControls.ChatHistoryList)(target));
                return;

            case 2:

            #line 17 "..\..\..\..\WPFControls\Test\ChatHistoryListTest.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\ChatHistoryListTest.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click1);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 34 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Border)(target)).MouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);

            #line default
            #line hidden

            #line 34 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Border)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseDown);

            #line default
            #line hidden
                return;

            case 2:

            #line 40 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 3:

            #line 43 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 4:

            #line 46 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3);

            #line default
            #line hidden
                return;

            case 5:

            #line 49 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.chatNavigationList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 8:
                this.otherUser = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:

            #line 113 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4);

            #line default
            #line hidden
                return;

            case 10:

            #line 116 "..\..\..\..\WPFControls\Win\MessageManager.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5);

            #line default
            #line hidden
                return;

            case 11:
                this.chatHistoryList = ((HadayIMWpfControls.WPFControls.ChatHistoryList)(target));
                return;
            }
            this._contentLoaded = true;
        }