About 2,070,000 results
Open links in new tab
  1. How to set Z-order of a Control using WinForms - Stack Overflow

    How to set Z-order of a Control using WinForms Asked 15 years, 5 months ago Modified 3 years, 2 months ago Viewed 106k times

  2. c# - Removing dynamic controls from panel - Stack Overflow

    I have dynamically generated controls on the panels of windows form and i have also generated a button for removing the controls, all in rows. int c = 0; private void button1_Click(object sender,

  3. How to fix the flickering in User controls - Stack Overflow

    5 Put the code bellow in your constructor or OnLoad event and if you're using some sort of custom user control that having sub controls, you'll need to make sure that these custom …

  4. How to disable all controls on the form except for a button?

    My form has hundreds of controls: menus, panels, splitters, labels, text boxes, you name it. Is there a way to disable every control except for a single button? The reason why the button is …

  5. Can't Move Controls With Mouse on Windows Form Designer

    Right click form "Lock Controls". This should not have the blue outline, or right click on form/control>Lock Controls and make sure nothing is locked. Rebuild project, close and open …

  6. Get a Windows Forms control by name in C# - Stack Overflow

    PictureBox[] picSample = (PictureBox)this.Controls.Find(PIC_SAMPLE_NAME, true); Most important is the second paramenter of find. if you are certain that the control name exists you …

  7. winforms - Reordering of controls within a flow layout panel

    I'm having trouble using the flowlayoutPanel in a C# winform application. What I basically have is a flow layout panel that has 3 sections. Section #1 is a set of 2 controls .. two dropdown contro...

  8. c# - Windows form controls disappeared - Stack Overflow

    I have a WinForm project (.NET 4.8 target) and I add several controls (buttons, labels and textboxes) and I start to add some code and I come back to Form1.Design tab and all controls …

  9. c# - Control 'seems' to be locked - Stack Overflow

    Are those controls on a UserControl which you've placed on your form? If so then you have to open the UserControl and change the modifier property on each of the controls you want to be …

  10. c# - Bring Winforms control to front - Stack Overflow

    Controls' z-index is per-container. If you call BringToFront on a control that is inside a container (such as a Panel), it will not bring the container to the front.