void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnToggleSwitch = ((WpfAlarmClock.UserControlToggleSwitch)(target)); return; case 2: #line 12 "..\..\UserControlToggleSwitch.xaml" ((System.Windows.Shapes.Ellipse)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Switch_MouseLeftButtonDown); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\MainWindow.xaml" ((WpfAlarmClock.MainWindow)(target)).StateChanged += new System.EventHandler(this.Window_StateChanged); #line default #line hidden #line 8 "..\..\MainWindow.xaml" ((WpfAlarmClock.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 8 "..\..\MainWindow.xaml" ((WpfAlarmClock.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed); #line default #line hidden return; case 2: this.gridMainWindow = ((System.Windows.Controls.Grid)(target)); return; case 3: this.actualTime = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.buttonToggleSwitch = ((WpfAlarmClock.UserControlToggleSwitch)(target)); return; case 5: this.textToggleSwitchState = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.gridSettings = ((System.Windows.Controls.Grid)(target)); return; case 7: this.setHours = ((System.Windows.Controls.ComboBox)(target)); #line 57 "..\..\MainWindow.xaml" this.setHours.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.setHoursAndMinutes_SelectionChanged); #line default #line hidden return; case 8: this.setMinutes = ((System.Windows.Controls.ComboBox)(target)); #line 59 "..\..\MainWindow.xaml" this.setMinutes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.setHoursAndMinutes_SelectionChanged); #line default #line hidden return; case 9: this.SnoozeCheck = ((System.Windows.Controls.CheckBox)(target)); #line 62 "..\..\MainWindow.xaml" this.SnoozeCheck.Unchecked += new System.Windows.RoutedEventHandler(this.SnoozeCheck_Unchecked); #line default #line hidden #line 62 "..\..\MainWindow.xaml" this.SnoozeCheck.Checked += new System.Windows.RoutedEventHandler(this.SnoozeCheck_Checked); #line default #line hidden return; case 10: this.setSnooze = ((System.Windows.Controls.ComboBox)(target)); #line 64 "..\..\MainWindow.xaml" this.setSnooze.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.setSnooze_SelectionChanged); #line default #line hidden return; case 11: this.textAlarmSong = ((System.Windows.Controls.TextBox)(target)); return; case 12: #line 72 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SearchAlarmSong); #line default #line hidden return; case 13: this.sliderVolume = ((System.Windows.Controls.Slider)(target)); #line 75 "..\..\MainWindow.xaml" this.sliderVolume.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.Slider_ValueChanged); #line default #line hidden return; case 14: #line 78 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_SaveSettings); #line default #line hidden return; case 15: this.listAlarmCLock = ((System.Windows.Controls.ListView)(target)); return; } this._contentLoaded = true; }