using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MailSend_Lesebestätigung { public partial class FHelp : FormEx { public FHelp() { InitializeComponent(); } private void FHelp_Load(object sender, EventArgs e) { } private void FHelp_VisibleChanged(object sender, EventArgs e) { if(this.Visible == true) { try { webBrowser1.Url = new Uri($@"{Application.StartupPath}\help.html"); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } } } private void FHelp_FormClosing(object sender, FormClosingEventArgs e) { this.Visible = false; e.Cancel = true; } } }