private void AverageDaily() { Classes.Posts Last30DaysToAverage = new Classes.Posts(); Last30DaysToAverage.useremail = user.email; float balance = Last30DaysToAverage.ReadLastMonth(user.userId); AverageDailyVar.Text = (balance / 30).ToString(); }
private void Last30Days() { Classes.Posts Last30Days = new Classes.Posts(); Last30Days.useremail = user.email; float balance = Last30Days.ReadLastMonth(user.userId); GaugeVar.Value = balance; LastMonthBalanceVar.Text = balance.ToString(); }