Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/System.Design/src/System.Design.Forwards.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.ColumnHeaderCollectionEditor))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.DataMemberFieldConverter))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.DataGridViewCellStyleEditor))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.DataSourceListEditor))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.FormatStringEditor))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.HelpNamespaceEditor))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.ImageCollectionEditor))]
Expand Down Expand Up @@ -36,6 +37,8 @@
// internal designers
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.ButtonBaseDesigner))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.ComboBoxDesigner))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.DataGridViewDesigner))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.DataGridViewColumnDesigner))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.DateTimePickerDesigner))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.FormDocumentDesigner))]
[assembly: TypeForwardedTo(typeof(System.Windows.Forms.Design.FlowPanelDesigner))]
Expand Down
17 changes: 17 additions & 0 deletions src/System.Windows.Forms.Design/src/DataSourceDescriptor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Drawing;

namespace System.Windows.Forms.Design;

internal abstract class DataSourceDescriptor
{
public abstract string Name { get; }

public abstract Bitmap Image { get; }

public abstract string TypeName { get; }

public abstract bool IsDesignable { get; }
}
127 changes: 127 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/SR.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1494,4 +1494,131 @@ Press Ctrl+Enter to accept Text.</value>
<data name="ChooseIconDisplayName" xml:space="preserve">
<value>Choose Icon...</value>
</data>
<data name="DataGridView_Close" xml:space="preserve">
<value>Close</value>
</data>
<data name="DataGridViewDuplicateColumnName" xml:space="preserve">
<value>The name {0} is already in use by another column.</value>
</data>
<data name="DataGridViewEditColumnsVerb" xml:space="preserve">
<value>&amp;Edit Columns...</value>
</data>
<data name="DataGridViewAddColumnVerb" xml:space="preserve">
<value>&amp;Add Column...</value>
</data>
<data name="DataGridViewDataSourceNoLongerValid" xml:space="preserve">
<value>Unable to create columns for the data source. The data source is no longer valid</value>
</data>
<data name="DataGridViewEditColumnsTransactionString" xml:space="preserve">
<value>Edit Columns</value>
</data>
<data name="DataGridViewAddColumnTransactionString" xml:space="preserve">
<value>Add Column</value>
</data>
<data name="DataGridViewChooseDataSourceTransactionString" xml:space="preserve">
<value>{0} DataSource changed</value>
</data>
<data name="DataGridViewChooseDataSource" xml:space="preserve">
<value>Choose Data Source:</value>
</data>
<data name="DataGridViewEnableAdding" xml:space="preserve">
<value>Enable Adding</value>
</data>
<data name="DataGridViewEnableEditing" xml:space="preserve">
<value>Enable Editing</value>
</data>
<data name="DataGridViewEnableDeleting" xml:space="preserve">
<value>Enable Deleting</value>
</data>
<data name="DataGridViewEnableColumnReordering" xml:space="preserve">
<value>Enable Column Reordering</value>
</data>
<data name="DataGridViewEnableAddingTransactionString" xml:space="preserve">
<value>Enable Adding</value>
</data>
<data name="DataGridViewDisableAddingTransactionString" xml:space="preserve">
<value>Disable Adding</value>
</data>
<data name="DataGridViewEnableDeletingTransactionString" xml:space="preserve">
<value>Enable Deleting</value>
</data>
<data name="DataGridViewDisableDeletingTransactionString" xml:space="preserve">
<value>Disable Deleting</value>
</data>
<data name="DataGridViewEnableColumnReorderingTransactionString" xml:space="preserve">
<value>Enable Column Reordering</value>
</data>
<data name="DataGridViewDisableColumnReorderingTransactionString" xml:space="preserve">
<value>Disable Column Reordering</value>
</data>
<data name="DataGridViewEnableEditingTransactionString" xml:space="preserve">
<value>Enable Editing</value>
</data>
<data name="DataGridViewDisableEditingTransactionString" xml:space="preserve">
<value>Disable Editing</value>
</data>
<data name="DataGridViewProperties" xml:space="preserve">
<value>&amp;Properties</value>
</data>
<data name="DataGridViewUnboundColumnProperties" xml:space="preserve">
<value>Unbound Column &amp;Properties</value>
</data>
<data name="DataGridViewBoundColumnProperties" xml:space="preserve">
<value>Bound Column &amp;Properties</value>
</data>
<data name="DataGridViewColumnTypePropertyDescription" xml:space="preserve">
<value>The DataGridViewColumn type.</value>
</data>
<data name="DesignBindingPickerAddProjDataSourceLabel" xml:space="preserve">
<value>Add new Object Data Source...</value>
</data>
<data name="DesignBindingPickerTreeViewAccessibleName" xml:space="preserve">
<value>Bindable data sources and data members</value>
</data>
<data name="DesignBindingPickerAccessibleName" xml:space="preserve">
<value>Data binding editor</value>
</data>
<data name="DesignBindingPickerHelpGenCurrentBinding" xml:space="preserve">
<value>Currently data bound to '{0}'.</value>
</data>
<data name="DesignBindingPickerHelpGenPickMember" xml:space="preserve">
<value>Select a data member to bind to.</value>
</data>
<data name="DesignBindingPickerHelpGenPickBindSrc" xml:space="preserve">
<value>Select a BindingSource to bind to.</value>
</data>
<data name="DesignBindingPickerHelpGenPickDataSrc" xml:space="preserve">
<value>Select a data source under 'Other Data Sources' to connect to data.</value>
</data>
<data name="DesignBindingPickerHelpGenAddDataSrc" xml:space="preserve">
<value>Click the 'Add Project Data Source...' link to connect to data.</value>
</data>
<data name="DesignBindingPickerNodeNone" xml:space="preserve">
<value>None</value>
</data>
<data name="DesignBindingPickerHelpNodeNone" xml:space="preserve">
<value>Selecting 'None' clears the current data binding.</value>
</data>
<data name="DesignBindingPickerNodeOther" xml:space="preserve">
<value>Other Data Sources</value>
</data>
<data name="DesignBindingPickerHelpNodeOther" xml:space="preserve">
<value>Contains all project data sources and local form list instances.</value>
</data>
<data name="DesignBindingPickerNodeInstances" xml:space="preserve">
<value>{0} List Instances</value>
</data>
<data name="DesignBindingPickerHelpNodeInstances" xml:space="preserve">
<value>Contains all form components that implement IList, IListSource or Array.</value>
</data>
<data name="DesignBindingPickerNodeProject" xml:space="preserve">
<value>Project Data Sources</value>
</data>
<data name="DesignBindingPickerHelpNodeProject" xml:space="preserve">
<value>Contains all project data sources.</value>
</data>
<data name="DesignBindingPickerHelpNodeProjectGroup" xml:space="preserve">
<value>Contains project data sources belonging to this namespace.</value>
</data>

</root>
Binary file not shown.
Binary file not shown.
Binary file not shown.
210 changes: 210 additions & 0 deletions src/System.Windows.Forms.Design/src/Resources/xlf/SR.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading