windows-forms-designer Questions
8
Solved
I have recently heard that the alpha version of .NET Core (.NET Core 3.0) supports Windows Forms and WPF. But the Visual Studio Designer (and Visual Studio) doesn't support the .NET Core version of...
Businesswoman asked 30/12, 2018 at 7:7
1
I get this error when I try to open a form in my c# .NET Framework 4.7.2 class library.
Auto-generate binding redirects is checked
The call stack is
at System.ModuleHandle.ResolveType(RuntimeMod...
Hubbub asked 27/5, 2020 at 17:8
2
Solved
I have a Visual Studio 2010 Windows Forms app which includes a Form base class that other classes will inherit. The base class' constructor takes a parameter that the child classes will pass to the...
Amagasaki asked 1/5, 2013 at 20:32
5
Solved
I have these groupboxes:
I want to run some code according to checked true state of a radio button like:
string chk = radiobutton.nme; // Name of radio button whose checked is true
switch(chk)
...
Stereobate asked 31/8, 2013 at 10:51
3
I'm learning how to design a Windows Forms Application in Visual Studio 2017. The tutorial asks me to create a new project using the File -> New -> Project option and selecting 'Windows Forms Appli...
Cambric asked 8/11, 2018 at 17:16
8
Solved
I have recently been getting an error in the Windows Forms designer of VS2010SP1 when using inherited UserControls.
The error is
The designer could not be shown for this file because none of t...
Monarch asked 14/10, 2011 at 9:19
1
Solved
TLDR: I'm seeking the correct method for timing the rendering of a juxtaposed graphic for a particular control on a design surface so that the graphic always is painted ahead of the adornment glyph...
Storybook asked 29/1, 2020 at 11:3
1
Solved
TLDR: I would like to know how I can create a hook into a begin-resize and an end-resize event for a design-time control instance on the designer surface.
Detail: Specifically, I am working with...
Emergence asked 28/1, 2020 at 7:4
1
Solved
I am creating a designer surface and loading the controls to a runtime.
I am having issues when deserializing/loading the controls to the runtime.
All methods I have tried seem to have some type ...
Superorder asked 30/12, 2019 at 11:9
1
Solved
I have enum lets say for example:
public enum Color
{
red,
green,
blue
}
And have two classes. which have property of enum.
public class ClassA
{
public Color Color{get;set;}
}
public clas...
Tippler asked 25/11, 2019 at 1:10
3
Solved
I created a Button descendant where I hide all the properties I don't use.
I do it like this:
[Browsable(false)]
[Bindable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[DesignerSerializa...
Sella asked 26/7, 2016 at 6:27
3
Solved
I would like to display DataGridView rows during designmode/designtime. Is there a way to achieve this?
I have tried using this function: datagridview1.Rows.Add(); in the control's constructor but...
Submediant asked 7/10, 2019 at 7:26
16
I have a question related to the error on the title. Im working with c# and Visual Studio 2010.
I have a form declared as "public class FormularioGeneral : Form", which is the base for the rest of...
Ppi asked 15/12, 2011 at 14:26
5
Solved
I just started to write reporting software in new version of visual studio named visual studio 2017 RC but just noticed that core reportviewing tools is missing from both windows forms and WPF appl...
Mathia asked 21/11, 2016 at 6:2
22
Has anyone ever had the issue where trying to "View Designer" on a windows form in Visual Studio .NET causes the error: "Could not load file or assembly…" ?
In this case, the assembly in question ...
Eviaevict asked 3/10, 2008 at 13:19
1
I'm getting some annoying errors from Visual Studio Designer when trying to open one of my forms (Could not load type x from assembly y, even though assembly y clearly contains type x; the project ...
Wiltshire asked 13/2, 2019 at 14:55
2
Solved
I am using C#, Winforms, VS 2017 Enterprise, and the full .NET Framework 4.7.2.
[TLDR section at end!]
I have been working extensively with the System.ComponentModel.Design namespace to create w...
Lockman asked 16/1, 2019 at 18:53
4
Solved
I have a question about design-time things:
I've made a component with an property "Links".
Those links are Controls. Now I want to make a UI-Dialog (for editing this property in the property grid...
Cannibalism asked 23/4, 2011 at 14:47
1
Solved
I am trying to customize the existing Smart Tag content for a TableLayoutPanel Windows Forms control for use in the Windows Forms designer (I implemented a designer that leverages the WinForms desi...
Emulsoid asked 7/9, 2018 at 4:23
2
I have a user control
public partial class ButtonControl : UserControl
which has two controls of label and picturebox
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.text = n...
Stowers asked 29/4, 2011 at 16:19
1
Solved
I have a project written by someone else and I have a problem with one of the forms.
When I try to open Form1 in "Design mode" Visual Studio 2017 shows the error screen and returns "Failed to pars...
Jeanmariejeanna asked 28/8, 2018 at 13:7
3
Solved
Experts
I would like to shuffle windows forms automatically every after 5 mins. windows forms contains Multiple querys , Multiple videos, Multiple powerpoints.
I am having three windows forms, as...
Integument asked 14/9, 2018 at 11:31
1
Solved
I'm studying Informatics Engineering, and my teacher uses a Windows PC to teach us Windows Forms. My question is: Can I do my Windows Forms homework on my mac? I'll install Visual Studio of course....
Antimicrobial asked 17/9, 2018 at 15:40
2
Solved
In Visual Studio 2008,
If you create a Form and put a Control on it,
you can edit the control's properties via the Properties window.
Some controls enable changing their properties in another way,...
Darya asked 11/6, 2018 at 15:23
1
Solved
I wrote User Control (yay!). But I want it to behave as a container. But wait! I know about
[Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design",
typeof(IDesigner))]
T...
Grayish asked 8/6, 2018 at 10:54
© 2022 - 2024 — McMap. All rights reserved.