private void settingsButton_Click(object sender, EventArgs e) { Profilesettings settings = new Profilesettings(); settings.Show(); Hide(); }
private void settingsButton_Click(object sender, EventArgs e) { Profilesettings settings = new Profilesettings(); settings.Show(); Hide(); if (pictureBox1.Image != null) { pictureBox1.Image.Dispose(); pictureBox1.Image = null; } }
private void button2_Click(object sender, EventArgs e) { Profiles.Users.Profilesettings userprofileSettings = new Profiles.Users.Profilesettings(); userprofileSettings.Show(); Hide(); }