Hi,
I have created an application in C# and would like it viewed in a full screen that also covers Microsoft's taskbar, kind of like the way a PowerPoint is viewed in full screen.
Is this possible?
Sorry if i come off a bit confusing.
Thanks
Hi,
I have created an application in C# and would like it viewed in a full screen that also covers Microsoft's taskbar, kind of like the way a PowerPoint is viewed in full screen.
Is this possible?
Sorry if i come off a bit confusing.
Thanks
you mean like this?
private void btn_MakeFullScreenClick(object sender, EventArgs e)
{
this.TopMost = true;
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
}
You will have to have another that makes it return to normal size...
private void button2_Click(object sender, EventArgs e)
{
this.TopMost = false;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;//(return to whatever borderstyle you want)
this.WindowState = FormWindowState.Normal;
}
Thanks James, the code worked well.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.