private void btnsave_Click(object sender, EventArgs e) { savesettings(); //writes to ini ProjectPhale f1 = (ProjectPhale)Application.OpenForms["ProjectPhale"]; f1.loadsettings(); //loads new settings into RAM this.Close(); }
private void textBox13_TextChanged(object sender, EventArgs e) { ProjectPhale f1 = (ProjectPhale)Application.OpenForms["Form1"]; f1.Opacity = (Convert.ToDouble(textBox13.Text) / 100); }