//添加余额 private void menuAddBalance_Click(object sender, RoutedEventArgs e) { BalanceWindow balance = new BalanceWindow(); balance.IsShowBalance = false; balance.ShowDialog(); }
//查看余额 private void menuShowBalance_Click(object sender, RoutedEventArgs e) { BalanceWindow balance = new BalanceWindow(); balance.IsShowBalance = true; balance.ShowDialog(); }