Skip to content

WIP: Fix 1274 port IntegerCollectionEditor#1285

Closed
RussKie wants to merge 4 commits intodotnet:masterfrom
RussKie:fix_1274_port_IntegerCollectionEditor
Closed

WIP: Fix 1274 port IntegerCollectionEditor#1285
RussKie wants to merge 4 commits intodotnet:masterfrom
RussKie:fix_1274_port_IntegerCollectionEditor

Conversation

@RussKie
Copy link
Contributor

@RussKie RussKie commented Jul 5, 2019

Closes #1274

Proposed changes

  • Port IntegerCollectionEditor from NET Fx
  • Fix xml-docs
  • Fix names
  • Remove unused usings
  • Remove this.
  • Add missing braces
  • Use arrow functions, where appropriate

Screenshots

Before

image

After

image

Test methodology

  • manual tests with visual inspection

@RussKie RussKie requested a review from a team as a code owner July 5, 2019 14:00
@RussKie RussKie changed the title Fix 1274 port integer collection editor Fix 1274 port IntegerCollectionEditor Jul 6, 2019
@RussKie RussKie changed the title Fix 1274 port IntegerCollectionEditor Fix 1274 port IntegerCollectionEditor Jul 8, 2019
@RussKie RussKie self-assigned this Jul 8, 2019
@RussKie RussKie force-pushed the fix_1274_port_IntegerCollectionEditor branch from 0414172 to 58ffe01 Compare July 10, 2019 02:05
@RussKie
Copy link
Contributor Author

RussKie commented Jul 10, 2019

[EDIT] It looks like NETFx uses ArrayEditor instead of IntegerCollectionEditor.
I have scanned NETFx and CoreFx codebases and I couldn't find any uses for the IntegerCollectionEditor...


The UI appears to be different between the code available in NETFx enlistment and the official releases of .NET Fx 472/48.
@merriemcgaw @Olina-Zhang @dotnet/dotnet-winforms - is this expected?

The code from enlistment:
image

Offical NETFx 472/48:
image

RussKie added 4 commits July 10, 2019 13:19
- Fix xml-docs
- Fix names
- Remove unused usings
- Remove `this.`
- Add missing braces
- Use arrow functions, where appropriate
Exercise functionality manually and provide a way to visually confirm
the editor is operational.
@RussKie RussKie force-pushed the fix_1274_port_IntegerCollectionEditor branch from 58ffe01 to e465a59 Compare July 10, 2019 03:20
@RussKie RussKie changed the title Fix 1274 port IntegerCollectionEditor WIP: Fix 1274 port IntegerCollectionEditor Jul 10, 2019
@Olina-Zhang
Copy link
Member

@RussKie, in framework, when targeting .Net 4.8/4.7.2 on test machine, this IntegerCollectionEditor looks like following, not your above second one.
image
And we didn't meet this editor for Winforms any control in previous testing.

@RussKie
Copy link
Contributor Author

RussKie commented Jul 11, 2019

This editor appears to be universally unused.
Closing.

@RussKie RussKie closed this Jul 11, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Feb 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port System.Windows.Forms.Design.IntegerCollectionEditor

3 participants