private void importProfilesBtn_Click(object sender, EventArgs e) { ProfileManagementFunctions classObject = new ProfileManagementFunctions(); classObject.ImportProfiles(openFileDialog1); load_data(); }