Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
262 views

Manage a ControlCollection - display a new element at the bottom

I need to add a simple at the bottom of an existing view. It is composed of nested panels in a code which I know is not proper. But what I want given my available time is (simple as it sounds) to add ...
Gaël's user avatar
  • 147
1 vote
1 answer
2k views

How to fix scrollbar showing on TableLayoutPanel?

Got a TableLayoutPanel in my winform, to increase loading speed. I tried suspending it's layout, adding the rows and resume Layout. Sadly if I suspend until all rows are added, I get a horizontal ...
user avatar
2 votes
1 answer
9k views

Set button fill all the width & top of parent in WinForms

I want to create a form with columns of buttons. The buttons should fit all the width of form. Also I want to push it to top of form as possible. It should look like this: |--------------------------...
folibis's user avatar
  • 12.9k
0 votes
1 answer
121 views

Add control to TableLayoutPanel's row that is full

I want to add a control (Panel in this case) to a TableLayoutPanel in a specific row (column doesn't matter), but if this row is full of controls and I try to add another one on this row, the control ...
Nicolas Frugoni's user avatar
3 votes
2 answers
2k views

RadioButton behavior in TableLayoutPanel

I am using a TableLayoutPanel and anchor property in order to make a window application that will look good independent to the screen resolution or to the form resize. I referred to this article in ...
ehh's user avatar
  • 3,480
2 votes
2 answers
5k views

Creating same size cells with TableLayoutPanel

I'm trying to use the TableLayoutPanel in C# to fill out a Form. The TableLayoutPanel should hold 10x10 panels that all have the same size (by percentage). Though I don't seem to get it to work for ...
todayihateprogramming's user avatar
7 votes
3 answers
34k views

Automatically resize TableLayoutPanel row when window is resized

I have a simple 1x3 TableLayoutPanel. I want to achieve a very simple thing: When the window is resized, resize the middle row and keep top and bottom ones the same. I tried doing the logical thing, ...
John NoCookies's user avatar
1 vote
3 answers
5k views

WIndows Forms dynamic layout

I have a custom usercontrol which does the work of my app. I need to have a variable number of my usercontrols on my form at once, the number is known at runtime. I want each one to be full client ...
slippyr4's user avatar
  • 862
0 votes
1 answer
382 views

Centering a TableLayoutPanel in Parent

I have spent hours trying to figure out how to organize my user interface, and what is simple in PHP/CSS is driving me nuts in C#. Basically I am creating a class called Reply that is a 2x2 ...
Brett Powell's user avatar