All Questions
156
questions
-1
votes
1
answer
69
views
Inside a panel , show a pop up message with dark background
My problem is related to this
How to show a pop up message with dark background
but the main problem is i want to add the fade form and the focus form both inside a panel . I have asked this question ...
0
votes
0
answers
21
views
How would I fix Winforms controls not drawing on under .net7
I've created a new winforms application with .NET 7, added the F!Sharp github package as my application requires it. I have made zero other modifications to the app beyond that.
Now, when I go to add ...
1
vote
1
answer
431
views
Drag and drop panels within a FlowLayoutPanel
I am creating a windows form with several panels (10) in a flow layout panel, and I want these panels to be able to drag and drop to preferably another flow layout panel on top of it. I don't want the ...
3
votes
1
answer
3k
views
How to change the back color of the scrollbar of a panel?
So I am making a dark mode option for my application and I want the scrollbar back color to also change color so that it doesn't look out of place. I have tried to search for a solution but so far I ...
-1
votes
1
answer
38
views
Panel is not scrollable in c#
Please guide how to add scrolling event to this panel
this.pnlContainer.Location = new System.Drawing.Point(0, 0);
this.pnlContainer.Name = "pnlContainer";
...
2
votes
2
answers
1k
views
DropDown List separated from the ComboBox in a scrollable Panel
If I put a ComboBox inside of a Panel and set the Panel's AutoScroll property to True, the ComboBox List is not redrawn when the panel is scrolled. This results in the DropDown floating in its initial ...
0
votes
1
answer
50
views
Extra rectangle gets drawn after label
I want to include the colored panel below into my form:
For this I have created custom panel which will change Border color based on Radio Button selection. My panel code is
InfoPanel.cs
class ...
0
votes
1
answer
2k
views
Controls in panel are hidden until I resize the window
I've been having issues with controls being "cut-off" from a panel. However when i manually start resizing the form, the missing controls start to re-appear after every resize.
I've created a test app ...
0
votes
0
answers
40
views
C# (Windows Forms) - Panel with Autoscroll places Generated Object Randomly further away
I have a Panel that got the Autoscroll enabled.
Now here's my quite interesing annormaly:
If I add One of my Objects inputFormto the Panel panelthe first three to four always get placed the right ...
1
vote
1
answer
346
views
WPF: MeasureOverride with side effects?
The Situation:
I am trying to create a panel class StickyInfoPanel for two child items laid out vertically. The lower of the two items shall be 100px in height. The upper item shall consume the rest ...
1
vote
2
answers
286
views
How to create shortcut of a button on a panel at runtime?
I have a panel that contains a lot of buttons(right panel). I want to add a shortcut of selected button to another panel(left panel) with the same properties and events dynamically at runtime.
Buttons ...
0
votes
1
answer
28
views
I want to enter the text of selected checkboxes in labels inside a panel. CheckBoxes and the panel containing labels are in different forms
public void TestLoad()
{
DeptTest dt3 = new DeptTest();
foreach (CheckBox c in dt3.Controls.OfType<CheckBox>())
{
if(c.Checked == true)
{
foreach (Label l ...
1
vote
1
answer
164
views
Putting Load Animation PictureBox Panel on Top of Tabbed Layout Pane
I have a window with a Tabbed Layout Pane containing 2 panels,The Dockmode of the tabbed layout pane is set to Fill.I need to put a Panel/Picturebox that indicates background processing at the center ...
2
votes
3
answers
2k
views
Change panel starting point
In my program i have a panel of 1000 by 1500 pixels, in that panel is a panel of 4000 by 10000 pixels which I can scroll through. Now this panel starts like in the left (example in the picture) but i ...
0
votes
1
answer
37
views
Create mutliple panels or create one and populate it from code
So I'm quite new to .NET and I have a small menu with multiple buttons
(foo1, foo2... foo5).
My question is: is it better to have a panel for each button and modify the .visible property with ...