help button
-
i want to add help button in my wpf application without using forms.Can we add help button to the windows system menu in which the maximize and minimize buttons are by default present?
-
i want to add help button in my wpf application without using forms.Can we add help button to the windows system menu in which the maximize and minimize buttons are by default present?
You can add help button but at the cost of disabling maximize and minimize button in windows form, as it works like this only. Alternatively you can add a help icon to your form and open an external file (html/word/csv/text) on that button click.
Thanks Do not forget to comment and rate the article if it helped you by any means.
-
i want to add help button in my wpf application without using forms.Can we add help button to the windows system menu in which the maximize and minimize buttons are by default present?
Put a picture box with help icon image and onclick write your code,
private void pictureBox1_Click(object sender, EventArgs e)
{
var appPath = Assembly.GetEntryAssembly().Location;
var filename = Path.Combine(Path.GetDirectoryName(appPath), "\\Help.htm");
Process.Start(filename);
}Thanks Do not forget to comment and rate the article if it helped you by any means.