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

  • Home
  • SEARCH
  • 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 7601139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:05:46+00:00 2026-05-30T23:05:46+00:00

I have a form in Visual Studio that no matter how small i make

  • 0

I have a form in Visual Studio that no matter how small i make it, when i debug it goes back to what it was before. But when I make it bigger than the first width, then it lets me do that. My minimum size is set to 0,0, and inside the form, there is 1 picture, and 6 buttons. Here are some other of its properties:
(this isnt actual code, just a list of properties, stackoverflow made me indent, etc.

FormBorderStyle = FixedSingle
Size = 122,420
StartPosition = Manual
Location = 0,0
ControlBox = False
ShowIcon = false
SizeGripStyle = Hide
  • 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-30T23:05:48+00:00Added an answer on May 30, 2026 at 11:05 pm

    Are you trying to change the size of a control or the whole form ?
    The code below would change the form’s size (assuming its named Form1.cs aka the default name for the 1st form created in a ado.net project) to 300 height and 300 width, it does this when the form loads, you could also add a button and use that to change the forms size.

    private void Form1_Load(object sender, EventArgs e)
    {
        this.Size = new System.Drawing.Size(300, 300);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

JI have written a .NET C# Windows Form app in Visual Studio 2008 that
IDE: Microsoft Visual Studio Professional 2008 Language: C# Background: I have one form and
c# .Net 3.5 visual studio 2008, windows xp I have a main form in
Hi I have a visual studio project which includes postbuildevents in the following form:
I have a C# project in Visual Studio that produces an aspx page. The
I have created a custom control using VB.NET in Visual Studio 2008 that gives
I'm working with Visual studio 2008. I have a form inherited from DockContent class
I have a Windows Form Application in Visual Studio 2008 - PictureBox.Refesh() method causes
I'm creating a settings form that is quite similar to the Visual Studio 2008
I am coding in C# using Visual Studio 2010 and have a form whereby

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.