private void btnLoadProfileOption_Click(object sender, EventArgs e) { ButtonPressed = "Load"; Form LoadProfileFrm = new LoadProfile(this); LoadProfileFrm.ShowDialog(); }