private void btnincome_Click(object sender, EventArgs e) { panIcon.Visible = false; pantodayicon.Top = btnincome.Top; pantodayicon.Visible = true; pantodayicon.Visible = true; Expenses exp = new Expenses(); exp.getExpense(); TodayIncome TI = new TodayIncome(); TI.ShowDialog(); }