void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mAppIcon = ((BlueStacks.Common.CustomPictureBox)(target)); return; case 2: this.mAppTitle = ((System.Windows.Controls.TextBlock)(target)); return; case 3: this.mBellNotificationStatus = ((BlueStacks.Common.CustomToggleButtonWithState)(target)); #line 22 "..\..\..\..\controls\settingswindows\appnotificationstogglebutton.xaml" this.mBellNotificationStatus.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mBellNotificationStatus_PreviewMouseLeftButtonUp); #line default #line hidden return; case 4: this.mDesktopNotificationStatus = ((BlueStacks.Common.CustomToggleButtonWithState)(target)); #line 24 "..\..\..\..\controls\settingswindows\appnotificationstogglebutton.xaml" this.mDesktopNotificationStatus.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.mDesktopNotificationStatus_PreviewMouseLeftButtonUp); #line default #line hidden return; } this._contentLoaded = true; }
void IComponentConnector.Connect(int connectionId, object target) { if (connectionId == 1) { this.mCustomToggleButton = (CustomToggleButtonWithState)target; } else { this._contentLoaded = true; } }