/// <summary>
 /// Triggers the language change event.
 /// </summary>
 /// <param name="languageSymbol">The language symbol.</param>
 protected void TriggerLanguageChange(string languageSymbol)
 {
     if (Form1.onLanguageChanged != null)
     {
         LanguageArgs args = new LanguageArgs(languageSymbol);
         Form1.onLanguageChanged(this, args);
     }
 }
    /// <summary>
    /// The function that was regidtered to the event
    /// </summary>
    /// <param name="sender">The sender.</param>
    /// <param name="e">The e.</param>
    void BaseLanguageForm_onLanguageChanged(object sender, LanguageArgs e)
    {
        string lang = e.LanguageSymbol;

        foreach (Control c in this.Controls)
        {
            ComponentResourceManager crm = new ComponentResourceManager(typeof(Form1));
            crm.ApplyResources(c, c.Name, new CultureInfo(lang));
        }
    }