void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ppEmoje = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 2: this.bdEmoje = ((System.Windows.Controls.Border)(target)); return; case 3: this.ppMember = ((IMCustomControls.Controls.PopupEx)(target)); return; case 4: this.listMember = ((System.Windows.Controls.ListBox)(target)); return; case 6: this.btnEmoji = ((IMCustomControls.PopupToggleButton)(target)); return; case 7: this.btnImage = ((System.Windows.Controls.Button)(target)); #line 71 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.btnImage.Click += new System.Windows.RoutedEventHandler(this.btnImage_Click); #line default #line hidden return; case 8: this.btnClip = ((System.Windows.Controls.Button)(target)); #line 72 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.btnClip.Click += new System.Windows.RoutedEventHandler(this.btnClip_Click); #line default #line hidden return; case 9: this.btnFile = ((System.Windows.Controls.Button)(target)); #line 73 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.btnFile.Click += new System.Windows.RoutedEventHandler(this.btnFile_Click); #line default #line hidden return; case 10: this.btnEvaluate = ((System.Windows.Controls.Button)(target)); #line 75 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.btnEvaluate.Click += new System.Windows.RoutedEventHandler(this.btnEvaluate_Click); #line default #line hidden return; case 11: this.btnStopSession = ((System.Windows.Controls.Button)(target)); #line 76 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.btnStopSession.Click += new System.Windows.RoutedEventHandler(this.btnStopSession_Click); #line default #line hidden return; case 12: this.btnChangeSession = ((System.Windows.Controls.Button)(target)); #line 77 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.btnChangeSession.Click += new System.Windows.RoutedEventHandler(this.btnChangeSession_Click); #line default #line hidden return; case 13: this.richBox = ((System.Windows.Controls.RichTextBox)(target)); return; case 14: this.cmMenu = ((System.Windows.Controls.ContextMenu)(target)); #line 94 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.cmMenu.Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened); #line default #line hidden #line 94 "..\..\..\..\Views\Controls\MessageEditor.xaml" this.cmMenu.AddHandler(System.Windows.Controls.MenuItem.ClickEvent, new System.Windows.RoutedEventHandler(this.ContextMenu_Click)); #line default #line hidden return; case 15: this.miCut = ((System.Windows.Controls.MenuItem)(target)); return; case 16: this.miCopy = ((System.Windows.Controls.MenuItem)(target)); return; case 17: this.miPaste = ((System.Windows.Controls.MenuItem)(target)); return; case 18: this.miImgSaveAs = ((System.Windows.Controls.MenuItem)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.login = ((CSClient.LoginWindow)(target)); return; case 2: this.gridLayout = ((System.Windows.Controls.Grid)(target)); return; case 3: this.popupLoginers = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 4: this.gridHisList = ((System.Windows.Controls.Grid)(target)); return; case 5: this.btnMin = ((System.Windows.Controls.Button)(target)); #line 123 "..\..\LoginWindow.xaml" this.btnMin.Click += new System.Windows.RoutedEventHandler(this.btnMin_Click); #line default #line hidden return; case 6: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 124 "..\..\LoginWindow.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 7: this.btnLoginUser = ((IMCustomControls.PopupToggleButton)(target)); return; case 8: this.elpRing = ((System.Windows.Shapes.Ellipse)(target)); return; case 9: this.rotateRing = ((System.Windows.Media.RotateTransform)(target)); return; case 10: this.tbAccount = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.cbLogining = ((System.Windows.Controls.CheckBox)(target)); return; case 12: this.BeginLoading = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; } this._contentLoaded = true; }
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; }
public static void OnPopupPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PopupToggleButton ptb = d as PopupToggleButton; ptb.SetPopup(e.NewValue as Popup); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.login = ((IMClient.LoginWindow)(target)); return; case 2: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\LoginWindow.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 3: this.gridLayout = ((System.Windows.Controls.Grid)(target)); return; case 4: this.btnLoginUser = ((IMCustomControls.PopupToggleButton)(target)); return; case 5: this.gridHead = ((System.Windows.Controls.Grid)(target)); return; case 6: this.elpRing = ((System.Windows.Shapes.Ellipse)(target)); return; case 7: this.rotateRing = ((System.Windows.Media.RotateTransform)(target)); return; case 8: this.btnLogin = ((System.Windows.Controls.Button)(target)); return; case 9: this.cbLogining = ((System.Windows.Controls.CheckBox)(target)); return; case 10: this.BeginLoading = ((System.Windows.Media.Animation.BeginStoryboard)(target)); return; case 11: this.sp_Error = ((System.Windows.Controls.StackPanel)(target)); return; case 12: this.BdIcon = ((System.Windows.Controls.Border)(target)); return; case 13: this.pathIcon = ((System.Windows.Controls.Image)(target)); return; case 14: this.txb_ErrorTip = ((System.Windows.Controls.TextBlock)(target)); return; case 15: this.txb_Delete = ((System.Windows.Controls.TextBlock)(target)); return; case 16: this.sp_Error2 = ((System.Windows.Controls.StackPanel)(target)); return; case 17: this.bd_Error = ((System.Windows.Controls.Border)(target)); return; case 18: this.img_Error = ((System.Windows.Controls.Image)(target)); return; case 19: this.controlQR = ((System.Windows.Controls.ContentControl)(target)); return; } this._contentLoaded = true; }