windows-forms-designer Questions

1

Solved

I have class A derived from a Windows.Form class, using the VS2008 designer. When I double click on the file name in Visual Studio Solution Explorer, the form designer opens. This is the desired be...
Castanon asked 11/11, 2011 at 1:17

2

Solved

I have some resources (images in this case) in a resource file that I use on controls in my Windows Forms project. The Visual Studio Resource Selection dialog doesn't have very good support for cho...
Combine asked 1/9, 2010 at 14:50

3

Solved

I have a problem with (I suppose) my Visual Studio 2010 Express environment: when I design my own UserControl, in Properties grid I can't see public properties of that control. They are however vis...
Sapsucker asked 16/8, 2011 at 14:45

2

Solved

I've got a framework which consists of many base classes that can be derived to develop many apps. Among these classes there is a subclass of System.Windows.Forms.Panel for which I wrote its own de...
Wooer asked 5/8, 2011 at 6:46

4

I have a somewhat complex UserControl, and Visual Studio 2008 is giving me a rather harmless annoyance when working with it. Every single time I open the control with the Designer, it decides to im...

1

Solved

Is there any free tool to style my C# Windows Forms, to make them look like Windows 7 Windows. **EDIT** In the designer mode, I have this : But when I run I get this : I don't know why I ge...
Slovakia asked 24/6, 2011 at 10:2

2

Solved

private void UserControl1_Paint(object sender, PaintEventArgs e) { e.Graphics.DrawEllipse(Pens.Black, new Rectangle(-200, -500, this.Width + 400, this.Height + 420)); } Paste the above code into...
Accipiter asked 17/5, 2011 at 13:18

2

Solved

This is probably a very simple question, but for some reason, even the right way to web search for the answer eludes me... I'm trying to create a user control that consists of a few labels and pro...
Bezanson asked 28/4, 2011 at 14:47

2

Solved

When I develop a Windows Forms app in Visual Studio using C#, every control that I add to my form is by default marked as private, which is what I want. When using VB.NET, every control is by defa...

1

Solved

In WinForms, how can I create a UserControl that when I put on my form I can then add other controls inside by dragging them from the toolbox, the same way as with all containers controls (panels, ...
Scotia asked 21/11, 2010 at 5:55

1

Solved

I have a generic abstract UserControl class, SensorControl, which I want all my sensor control panels to inherit from. The problem When attempting to design the EthernetSensorControl (one of my i...

5

Solved

I have a custom user control with a textbox on it and I'd like to expose the baseline (of the text in the textbox) snapline outside of the custom control. I know that you create a designer (inherit...

2

Solved

This is probably an incredibly obvious question, but I just can't figure it out. I have a Windows Form managed by the form designer. I'd like to include a custom user control, also managed by the ...
Noggin asked 8/7, 2010 at 23:4

1

Solved

Possible Duplicate: purpose of form1.designer.cs and form1.resx I Understand about *.designer file grouped with a windows form/control file. But not sure what is the relevance and use...
Timoteo asked 8/6, 2010 at 10:51

1

Solved

I'm writing an application that lets the end use design a Form just the way Visual Studio lets you design a windows forms. I looked into visual studio forms designer articles in msdn and also...
Invincible asked 17/3, 2010 at 7:57

3

Solved

I am not sure if this is a bug or if I'm just missing something, but I cannot for the life of me figure out how to get my cursor back in the Windows Forms designer in Visual Studio 2010. ...
Serpent asked 16/2, 2010 at 16:16

6

Solved

With several forms of mine, I occasionally run into the following issue: I edit the form using the designer (Visual Studio 2008, Windows Forms, .NET 2.0, VB.NET) to add components, only to find out...

1

Solved

My question is related to the design-time support of WPF. From MSDN I read, The WPF Designer provides a framework and a public API which you can use to implement custom adorners, tools, prop...
Todo asked 2/3, 2010 at 20:6

1

I have a Windows Forms user control, which (for various reasons irrelevant to this issue) are exposed in the designer, much like the panels in a split panel. Most everything works nicely, except fo...

1

Solved

This is something that's been driving me up the wall: how can I get the Windows Forms designer to provide pixel snapping for the horizontal and vertical centers of the form I'm working on?
Laurustinus asked 30/11, 2009 at 1:35

1

Solved

I've got a Windows Form User Control with a string property for setting the text of a textbox. This string can be multi-line. I've noticed that on some controls with a text property, and instead o...
Ganoid asked 10/11, 2009 at 23:4

2

Solved

I have looked at the generated designer code of Forms and UserControls, and in the InitializeComponent() method they always start with this.SuspendLayout(); and end with this.ResumeLayout(fal...
Hush asked 27/8, 2009 at 8:49

2

Overview In another question, I asked about deploying localizations for some runtime compiled UserControl's. However, before I can get to deploying the localizations, I need a way of localizing th...

2

Solved

I'm developing my own WinForms designer. It must be able to load existing custom form types. One of the issues I hit is forms without a default ctor: My code currently instantiates the form before ...
Childbirth asked 16/5, 2009 at 14:31

11

Solved

I would like to hear some opinions on hand coding your GUIs as one typically do when using Java or Qt with C++, vs using a gui-designer tool? Examples of GUI designer tools would be MFC GUI-d...
Corking asked 8/3, 2009 at 14:56

© 2022 - 2024 — McMap. All rights reserved.