private void btnEarnings_Click(object sender, EventArgs e) { Profits profits = new Profits(db); profits.ShowDialog(); }