windows-forms-designer Questions

1

Solved

I'm developing an archiving system application that needs to scan documents and store them in a database. I'm looking for suggestions on how to integrate scanning functionality into my applic...
Marnie asked 13/4, 2016 at 7:45

2

Solved

I made a custom DataGridView component which has a standard DataGridViewImageColumn inside. A new property changes the visibility of the column when i don't need in in a particular table. I add the...
Retortion asked 8/4, 2016 at 14:10

1

Solved

I have a project that has forms that inherit properties from a base form (called frmBase). I have run into an issue that is really confusing me: I want the program to center on the user screen, so...
Catfall asked 31/3, 2016 at 13:55

1

Solved

I think there is a simple solution for my stupid question but I just can't solve it today. I have a User Control that has a MaskedTextBox Control in itself. I have also exposed a few of its proper...

1

Solved

In visual studio how do you access a control on a form hosting a user control? For example, when text changes in a text-box in a user control, I want text in another text-box in another user contro...

1

Solved

Please read entire question first to understand where I would have the ability to reset the default value of a property. When defining a custom class that can be visually designed, one can impleme...
Eolithic asked 19/2, 2016 at 23:53

3

Solved

I wrote an Visual Studio 2013 extension that observes Windows.Forms designer windows. When a developer is changing controls in the designer window, the extension tries to verify that the result is ...
Varioloid asked 5/11, 2015 at 10:50

1

Solved

I'm having an issue and I don't know if this is indeed doable (if there's a "hacky" way, I'm all up for it, but I haven't found one). I have an IExtenderProvider component that I'm using to have m...
Twiddle asked 29/12, 2015 at 11:4

6

Solved

We've recently migrated one of our Winforms projects to Visual Studio 2012 from Visual Studio 2008. The transition has went remarkably smoothly and everything builds just fine, however we're now st...

1

I want to know if there exists a way to set a control's Text property from a resource file in design time: Or this process can only be performed programatically?
Deanndeanna asked 27/11, 2015 at 0:20

1

How can I disable the snaplines, when I move controls using the mouse in windows forms designer, which is shown in the image:
Biocatalyst asked 17/11, 2015 at 12:3

3

Solved

I just created a user control. This control also makes use of my static Entity Framework class to load two comboboxes. All is well and runs without a problem. Design and runtime are working. Then ...
Nephritic asked 13/3, 2010 at 16:3

1

Solved

Using Visual Studio (any version will do), is it possible for controls added programmatically (rather than via the Design view) to then be shown when switching back to the Design view? I've tried...
Adai asked 4/11, 2015 at 21:48

2

I have these classes: class Foo<T1, T2> : Form where T1, T2 : EventArgs class MiddleGoo : Foo<X,Y> class Goo : MiddleGoo X,Y are just simple classes derived from EventArgs. I se...
Fruition asked 13/10, 2015 at 21:12

1

Solved

In C# (and Visual Basic) you can add several non-UI components (those that don't inherit from System.Windows.Forms.Control) directly from the form designer. Examples of those components are System....
Runkle asked 26/9, 2015 at 18:46

1

You usually don't see those files because they're hidden in the project tree and you only edit the GUI of a Windows Forms .NET application through the visual designer. But when using some kind of S...
Febri asked 14/12, 2011 at 10:58

2

Solved

I'm following this tutorial on winforms, and so far the tutorial is coding the form without using the toolbox. I believe it'll introduce the toolbox in more depth shortly. Following the tutorial, ...

2

Solved

I have a form that looks like this in designer, two grid views, exactly the same properties. It worked for a bit, but now when I resize it, only the right grid view expands horizontally, they both ...
Odaodab asked 5/6, 2015 at 8:53

4

Solved

I have a custom DataGridView, let's say as such: public MyGridView : DataGridView { public MyGridView() { BackgroundColor = Color.Red; } } Now, when I use this control in a project using the...

1

Solved

In my application, I have a BaseForm which has a generic member in it: public partial class BaseForm<T> : Form where T : Presenter { protected T Presenter; public BaseForm() { Initializ...
Zoilazoilla asked 30/3, 2015 at 14:46

1

Solved

I have a visual studio project in a solution that references a class library project from the same solution. The project compiles and executes just fine. However, when I try to open one form in the...
Pitanga asked 2/2, 2015 at 7:0

5

Solved

For a long time now, I have been stuck with Windows Forms development (started with VB6, and has continued through to C# .NET 4.5), and I have pretty much hit the limit of what Windows Forms can do...
Gisser asked 28/3, 2013 at 12:5

10

Solved

I engaged a problem with inherited Controls in Windows Forms and need some advice on it. I do use a base class for items in a List (selfmade GUI list made of a panel) and some inherited controls t...
Corporeity asked 25/10, 2009 at 12:57

3

Solved

I have short windows program I use to add information quickly. But now I'm trying to enhance it. Was looking for a more efficient want to check for empty text boxes and if the box was empty to find...
Publicity asked 12/9, 2014 at 19:24

2

Solved

I do not wish to use compatible text rendering, but I do not wish to use Application.SetCompatibleTextRenderingDefault(false); Naturally, I thought all I had to do was set each label's UseCompat...
Lananna asked 18/8, 2009 at 22:36

© 2022 - 2024 — McMap. All rights reserved.