void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtFrom = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 2:
                this.txtTo = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 3:

            #line 30 "..\..\..\..\Controls\StatusHistoryViewer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 31 "..\..\..\..\Controls\StatusHistoryViewer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

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

            case 6:
                this.busyIndicator = ((Squiggle.UI.Controls.BusyIndicator)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\Controls\ChatHistoryViewer.xaml"
                ((Squiggle.UI.Controls.ChatHistoryViewer)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.UserControl_GotFocus);

            #line default
            #line hidden
                return;

            case 2:
                this.txtFrom = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 3:
                this.txtTo = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.txtMessage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:

            #line 29 "..\..\..\..\Controls\ChatHistoryViewer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 30 "..\..\..\..\Controls\ChatHistoryViewer.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.results = ((System.Windows.Controls.ListView)(target));

            #line 32 "..\..\..\..\Controls\ChatHistoryViewer.xaml"
                this.results.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.results_MouseDoubleClick);

            #line default
            #line hidden

            #line 32 "..\..\..\..\Controls\ChatHistoryViewer.xaml"
                this.results.ContextMenuOpening += new System.Windows.Controls.ContextMenuEventHandler(this.results_ContextMenuOpening);

            #line default
            #line hidden
                return;

            case 8:
                this.deleteMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 35 "..\..\..\..\Controls\ChatHistoryViewer.xaml"
                this.deleteMenuItem.Click += new System.Windows.RoutedEventHandler(this.Delete_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.busyIndicator = ((Squiggle.UI.Controls.BusyIndicator)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.trayIcon = ((Hardcodet.Wpf.TaskbarNotification.TaskbarIcon)(target));
                return;

            case 3:

            #line 79 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenMenu_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 81 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.StatusMenu_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 84 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SignOutMenu_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 86 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.QuiteMenu_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 100 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SignOutMenu_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 105 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.StatusMenu_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 107 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenReceivedFilesMenu_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 109 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseMenu_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 112 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SendMessageMenu_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 113 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SendBroadcastMessageMenu_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 114 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SendFileMenu_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.mnuGroupBuddies = ((System.Windows.Controls.MenuItem)(target));

            #line 117 "..\..\..\..\Windows\MainWindow.xaml"
                this.mnuGroupBuddies.Click += new System.Windows.RoutedEventHandler(this.GroupMenu_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.mnuSortByName = ((System.Windows.Controls.MenuItem)(target));

            #line 119 "..\..\..\..\Windows\MainWindow.xaml"
                this.mnuSortByName.Click += new System.Windows.RoutedEventHandler(this.SortMenu_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.mnuSortByStatus = ((System.Windows.Controls.MenuItem)(target));

            #line 120 "..\..\..\..\Windows\MainWindow.xaml"
                this.mnuSortByStatus.Click += new System.Windows.RoutedEventHandler(this.SortMenu_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 122 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.HistoryViewerMenu_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 123 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SettingsMenu_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 126 "..\..\..\..\Windows\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AboutMenu_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.chatControl = ((Squiggle.UI.Controls.ChatClientControl)(target));
                return;

            case 21:
                this.busyIndicator = ((Squiggle.UI.Controls.BusyIndicator)(target));
                return;
            }
            this._contentLoaded = true;
        }