title: Changing background color of all forms in winform application
body: <p>I have BaseForm Class like this that is inheriting Form Class</p>
  
  <pre><code> public partial class BaseForm : Form
   {
      protected override void OnLoad(EventArgs e)
      {
         Color colBackColor =Properties.Settings.Default.FormsBackgroundColor;
         BackColor = colBackColor;
      }
    }
  </code></pre>
  
  <p>and MainForm class like this which is inheriting BaseForm Class. </p>
  
  <pre><code>public partial class MainForm : BaseForm
  {
      private void button1_Click_1(object sender, EventArgs e)
      {
              ColorDialog colorDlg = new ColorDialog();
              if (colorDlg.ShowDialog() == DialogResult.OK)
              {
                  Properties.Settings.Default.FormsBackgroundColor= colorDlg.Color;
                  Properties.Settings.Default.Save();
                  this.Refresh();
                  this.Invalidate();
              }
          }    
   }
  </code></pre>
  
  <p>When i click button1 on MainForm and choose color from the color dialog. The background color of MainForm doesn't change. What I am doing wrong?</p>
  
  <p>Btw color changes when i re-run the application. </p>