Port DataGridviewDesigner to runtime#9677
Merged
Tanya-Solyanik merged 17 commits intodotnet:mainfrom Sep 7, 2023
Merged
Conversation
56 tasks
d1d524b to
015e4d3
Compare
Epica3055
added a commit
to Epica3055/winforms
that referenced
this pull request
Aug 10, 2023
015e4d3 to
44a4d4e
Compare
Epica3055
added a commit
to Epica3055/winforms
that referenced
this pull request
Aug 10, 2023
18b1fb8 to
c048d14
Compare
Epica3055
added a commit
to Epica3055/winforms
that referenced
this pull request
Aug 10, 2023
Epica3055
added a commit
to Epica3055/winforms
that referenced
this pull request
Aug 14, 2023
c048d14 to
5b02b83
Compare
Epica3055
added a commit
to Epica3055/winforms
that referenced
this pull request
Aug 14, 2023
cf300d4 to
f0c305a
Compare
Epica3055
added a commit
to Epica3055/winforms
that referenced
this pull request
Aug 17, 2023
f0c305a to
5fc4031
Compare
src/System.Windows.Forms.Design/src/System.Windows.Forms.Design.csproj
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/BindingSourceDesigner.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/BindingSourceDesigner.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/BindingSourceDesigner.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/DataGridViewAddColumnDialog.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/DataGridViewAddColumnDialog.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/DataGridViewAddColumnDialog.cs
Outdated
Show resolved
Hide resolved
| return true; | ||
| } | ||
|
|
||
| private class ListBoxItem |
Contributor
There was a problem hiding this comment.
Please move this class to a dedicated file.
Member
Author
Contributor
There was a problem hiding this comment.
If these classes were nested before, they should stay nested. I meant extracting each small class into a small file.
Member
Author
There was a problem hiding this comment.
Yes , there are nested before.
Contributor
There was a problem hiding this comment.
Could you please move these classes into dedicated files. You should name these new files like this - DataGridViewAddColumnDialog.ListBoxItem.cs. You will have to declare DataGridViewAddColumnDialog as partial class. See https://github.com/dotnet/winforms/blob/main/src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/ControlDesigner.ChildSubClass.cs for an example.
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/DataGridViewAddColumnDialog.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/DataGridView.cs
Outdated
Show resolved
Hide resolved
c091cc4 to
330d2a4
Compare
src/System.Windows.Forms.Primitives/src/System/Windows/Forms/Internals/DpiHelper.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms.Design/src/System/Windows/Forms/Design/DataGridViewAddColumnDialog.cs
Outdated
Show resolved
Hide resolved
6a3790e to
95289e7
Compare
….com/Epica3055/winforms into Issue_4908_Port_DataGridViewDesigner
Tanya-Solyanik
approved these changes
Sep 7, 2023
| private IServiceProvider serviceProvider; //cached to allow our behavior to get services | ||
| private TableLayoutPanelResizeGlyph tableGlyph; //the glyph being resized | ||
| private DesignerTransaction resizeTransaction; //used to make size adjustements within transaction | ||
| private DesignerTransaction resizeTransaction; //used to make size adjustments within transaction |
dreddy-work
added a commit
to dreddy-work/winforms
that referenced
this pull request
Sep 13, 2023
dreddy-work
added a commit
that referenced
this pull request
Sep 13, 2023
We ported DataGridviewDesigner via #9677 LocProj need to be updated to fix issue in CI https://dev.azure.com/dnceng/internal/_build/results?buildId=2266578&view=logs&j=c2111129-d6a3-58de-e667-00e5a0966c99&t=04624205-1088-500d-206a-392ceb108efa
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Related to #4908
Proposed changes
Customer Impact
Regression?
Risk
Screenshots
Before
After
Test methodology
Test environment(s)
Microsoft Reviewers: Open in CodeFlow