Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 774599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:09:25+00:00 2026-05-14T19:09:25+00:00

I have an application with main form. the main form has menu and some

  • 0

I have an application with main form. the main form has menu and some toolstrip and one user control set the dock to Fill. how can i provide full screen view so that user control set to full screen and all menu and toolstrip hide from main form.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T19:09:25+00:00Added an answer on May 14, 2026 at 7:09 pm

    Not that I’ve ever done it – by my approach would be to:

    In your full screen ‘mode’ do this:

    switch off the form border
    set controlbox to false (gets rid of the titlebar and top-left window menu)
    make the menu/toolstrip invisible.

    This is done with the ‘Visible’ property of those controls.

    Now, you should be able to set the window state of the form to Maximized.

    EDIT – Code Sample:

    Paste this into the code file of a new forms app

    public partial class Form1 : Form
    {
      public Form1()
      {
        InitializeComponent();
      }
      private void Form1_Load(object sender, EventArgs e)
      {
        this.ControlBox = false;
        this.FormBorderStyle = FormBorderStyle.None;
        this.WindowState = FormWindowState.Maximized;
      }
    
      private void Form1_KeyDown(object sender, KeyEventArgs e)
      {
        //example of how to programmatically reverse the full-screen.
        //(You will have to add the event handler for KeyDown for this to work)
        //if you are using a Key event handler, then you should set the 
        //form's KeyPreview property to true so that it works when focus
        //is on a child control.
        if (e.KeyCode == Keys.Escape)
        {
          this.ControlBox = true;
          this.FormBorderStyle = FormBorderStyle.Sizable;
          this.WindowState = FormWindowState.Normal;
        }
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have WPF Application where I have One main form and other user controls
My main form in my application has a datagrid view that can have 1
I have an application with a form that has a main menu. Now I
I have a Delphi application that has a document browser as the main form.
I have a WinForms application. the main form is has a lot of controls
I have an application that has a main form and uses an event handler
Windows Forms, .net 2.0 My main application thread has a form (A). I have
I have a parent control (main form) and a child control (user control). The
I have an application that has a few different forms. From the main form
In my current application I have a main form: frmMain with a statusstrip and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.