public SettingsPanel(AreasPlugin ownerPlugin) { InitializeComponent(); _ownerPlugin = ownerPlugin; this.labelLevel.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_LEVEL); this.labelArea.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_AREA); this.labelParent.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_PARENT); this.label1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_PARENT); this.buttonAdd.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_ADDCREATE); this.buttonDelete.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_DELETE); this.buttonSetParent.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_SET); this.buttonRestore.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_RESTOREDEFAULT); comboBoxLevel.Items.AddRange(Enum.GetNames(typeof(Framework.Data.AreaType))); comboBoxLevel.SelectedIndex = 0; }