Converte para vb.net: using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Windows.Forms;
using WebServer.NAME_1;
using WebServer.Libraries;
using WebServer.Libraries.Config;

namespace WebServer.Forms
{
    public partial class frmMain : Form
    {
        private event EventHandler OnWebsiteConfigChanged;
        private readonly AppApache appApache;
        private readonly AppMariaDB appMariaDB;
        private readonly AppMySQL appMySQL;
        private readonly AppMongoDB appMongoDB;
        private readonly frmPHP frmPHP = new frmPHP();
        private Dictionary<string, List<WebsiteConfig>> websites;
        private bool need_reload = true;

        /// <summary>
        /// Constructor
        /// </summary>
        public frmMain()
        {
            InitializeComponent();

            this.SetStyle(ControlStyles.ResizeRedraw, true);
            this.Text = Program.NAME;

            Logger.OnLog += this.LogEventHandler;

            Libraries.Forms.ChangeFont(this, NAME_2.Get("Varela Round"));
            Libraries.Forms.SetGradientBackground(this);

            this.appApache = new AppApache();
            this.appMariaDB = new AppMariaDB();
            this.appMySQL = new AppMySQL();
            this.appMongoDB = new AppMongoDB();

            this.appApache.OnError += new AppEventHandler(this.AppErrorHandler);
            this.appMariaDB.OnError += new AppEventHandler(this.AppErrorHandler);
            this.appMySQL.OnError += new AppEventHandler(this.AppErrorHandler);
            this.appMongoDB.OnError += new AppEventHandler(this.AppErrorHandler);
            this.appApache.OnPortChanged += (AppBase s, AppEventArgs e) => this.need_reload = true;

            new AppBridge(this.appApache, this.srvApache);
            new AppBridge(this.appMariaDB, this.srvMariaDB);
            new AppBridge(this.appMySQL, this.srvMySQL);
            new AppBridge(this.appMongoDB, this.srvMongoDB);

            this.OnWebsiteConfigChanged += new EventHandler((object s, EventArgs e) =>
            {
                if (this.appApache.IsInstalled() && this.appApache.GetWorkingState() == EWorkingState.Started)
                {
                    this.AskToRestartApache();
                }
            });
        }

        /// <summary>
        /// NAME_3 log content to textbox
        /// </summary>
        private void LogEventHandler(Logger s, LogEventArgs e)
        {
            Libraries.Forms.InvokeControl(this.txtLog, () =>
            {
                thi The letter u should appear at least 12 times.
user