protected override void OnClick() { ToolBarHelpDLG HelpInfo = new ToolBarHelpDLG(); HelpInfo.Width = 900; string fileName = AssemblyDirectory + "/Help/Help.htm"; HelpInfo.webBrowser1.Url = new Uri(fileName); HelpInfo.Show(); }
private void btnGetOffsetFromEditor_HelpRequested(object sender, HelpEventArgs hlpevent) { ToolBarHelpDLG HelpInfo = new ToolBarHelpDLG(); string fileName = AssemblyDirectory + "/Help/GetOffsetFromEditor.htm"; HelpInfo.webBrowser1.Url = new Uri(fileName); HelpInfo.Location = btnGetOffsetFromEditor.Location; HelpInfo.Owner = this; HelpInfo.Show(); hlpevent.Handled = true; }