private void btAddLower_Click(object sender, RoutedEventArgs e)
 {
     LowerWindow lw = new LowerWindow();
     lw.Closed += (s, er) =>
     {
         if ((bool)lw.DialogResult == true)
         {
             btRefreshList_Click(null, null);
         }
     };
     lw.ShowAddWindow(user.Bonus);
 }
 private void EditLower_Click(object sender, RoutedEventArgs e)
 {
     LowerWindow lw = new LowerWindow();
     lw.Closed += (s, er) =>
     {
         if ((bool)lw.DialogResult == true)
         {
             btRefreshList_Click(null, null);
         }
     };
     Button bt = sender as Button;
     lw.ShowEditWindow(Convert.ToInt64(bt.Tag.ToString()),user.Bonus);
 }