Hi,
You can minimize your C# form by clicking on a cancel button.
Here is the code
private void btnCancel_Click(object sender, EventArgs e)
{
this.WindowState = FormWindowState.Minimized;
}
Here btnCancel : is my cancel button
Thank you.
You can minimize your C# form by clicking on a cancel button.
Here is the code
private void btnCancel_Click(object sender, EventArgs e)
{
this.WindowState = FormWindowState.Minimized;
}
Here btnCancel : is my cancel button
Thank you.
No comments:
Post a Comment