private void btnReportMenu_Click(object sender, EventArgs e) { if (user.getType() == 0) { timerForReportMenu.Start(); } else { MessageBox.Show("You don't have permision to do this funtion"); } }