public BasicFirewallControl(BasicFirewallModule basicfirewall)
 {
     this.basicfirewall = basicfirewall;
     InitializeComponent();
 }
        public BasicFirewallControl(BasicFirewallModule basicfirewall) : base()
        {
            Language lang = Language.ENGLISH;

            multistring.SetString(lang, "Add Rule", "Add Rule");
            multistring.SetString(lang, "Edit Rule", "Edit Rule");
            multistring.SetString(lang, "Remove Rule", "Remove Rule");
            multistring.SetString(lang, "Move Down", "Move Down");
            multistring.SetString(lang, "Move Up", "Move Up");

            lang = Language.CHINESE;
            multistring.SetString(lang, "Add Rule", "添加规则");
            multistring.SetString(lang, "Remove Rule", "删除规则");
            multistring.SetString(lang, "Move Down", "向下移动");
            multistring.SetString(lang, "Move Up", "向上移动");
            multistring.SetString(lang, "Edit Rule", "编辑规则");

            lang = Language.DUTCH;
            multistring.SetString(lang, "Add Rule", "Regel toevoegen");
            multistring.SetString(lang, "Remove Rule", "Regel verwijderen");
            multistring.SetString(lang, "Move Down", "Omlaag verplaatsen");
            multistring.SetString(lang, "Move Up", "Omhoog");
            multistring.SetString(lang, "Edit Rule", "Regel bewerken");

            lang = Language.FRENCH;
            multistring.SetString(lang, "Add Rule", "Ajoutez la règle");
            multistring.SetString(lang, "Remove Rule", "Supprimer la règle");
            multistring.SetString(lang, "Move Down", "Déplacer vers le bas");
            multistring.SetString(lang, "Move Up", "Déplacez vers le haut");
            multistring.SetString(lang, "Edit Rule", "Modifier la règle");

            lang = Language.GERMAN;
            multistring.SetString(lang, "Add Rule", "Regel hinzufügen");
            multistring.SetString(lang, "Remove Rule", "Regel entfernen");
            multistring.SetString(lang, "Move Down", "Nach unten");
            multistring.SetString(lang, "Move Up", "Nach oben");
            multistring.SetString(lang, "Edit Rule", "Regel bearbeiten");

            lang = Language.HEBREW;
            multistring.SetString(lang, "Add Rule", "הוספת כלל");
            multistring.SetString(lang, "Remove Rule", "הסרת כלל");
            multistring.SetString(lang, "Move Down", "הזז למטה");
            multistring.SetString(lang, "Move Up", "הזז למעלה");
            multistring.SetString(lang, "Edit Rule", "עריכת כלל");

            lang = Language.ITALIAN;
            multistring.SetString(lang, "Add Rule", "Aggiungi regola");
            multistring.SetString(lang, "Remove Rule", "Rimuovere regola");
            multistring.SetString(lang, "Move Down", "Spostare verso il basso");
            multistring.SetString(lang, "Move Up", "Spostarsi verso l'alto");
            multistring.SetString(lang, "Edit Rule", "Modifica regola");

            lang = Language.JAPANESE;
            multistring.SetString(lang, "Add Rule", "ルールを追加します。");
            multistring.SetString(lang, "Remove Rule", "規則を削除します。");
            multistring.SetString(lang, "Move Down", "下に移動します。");
            multistring.SetString(lang, "Move Up", "上に移動します。");
            multistring.SetString(lang, "Edit Rule", "規則を編集します。");

            lang = Language.PORTUGUESE;
            multistring.SetString(lang, "Add Rule", "Adicionar regra");
            multistring.SetString(lang, "Remove Rule", "Remover regra");
            multistring.SetString(lang, "Move Down", "Mover para baixo");
            multistring.SetString(lang, "Move Up", "Mover para cima");
            multistring.SetString(lang, "Edit Rule", "Editar regra");

            lang = Language.RUSSIAN;
            multistring.SetString(lang, "Add Rule", "Добавить правило");
            multistring.SetString(lang, "Remove Rule", "Удаление правила");
            multistring.SetString(lang, "Move Down", "Переместить вниз");
            multistring.SetString(lang, "Move Up", "Переместить вверх");
            multistring.SetString(lang, "Edit Rule", "Изменение правила");

            lang = Language.SPANISH;
            multistring.SetString(lang, "Add Rule", "Agregar regla");
            multistring.SetString(lang, "Remove Rule", "Eliminar regla");
            multistring.SetString(lang, "Move Down", "Mover hacia abajo");
            multistring.SetString(lang, "Move Up", "Mover hacia arriba");
            multistring.SetString(lang, "Edit Rule", "Editar regla");

            this.basicfirewall = basicfirewall;
            InitializeComponent();
        }
 public BasicFirewallControl(BasicFirewallModule basicfirewall)
 {
     this.basicfirewall = basicfirewall;            
     InitializeComponent();
 }
        public BasicFirewallControl(BasicFirewallModule basicfirewall):base()
        {
            Language lang = Language.ENGLISH;
            multistring.SetString(lang, "Add Rule", "Add Rule");
            multistring.SetString(lang, "Edit Rule", "Edit Rule");
            multistring.SetString(lang, "Remove Rule", "Remove Rule");
            multistring.SetString(lang, "Move Down", "Move Down");
            multistring.SetString(lang, "Move Up", "Move Up");

            lang = Language.CHINESE;
            multistring.SetString(lang, "Add Rule", "添加规则");
            multistring.SetString(lang, "Remove Rule", "删除规则");
            multistring.SetString(lang, "Move Down", "向下移动");
            multistring.SetString(lang, "Move Up", "向上移动");
            multistring.SetString(lang, "Edit Rule", "编辑规则");

            lang = Language.DUTCH;
            multistring.SetString(lang, "Add Rule", "Regel toevoegen");
            multistring.SetString(lang, "Remove Rule", "Regel verwijderen");
            multistring.SetString(lang, "Move Down", "Omlaag verplaatsen");
            multistring.SetString(lang, "Move Up", "Omhoog");
            multistring.SetString(lang, "Edit Rule", "Regel bewerken");

            lang = Language.FRENCH;
            multistring.SetString(lang, "Add Rule", "Ajoutez la règle");
            multistring.SetString(lang, "Remove Rule", "Supprimer la règle");
            multistring.SetString(lang, "Move Down", "Déplacer vers le bas");
            multistring.SetString(lang, "Move Up", "Déplacez vers le haut");
            multistring.SetString(lang, "Edit Rule", "Modifier la règle");

            lang = Language.GERMAN;
            multistring.SetString(lang, "Add Rule", "Regel hinzufügen");
            multistring.SetString(lang, "Remove Rule", "Regel entfernen");
            multistring.SetString(lang, "Move Down", "Nach unten");
            multistring.SetString(lang, "Move Up", "Nach oben");
            multistring.SetString(lang, "Edit Rule", "Regel bearbeiten");

            lang = Language.HEBREW;
            multistring.SetString(lang, "Add Rule", "הוספת כלל");
            multistring.SetString(lang, "Remove Rule", "הסרת כלל");
            multistring.SetString(lang, "Move Down", "הזז למטה");
            multistring.SetString(lang, "Move Up", "הזז למעלה");
            multistring.SetString(lang, "Edit Rule", "עריכת כלל");

            lang = Language.ITALIAN;
            multistring.SetString(lang, "Add Rule", "Aggiungi regola");
            multistring.SetString(lang, "Remove Rule", "Rimuovere regola");
            multistring.SetString(lang, "Move Down", "Spostare verso il basso");
            multistring.SetString(lang, "Move Up", "Spostarsi verso l'alto");
            multistring.SetString(lang, "Edit Rule", "Modifica regola");

            lang = Language.JAPANESE;
            multistring.SetString(lang, "Add Rule", "ルールを追加します。");
            multistring.SetString(lang, "Remove Rule", "規則を削除します。");
            multistring.SetString(lang, "Move Down", "下に移動します。");
            multistring.SetString(lang, "Move Up", "上に移動します。");
            multistring.SetString(lang, "Edit Rule", "規則を編集します。");

            lang = Language.PORTUGUESE;
            multistring.SetString(lang, "Add Rule", "Adicionar regra");
            multistring.SetString(lang, "Remove Rule", "Remover regra");
            multistring.SetString(lang, "Move Down", "Mover para baixo");
            multistring.SetString(lang, "Move Up", "Mover para cima");
            multistring.SetString(lang, "Edit Rule", "Editar regra");

            lang = Language.RUSSIAN;
            multistring.SetString(lang, "Add Rule", "Добавить правило");
            multistring.SetString(lang, "Remove Rule", "Удаление правила");
            multistring.SetString(lang, "Move Down", "Переместить вниз");
            multistring.SetString(lang, "Move Up", "Переместить вверх");
            multistring.SetString(lang, "Edit Rule", "Изменение правила");

            lang = Language.SPANISH;
            multistring.SetString(lang, "Add Rule", "Agregar regla");
            multistring.SetString(lang, "Remove Rule", "Eliminar regla");
            multistring.SetString(lang, "Move Down", "Mover hacia abajo");
            multistring.SetString(lang, "Move Up", "Mover hacia arriba");
            multistring.SetString(lang, "Edit Rule", "Editar regla");

            this.basicfirewall = basicfirewall;
            InitializeComponent();
        }