Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridLayout = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.menu = ((System.Windows.Controls.ContextMenu)(target));

            #line 16 "..\..\..\..\Views\Controls\ChatImage.xaml"
                this.menu.AddHandler(System.Windows.Controls.MenuItem.ClickEvent, new System.Windows.RoutedEventHandler(this.ContextMenu_Click));

            #line default
            #line hidden

            #line 16 "..\..\..\..\Views\Controls\ChatImage.xaml"
                this.menu.Opened += new System.Windows.RoutedEventHandler(this.menu_Opened);

            #line default
            #line hidden
                return;

            case 3:
                this.pathResend = ((System.Windows.Shapes.Path)(target));
                return;

            case 4:
                this.img = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.imgGif = ((IM.Emoje.Controls.GifImage)(target));
                return;

            case 6:
                this.gridFail = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.aniLoading = ((CSClient.Views.Controls.AnimationLoading)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.rbtnAll = ((System.Windows.Controls.RadioButton)(target));

            #line 25 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.rbtnAll.Checked += new System.Windows.RoutedEventHandler(this.Type_Checked);

            #line default
            #line hidden
                return;

            case 2:

            #line 26 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 27 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.Type_Checked);

            #line default
            #line hidden
                return;

            case 4:
                this.pbtnMore = ((IMCustomControls.PopupToggleButton)(target));
                return;

            case 5:
                this.ptbtnCalendar = ((IMCustomControls.PopupToggleButton)(target));
                return;

            case 6:
                this.ppMore = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 7:

            #line 38 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ppCalendar = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 9:
                this.calendar = ((System.Windows.Controls.Calendar)(target));

            #line 43 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.calendar.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar_SelectedDatesChanged);

            #line default
            #line hidden

            #line 43 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.calendar.AddHandler(System.Windows.ContentElement.PreviewMouseUpEvent, new System.Windows.Input.MouseButtonEventHandler(this.calendar_PreviewMouseUp));

            #line default
            #line hidden
                return;

            case 10:
                this.sv = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 11:
                this.rictBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 12:
                this.cmMenu = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 13:
                this.flowDoc = ((CSClient.Helper.FlowDocumentEx)(target));
                return;

            case 14:
                this.aniLoading = ((CSClient.Views.Controls.AnimationLoading)(target));
                return;
            }
            this._contentLoaded = true;
        }