Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cboContacts = ((System.Windows.Controls.ComboBox)(target));

            #line 18 "..\..\Window1.xaml"
                this.cboContacts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboContacts_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.lyncPresence = ((Microsoft.Lync.Controls.PresenceIndicator)(target));
                return;

            case 3:
                this.lyncStartMessage = ((Microsoft.Lync.Controls.StartInstantMessagingButton)(target));
                return;

            case 4:
                this.btnConversationStart = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\Window1.xaml"
                this.btnConversationStart.Click += new System.Windows.RoutedEventHandler(this.btnConversationStart_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.lyncCustomList = ((Microsoft.Lync.Controls.CustomContactList)(target));
                return;

            case 6:
                this.formHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 7:
                this.formPanel = ((System.Windows.Forms.Panel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Presence = ((Microsoft.Lync.Controls.PresenceIndicator)(target));
                return;

            case 2:
                this.sendFileButton1 = ((Microsoft.Lync.Controls.SendFileButton)(target));
                return;

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

            #line 25 "..\..\Window1.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\Window1.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\Window1.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.button4 = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\Window1.xaml"
                this.button4.Click += new System.Windows.RoutedEventHandler(this.button4_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.HistoryButton = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\Window1.xaml"
                this.HistoryButton.Click += new System.Windows.RoutedEventHandler(this.HistoryButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.presenceIndicator = ((Microsoft.Lync.Controls.PresenceIndicator)(target));
     return;
     case 2:
     this.secondaryLabUser = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.txtNewSipUri = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.btnTransferCall = ((System.Windows.Controls.Button)(target));
     
     #line 29 "..\..\Window1.xaml"
     this.btnTransferCall.Click += new System.Windows.RoutedEventHandler(this.btnTransferCall_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.contactList = ((Microsoft.Lync.Controls.ContactList)(target));
     return;
     case 6:
     this.contactSearch = ((Microsoft.Lync.Controls.ContactSearch)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.accountsList = ((System.Windows.Controls.ListBox)(target));
     
     #line 17 "..\..\Window1.xaml"
     this.accountsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.accountsList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.secondaryLabUser = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.presenceIndicator = ((Microsoft.Lync.Controls.PresenceIndicator)(target));
     return;
     case 4:
     this.startInstantMessagingButton = ((Microsoft.Lync.Controls.StartInstantMessagingButton)(target));
     return;
     case 5:
     this.startAudioCallButton = ((Microsoft.Lync.Controls.StartAudioCallButton)(target));
     return;
     }
     this._contentLoaded = true;
 }