private static void OnMarqueeParameterChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { Marquee marquee = sender as Marquee; if (marquee != null) { marquee.ResetAnimation(); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.add = ((System.Windows.Controls.MenuItem)(target)); #line 115 "..\..\Main.xaml" this.add.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 2: this.search = ((System.Windows.Controls.MenuItem)(target)); #line 116 "..\..\Main.xaml" this.search.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 3: this.delete = ((System.Windows.Controls.MenuItem)(target)); #line 117 "..\..\Main.xaml" this.delete.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 4: this.changeUser = ((System.Windows.Controls.MenuItem)(target)); #line 119 "..\..\Main.xaml" this.changeUser.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 5: this.exit = ((System.Windows.Controls.MenuItem)(target)); #line 120 "..\..\Main.xaml" this.exit.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 6: this.dataImport = ((System.Windows.Controls.MenuItem)(target)); #line 123 "..\..\Main.xaml" this.dataImport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 7: this.dataBackup = ((System.Windows.Controls.MenuItem)(target)); #line 124 "..\..\Main.xaml" this.dataBackup.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 8: this.dataRecover = ((System.Windows.Controls.MenuItem)(target)); #line 125 "..\..\Main.xaml" this.dataRecover.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 9: this.payExport = ((System.Windows.Controls.MenuItem)(target)); #line 128 "..\..\Main.xaml" this.payExport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 10: this.incomeExport = ((System.Windows.Controls.MenuItem)(target)); #line 129 "..\..\Main.xaml" this.incomeExport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 11: this.accessExport = ((System.Windows.Controls.MenuItem)(target)); #line 130 "..\..\Main.xaml" this.accessExport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 12: this.pay = ((System.Windows.Controls.MenuItem)(target)); #line 134 "..\..\Main.xaml" this.pay.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 13: this.income = ((System.Windows.Controls.MenuItem)(target)); #line 135 "..\..\Main.xaml" this.income.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 14: this.count = ((System.Windows.Controls.MenuItem)(target)); #line 136 "..\..\Main.xaml" this.count.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 15: this.familyFinance = ((System.Windows.Controls.MenuItem)(target)); return; case 16: this.assets = ((System.Windows.Controls.MenuItem)(target)); #line 139 "..\..\Main.xaml" this.assets.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 17: this.budget = ((System.Windows.Controls.MenuItem)(target)); #line 140 "..\..\Main.xaml" this.budget.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 18: this.alterInfo = ((System.Windows.Controls.MenuItem)(target)); #line 144 "..\..\Main.xaml" this.alterInfo.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 19: this.deleteUser = ((System.Windows.Controls.MenuItem)(target)); #line 145 "..\..\Main.xaml" this.deleteUser.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 20: this.message = ((System.Windows.Controls.MenuItem)(target)); #line 147 "..\..\Main.xaml" this.message.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 21: this.function = ((System.Windows.Controls.MenuItem)(target)); #line 151 "..\..\Main.xaml" this.function.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 22: this.calculator = ((System.Windows.Controls.MenuItem)(target)); #line 152 "..\..\Main.xaml" this.calculator.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 23: this.about = ((System.Windows.Controls.MenuItem)(target)); #line 153 "..\..\Main.xaml" this.about.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 24: this.tab = ((System.Windows.Controls.TabControl)(target)); return; case 25: this.p_New = ((System.Windows.Controls.Image)(target)); #line 177 "..\..\Main.xaml" this.p_New.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.New_Click); #line default #line hidden #line 177 "..\..\Main.xaml" this.p_New.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 177 "..\..\Main.xaml" this.p_New.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 26: this.p_Search = ((System.Windows.Controls.Image)(target)); #line 180 "..\..\Main.xaml" this.p_Search.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Search_Click); #line default #line hidden #line 180 "..\..\Main.xaml" this.p_Search.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 180 "..\..\Main.xaml" this.p_Search.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 27: this.p_Delete = ((System.Windows.Controls.Image)(target)); #line 183 "..\..\Main.xaml" this.p_Delete.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Delete_Click); #line default #line hidden #line 183 "..\..\Main.xaml" this.p_Delete.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 183 "..\..\Main.xaml" this.p_Delete.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 28: this.p_searchYear = ((System.Windows.Controls.ComboBox)(target)); return; case 29: this.p_searchMonth = ((System.Windows.Controls.ComboBox)(target)); return; case 30: this.p_searchName = ((System.Windows.Controls.ComboBox)(target)); return; case 31: this.pay_data = ((System.Windows.Controls.DataGrid)(target)); #line 197 "..\..\Main.xaml" this.pay_data.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.pay_data_LoadingRow); #line default #line hidden return; case 33: this.i_New = ((System.Windows.Controls.Image)(target)); #line 224 "..\..\Main.xaml" this.i_New.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.New_Click); #line default #line hidden #line 224 "..\..\Main.xaml" this.i_New.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 224 "..\..\Main.xaml" this.i_New.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 34: this.i_Search = ((System.Windows.Controls.Image)(target)); #line 227 "..\..\Main.xaml" this.i_Search.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Search_Click); #line default #line hidden #line 227 "..\..\Main.xaml" this.i_Search.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 227 "..\..\Main.xaml" this.i_Search.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 35: this.i_Delete = ((System.Windows.Controls.Image)(target)); #line 230 "..\..\Main.xaml" this.i_Delete.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Delete_Click); #line default #line hidden #line 230 "..\..\Main.xaml" this.i_Delete.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 230 "..\..\Main.xaml" this.i_Delete.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 36: this.i_searchYear = ((System.Windows.Controls.ComboBox)(target)); return; case 37: this.i_searchMonth = ((System.Windows.Controls.ComboBox)(target)); return; case 38: this.i_searchName = ((System.Windows.Controls.ComboBox)(target)); return; case 39: this.income_data = ((System.Windows.Controls.DataGrid)(target)); #line 244 "..\..\Main.xaml" this.income_data.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.income_data_LoadingRow); #line default #line hidden return; case 41: this.M_income = ((FFMS.Marquee)(target)); return; case 42: this.N_income = ((FFMS.Marquee)(target)); return; case 43: this.count_data = ((System.Windows.Controls.DataGrid)(target)); #line 309 "..\..\Main.xaml" this.count_data.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.count_data_LoadingRow); #line default #line hidden return; case 44: this.lblName = ((System.Windows.Controls.Label)(target)); return; case 45: this.lblTime = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.add = ((System.Windows.Controls.MenuItem)(target)); #line 115 "..\..\Main.xaml" this.add.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 2: this.search = ((System.Windows.Controls.MenuItem)(target)); #line 116 "..\..\Main.xaml" this.search.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 3: this.delete = ((System.Windows.Controls.MenuItem)(target)); #line 117 "..\..\Main.xaml" this.delete.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 4: this.changeUser = ((System.Windows.Controls.MenuItem)(target)); #line 119 "..\..\Main.xaml" this.changeUser.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 5: this.exit = ((System.Windows.Controls.MenuItem)(target)); #line 120 "..\..\Main.xaml" this.exit.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 6: this.dataImport = ((System.Windows.Controls.MenuItem)(target)); #line 123 "..\..\Main.xaml" this.dataImport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 7: this.dataBackup = ((System.Windows.Controls.MenuItem)(target)); #line 124 "..\..\Main.xaml" this.dataBackup.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 8: this.dataRecover = ((System.Windows.Controls.MenuItem)(target)); #line 125 "..\..\Main.xaml" this.dataRecover.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 9: this.payExport = ((System.Windows.Controls.MenuItem)(target)); #line 128 "..\..\Main.xaml" this.payExport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 10: this.incomeExport = ((System.Windows.Controls.MenuItem)(target)); #line 129 "..\..\Main.xaml" this.incomeExport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 11: this.accessExport = ((System.Windows.Controls.MenuItem)(target)); #line 130 "..\..\Main.xaml" this.accessExport.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 12: this.pay = ((System.Windows.Controls.MenuItem)(target)); #line 134 "..\..\Main.xaml" this.pay.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 13: this.income = ((System.Windows.Controls.MenuItem)(target)); #line 135 "..\..\Main.xaml" this.income.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 14: this.count = ((System.Windows.Controls.MenuItem)(target)); #line 136 "..\..\Main.xaml" this.count.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 15: this.familyFinance = ((System.Windows.Controls.MenuItem)(target)); return; case 16: this.assets = ((System.Windows.Controls.MenuItem)(target)); #line 139 "..\..\Main.xaml" this.assets.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 17: this.budget = ((System.Windows.Controls.MenuItem)(target)); #line 140 "..\..\Main.xaml" this.budget.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 18: this.alterInfo = ((System.Windows.Controls.MenuItem)(target)); #line 144 "..\..\Main.xaml" this.alterInfo.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 19: this.deleteUser = ((System.Windows.Controls.MenuItem)(target)); #line 145 "..\..\Main.xaml" this.deleteUser.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 20: this.message = ((System.Windows.Controls.MenuItem)(target)); #line 147 "..\..\Main.xaml" this.message.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 21: this.function = ((System.Windows.Controls.MenuItem)(target)); #line 151 "..\..\Main.xaml" this.function.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 22: this.calculator = ((System.Windows.Controls.MenuItem)(target)); #line 152 "..\..\Main.xaml" this.calculator.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 23: this.about = ((System.Windows.Controls.MenuItem)(target)); #line 153 "..\..\Main.xaml" this.about.Click += new System.Windows.RoutedEventHandler(this.menu_click); #line default #line hidden return; case 24: this.tab = ((System.Windows.Controls.TabControl)(target)); return; case 25: this.p_New = ((System.Windows.Controls.Image)(target)); #line 177 "..\..\Main.xaml" this.p_New.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.New_Click); #line default #line hidden #line 177 "..\..\Main.xaml" this.p_New.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 177 "..\..\Main.xaml" this.p_New.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 26: this.p_Search = ((System.Windows.Controls.Image)(target)); #line 180 "..\..\Main.xaml" this.p_Search.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Search_Click); #line default #line hidden #line 180 "..\..\Main.xaml" this.p_Search.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 180 "..\..\Main.xaml" this.p_Search.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 27: this.p_Delete = ((System.Windows.Controls.Image)(target)); #line 183 "..\..\Main.xaml" this.p_Delete.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Delete_Click); #line default #line hidden #line 183 "..\..\Main.xaml" this.p_Delete.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 183 "..\..\Main.xaml" this.p_Delete.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 28: this.p_searchYear = ((System.Windows.Controls.ComboBox)(target)); return; case 29: this.p_searchMonth = ((System.Windows.Controls.ComboBox)(target)); return; case 30: this.p_searchName = ((System.Windows.Controls.ComboBox)(target)); return; case 31: this.pay_data = ((System.Windows.Controls.DataGrid)(target)); #line 197 "..\..\Main.xaml" this.pay_data.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.pay_data_LoadingRow); #line default #line hidden return; case 33: this.i_New = ((System.Windows.Controls.Image)(target)); #line 224 "..\..\Main.xaml" this.i_New.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.New_Click); #line default #line hidden #line 224 "..\..\Main.xaml" this.i_New.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 224 "..\..\Main.xaml" this.i_New.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 34: this.i_Search = ((System.Windows.Controls.Image)(target)); #line 227 "..\..\Main.xaml" this.i_Search.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Search_Click); #line default #line hidden #line 227 "..\..\Main.xaml" this.i_Search.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 227 "..\..\Main.xaml" this.i_Search.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 35: this.i_Delete = ((System.Windows.Controls.Image)(target)); #line 230 "..\..\Main.xaml" this.i_Delete.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Delete_Click); #line default #line hidden #line 230 "..\..\Main.xaml" this.i_Delete.MouseEnter += new System.Windows.Input.MouseEventHandler(this.Image_Enter); #line default #line hidden #line 230 "..\..\Main.xaml" this.i_Delete.MouseLeave += new System.Windows.Input.MouseEventHandler(this.Image_Leave); #line default #line hidden return; case 36: this.i_searchYear = ((System.Windows.Controls.ComboBox)(target)); return; case 37: this.i_searchMonth = ((System.Windows.Controls.ComboBox)(target)); return; case 38: this.i_searchName = ((System.Windows.Controls.ComboBox)(target)); return; case 39: this.income_data = ((System.Windows.Controls.DataGrid)(target)); #line 244 "..\..\Main.xaml" this.income_data.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.income_data_LoadingRow); #line default #line hidden return; case 41: this.M_income = ((FFMS.Marquee)(target)); return; case 42: this.N_income = ((FFMS.Marquee)(target)); return; case 43: this.count_data = ((System.Windows.Controls.DataGrid)(target)); #line 309 "..\..\Main.xaml" this.count_data.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.count_data_LoadingRow); #line default #line hidden return; case 44: this.lblName = ((System.Windows.Controls.Label)(target)); return; case 45: this.lblTime = ((System.Windows.Controls.Label)(target)); return; } this._contentLoaded = true; }