private void buttonInfo_Click(object sender, EventArgs e) { try { Stream stream = InnerInstance.GetHelpText(InnerInstance.Host.CurrentLanguageID); InfoControl infoBox = new InfoControl(stream); this.Controls.Add(infoBox); infoBox.BringToFront(); infoBox.Show(); stream.Close(); stream.Dispose(); } catch (Exception exception) { Forms.ErrorForm.ShowError(this, exception, ErrorCategory.NonCritical, InnerInstance.Host.CurrentLanguageID); } }
public Stream GetHelpText(int lcid) { return(InnerInstance.GetHelpText(lcid)); }
public Stream GetHelpText() { return(InnerInstance.GetHelpText()); }