designer

Use Form(Of T) on VS Designer

℡╲_俬逩灬. 提交于 2019-12-01 03:54:20
问题 I'm using vb.net (vs2010). I'm moving some winforms to a dll. I have a form that inherits from the one which has some subs and functions (like a test app). My original form is: (.designer) Partial Class Form1(Of T) Inherits System.Windows.Forms.Form .... End Class Form itself contains code and a toolbar. My test form is: (.designer) Partial Class TestForm Inherits Form1(Of Class1) I get "Cannot create an instance of Form1`1[T] because Type.ContainsGenericParameters is true" when VS try to

How can I find a control looking at windows designer in visual studio 2012?

╄→尐↘猪︶ㄣ 提交于 2019-11-30 18:13:28
I have very old code with a lot of controls. On code behind I can find the name of the control. Now I would like easily by it's name find the placement of it on designer view in Visual Studio (or other tool). Is there any possibility to do it? No list on mine VS: Basuro Use the document outline pane ( Ctrl + Alt + T ) which will include searching a little in the document tree, or the ComboBox in the top of properties pane, which is sorted alphabetically. Screenshot of ComboBox of properties window, closed and opened not sure if this was what you wanted, and I realise that its an old post BUT:

Weird “Designer1.cs” files created

邮差的信 提交于 2019-11-30 15:22:44
问题 How does visual studio link files to their corresponding designer.cs files? I have a strange situation that's occurred with both the DataSet designer and also the L2S DBML designer where it's ignoring the DataSet.Designer.cs and has created and used a DataSet.Designer1.cs instead. How can I switch it back? 回答1: Thanks to Zendar's suggestion, this is what I did: Close Visual Studio. Use TortoiseSVN to rename the DataContext1.designer.cs file to DataContext.designer.cs , so the rename is picked

XML Schema Designer for Visual Studio 2008

允我心安 提交于 2019-11-30 15:12:53
问题 VS 2005 did include a designer for XSD-Files. Where i can find the version for VS 2008? I only found a preview version for VS 2008 beta 2. 回答1: I would recommend against using the dataset editor for an XML schema, there is a reason Microsoft have stopped supporting the schema designer from VS 2005. We have had no end of trouble with the schemas that were produced from the VS 2005 schema designer, so much so that we have just recently had to re-design them. I would either use the basic XML

SQLite 1.0.82.0 (latest) in Visual Studio 2012 not showing in Designer Data Source

十年热恋 提交于 2019-11-30 14:20:28
I am using the latest version, 1.0.82.0 (sqlite-netFx40-setup-bundle-x86-2010-1.0.82.0.exe), and am using the released version of Visual Studio 2012 with all the latest everything. I do not see the SQLite in the Designer Data Source in Source Explorer (new Connections). The download on SQLite states, "This setup package is capable of installing the design-time components for Visual Studio 2010". I presume the "Visual Studio 2010" part is why I do not see the designer in VS2012, which is what I have. How can I get the designer to work with VS2012? When will the System.Data.SQLite.org team come

XML Schema Designer for Visual Studio 2008

妖精的绣舞 提交于 2019-11-30 14:04:51
VS 2005 did include a designer for XSD-Files. Where i can find the version for VS 2008? I only found a preview version for VS 2008 beta 2 . I would recommend against using the dataset editor for an XML schema, there is a reason Microsoft have stopped supporting the schema designer from VS 2005. We have had no end of trouble with the schemas that were produced from the VS 2005 schema designer, so much so that we have just recently had to re-design them. I would either use the basic XML text editor and the XML document outline or I would look at XML Spy. This is what we have just purchased

Weird “Designer1.cs” files created

随声附和 提交于 2019-11-30 13:28:08
How does visual studio link files to their corresponding designer.cs files? I have a strange situation that's occurred with both the DataSet designer and also the L2S DBML designer where it's ignoring the DataSet.Designer.cs and has created and used a DataSet.Designer1.cs instead. How can I switch it back? Thanks to Zendar's suggestion, this is what I did: Close Visual Studio. Use TortoiseSVN to rename the DataContext1.designer.cs file to DataContext.designer.cs , so the rename is picked up by source control. Opened MyProject.csproj in Textpad. Performed search and replace for DataContext1

How do I enable phpMyAdmin's Designer view?

落花浮王杯 提交于 2019-11-30 10:47:15
问题 I am running phpMyAdmin locally and I am trying to enable the Designer tool. How do you enable designer view for phpMyAdmin? I have read quite a few tutorials on how to enable the Designer view for phpMyAdmin and they all have different directions that never seem to actually get it working. I am using version 4.0.7 回答1: The following steps will enable the Designer in phpMyAdmin 4+ assuming that phpMyAdmin is inside the folder phpMyAdmin : Open phpMyAdmin/config.inc.php and phpMyAdmin/config

How to change background color of XAML designer in vs2012?

萝らか妹 提交于 2019-11-30 10:24:22
问题 I just try to view the result after XAML code in Designer. However, it's hard to recognize the black letters when I use a dark theme in vs2012. My question is how to change designer background to white color without modifying the dark theme. Seems to change several options in tools? Thanks Please skim over all the answers . All have different approaches and it may be that the later ones will suit your needs better. 回答1: In VS 2013 you can change XAML designer background. Go to: Tools ->

Abstract generic UserControl inheritance in Visual Studio designer

久未见 提交于 2019-11-30 09:32:43
问题 In one of my projects I'm using an abstract UserControl. To be able to design this control in Visual Studio I'm using the code proposed in this answer. Now I want to use this with another abstract UserControl which is also generic. But if I do [TypeDescriptionProvider(typeof(AbstractControlDescriptionProvider<MyBaseControl<T>, UserControl>))] I'm getting the compiler error CS0416: an attribute argument cannot use type parameters Removing the type parameter obviously doesn't compile either. I