title: How do I change the culture of a WinForms application at runtime
body: <p>I have created Windows Form Program in C#. I have some problems with localization. I have resource files in 2 languages(one is for english and another is for french). I want to click each language button and change language at runtime.</p>
  
  <p>But when i am clicking on button, it doesn't work. i am using this code.</p>
  
  <pre><code>private void btnfrench_Click(object sender, EventArgs e)
  {
      getlanguage("fr-FR");
  }
  
  private void getlanguage(string lan)
  {
      foreach (Control c in this.Controls)
      {
          ComponentResourceManager cmp = 
              new ComponentResourceManager(typeof(BanksForm));
          cmp.ApplyResources(c, c.Name, new CultureInfo(lan));
      }
  }
  </code></pre>
  
  <p>would any pls help on this......</p>
  
  <p>Many Thanks....</p>