private void Form3_Activated(object sender, EventArgs e) { MoneyOperation money = new MoneyOperation(); label1.Text = "Денежные средства: " + money.RefreshCount() + " рублей."; money.UpdateCurrentCourse(); }
private void Form3_Load(object sender, EventArgs e) { MoneyOperation money = new MoneyOperation(); label18.Text = ""; label19.Text = ""; timer1.Enabled = true; timer1.Interval = 1000; GraphCoursePaint(); label1.Text = "Денежные средства: " + money.RefreshCount() + " рублей."; money.UpdateCurrentCourse(); }