private void button8_Click(object sender, EventArgs e) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { AdministratorController.ImportMedication(openFileDialog1.FileName); MessageBox.Show("Success!"); } }