designer

What is the run-context for a form opened in the designer for a winforms application

Hello, I have a form that will not open in the designer. I used the technique that I mention in an answer to THIS questions... http://stackoverflow.com/questions/513798/visual-studio-winforms-designer-does-not-instantiate-object/947009#947009 ...to determine why the form will not open in the designer. The bottom line is that the for...

Designing WPF UserControl that gets its DataContext from outer controls: What is best practice to have some sample data in designer but use inherited DC at runtime?

Hi, I am designing a WPF user control which contains other user controls (imagine a WidgetContainer, containing different Widgets) - using M-V-VM architecture. During development, I have WidgetContainerView in a window, window (View) spawns a WidgetContainerViewModel as its resource, and in a parameterless constructor of WidgetContainer...

How can I create a control with IPAddress properties that can be edited in the designer?

I'm creating a control with properties of type System.Net.IPAddress. The designer shows these as read-only, and seems to be matching them up with resources. Is there a way to make it so that the user can edit these properties in the designer properties window, rather than having to open up the resource editor? ...

Qt designer plugin (custom widget) in Eclipse integration

I have made custom widget plugin, which is recognized and visible in Qt designer, but Qt creator and Qt eclipse integration doesn't show it. Does anyone have ideas how to solve this problem? ...

Access the project file structure within the Visual Studio Properties property grid?

I'm making a Component that will be used in a VS drag and drop designer. One of the properties on this component needs to be the pack URI of a file within the project. I'd like to make things a little easy and, from within the property editor the PropertyGrid uses for my type's property, examine the solution, construct the Uris and pre...

When is the StoreGeneratedPattern attribute added to a property in the ssdl? (Entity Framework)

When I create a new diagram and "Update model from database", the StoreGeneratedPattern attribute gets added to some primary key properties, but not all of them. What criteria does the designer use to decide whether to add this or not? ...

How to become a good at Technical Design

Would like to know what a programmer should know to become a good at Designing particluarly in Java/J2EE technologies. ...

Making a text field flow like a paragraph in Adobe Livecycle Designer

I intend to create a form using Adobe Livecycle Designer 7.00 in which I want a field to flow as does a paragraph in a text editor. To be more specific, I have a text object before and after the text field which is contained in a subform. As there is some text before the text field, it naturally would not start from extreme left. Now w...

Is it possible to suppress the Web Forms Designer in Visual Studio from being opened?

The primary reason for asking how to do this is because I personally never use it. The Designer is slow to load... especially on complex pages with lots of controls. To put it bluntly, I think of it as a crutch that web developers should avoid. I would like to encourage team members to avoid using it as well. If there is a way to do ...

Microsoft Visual Studio and C#: How to Visually Add Events to Controls?

Perhaps this is a stupid question, but for the life of me I cannot find a way to do this. How would one go about adding an event handler to a control in a form in Microsoft Visual Studio (2008) with C#? I can do it manually, but opening the Designer.cs file for the Form, but I cannot find a way to do it through the interface. In MSVC 6...

C#: System.ComponentModel.Design does not contain ArrayEditor...

I'm working on making a complex object designer compliant and was going to utilize the ArrayEditor component... Needless to say, I don't have it... MSDN says it comes from .NET 1.1 which I most certainly do have and then some. Any ideas? ...

visual studio 2005 designer moves controls and resizes Form

When i open a form in visual studio 2005 (c#) the designer automaticaly resize the form and move/resize controls without touching the designer at all. The source file is changed and when i close the designer i'm asked to save the *.cs file. I tried to look into visual studio options without any success. any ideas? visual studio setup or ...

Visual Studio keeps resizing my form without me telling it to, help!

I am running visual studio 2008. Every so often when I go to the designer view of one of my forms, the designer will make the form slightly larger. This happens on forms where I have a minimum size. I want the form to be the minimum size so why does it keep adjusting the size on me? ...

How do I tell the designer that my custom winforms control has a fixed height?

I've made a custom control and overridden SetBoundsCore such that the height of the control is fixed. I'd like the designer to show the same sort of resize boxes as the NumericUpDown has - just one at each end - so that it's clear that the control has a fixed height. How do I tell the designer that my control has a fixed height? ...

Visual Studio 2008 Warning About Changes to Designer-Generated Code

This question is kind of anecdotical but still interesting to me; I was wondering why Visual Studio 2008 is not loving the following use of constants: public class Service101 : ServiceBase { /// <remarks> /// Shown at Start -> Settings -> Control Panel -> Administrative Tools -> Services /// </remarks> internal const str...

What is a typical scenario for and end-user reports design?

Hello! I'm wondering what would be the typical scenario for using an end-user report designer. What I'm thinking of is to have a base report with all the columns that I can have, also with a basic view of the report (formatting, order of columns, etc.) and then let the user to change that format and order, take out or add (from the avai...

How can we get designers (daily?) current HTML from a dynamic site?

Our designers create graphical mockups for new designs, create the initial html, css, and image sprites & maintain those files. After the initial hand-off, our developers work everything into .Net code, templates, etc. The problem: When our designers get tasked with designing or tweaking a feature, they can't work from their initial moc...

C# Designer: Removing redundant code from Design.cs.

Hi, I have a form which has several buttons, labels and other stuff on it, but the designer appears to remember old elements of that form that have previously be deleted. Is there anyway to 'refresh' the form.Designer.cs code to inform it what elements are currently on the form and what elements are not. Cheers for the help in advanc...

How do I show a custom palette in the Designer?

Our graphic designer would like us to use his colour palette for our winforms application. Is it possible to display this palette in the designer, similarly to the system palette, rather than having to enter the colours by hand every time? ...

Designer file no longer automatically updating when adding new controls

The closest answer I could find to my question here was this (which has an edit that says it no longer works, and I have confirmed it does not): http://stackoverflow.com/questions/187881/visual-studio-2005-designer-not-adding-controls-to-the-aspx-designer-cs Let me start by saying this only happens in one particular web app for me, it's...