Exemplo 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.txtFind = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 4:
                this.aniLoading = ((IMClient.Views.Controls.AnimationLoading)(target));
                return;

            case 5:
                this.sv = ((System.Windows.Controls.ScrollViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
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.Forward = ((System.Windows.Controls.MenuItem)(target));
                return;

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

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

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

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

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

            case 9:
                this.gridLoading = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.aniLoading = ((IMClient.Views.Controls.AnimationLoading)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.layOut = ((IMClient.Views.Panels.GroupNoticeView)(target));
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.grid_LoadFail = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.hp_ReLoad = ((System.Windows.Documents.Hyperlink)(target));

            #line 48 "..\..\..\..\Views\Panels\GroupNoticeView.xaml"
                this.hp_ReLoad.Click += new System.Windows.RoutedEventHandler(this.hp_ReLoad_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.aniLoading = ((IMClient.Views.Controls.AnimationLoading)(target));
                return;

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

            case 7:
                this.gridLayout = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.bd_CreatorFirstNotice = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.hyper_Link = ((System.Windows.Documents.Hyperlink)(target));

            #line 97 "..\..\..\..\Views\Panels\GroupNoticeView.xaml"
                this.hyper_Link.Click += new System.Windows.RoutedEventHandler(this.hyper_Link_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.bd_OrdinaryFirstNotice = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.ic_AllNotice = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 14:
                this.bd_AddNotice = ((System.Windows.Controls.Button)(target));

            #line 234 "..\..\..\..\Views\Panels\GroupNoticeView.xaml"
                this.bd_AddNotice.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.bd_AddNotice_PreviewMouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        private static void OnIsStopPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AnimationLoading target = d as AnimationLoading;

            target.BeginOrStopAnimation();
        }
Exemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dp_TypesCheck = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.rbtnAll = ((System.Windows.Controls.RadioButton)(target));

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

            #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 5:
                this.pbtnMore = ((IMCustomControls.PopupToggleButton)(target));
                return;

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

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

            case 8:

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden

            #line 42 "..\..\..\..\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 11:
                this.sv = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            case 14:
                this.flowDoc = ((IMClient.Helper.FlowDocumentEx)(target));
                return;

            case 15:
                this.grid_LoadWithoutContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.grid_SearchWithoutContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.btn_BackToAll = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\..\..\Views\Panels\ChatHistoryView.xaml"
                this.btn_BackToAll.Click += new System.Windows.RoutedEventHandler(this.btn_BackToAll_Click);

            #line default
            #line hidden
                return;

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