Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 2091 Remove deprecated controls #2157

Commits on Nov 6, 2019

  1. Remove deprecated API

    Fixes dotnet#2091
    
    - Remove the following API because they have been obsolete since .NET 2.0:
    	* `Menu`
    	* `MainMenu`
    	* `ContextMenu`
    	* `MenuItem`
    	* `IMenuEditorService`
    	* `ToolBar`
    	* `ToolBarAppearance`
    	* `ToolBarButton`
    	* `ToolBarButtonClickEventArgs`
    	* `ToolBarButtonClickEventHandler`
    	* `ToolBarButtonStyle`
    	* `ToolBarTextAlign`
    	* `DataGrid`
    	* `DataGridAddNewRow`
    	* `DataGridBoolColumn`
    	* `DataGridCaption`
    	* `DataGridCell`
    	* `DataGridColumnCollection`
    	* `DataGridColumnStyle`
    	* `DataGridDefaultColumnWidthTypeConverter`
    	* `DataGridLineStyle`
    	* `DataGridParentRows`
    	* `DataGridParentRowsLabel`
    	* `DataGridRelationshipRow`
    	* `DataGridRow`
    	* `DataGridState`
    	* `DataGridTableCollection`
    	* `DataGridTableStyle`
    	* `DataGridTextBox`
    	* `DataGridTextBoxColumn`
    	* `DataGridToolTip`
    	* `GridTablesFactory`
    	* `IDataGridEditingService`
    - Remove the following members in `AxHost` type:
    	* `ContextMenu ContextMenu { get; set; }`
    	* `event EventHandler ContextMenuChanged`
    - Remove the following members in `Control` type:
    	* `ContextMenu ContextMenu { get; set; }`
    	* `event EventHandler ContextMenuChanged`
    	* `void OnContextMenuChanged(EventArgs e)`
    - Remove the following members in `Form` type:
    	* `MainMenu Menu { get; set; }`
    	* `MainMenu MergedMenu { get; }`
    	* `void Control.OnContextMenuChanged(EventArgs e)`
    - Remove the following members in `NotifyIcon` type:
    	* `ContextMenu ContextMenu { get; set; }`
    - Remove the following members in `PrintPreviewDialog` type:
    	* `MainMenu Menu { get; set; }`
    	* `ContextMenu ContextMenu { get; set; }`
    	* `event EventHandler ContextMenuChanged`
    - Remove the following members in `ToolStripDropDown` type:
    	* `ContextMenu ContextMenu { get; set; }`
    	* `event EventHandler ContextMenuChanged`
    - Remove the following members in `TreeNode` type:
    	* `ContextMenu ContextMenu { get; set; }`
    - Remove the following members in `UpDownBase` type:
    	* `ContextMenu ContextMenu { get; set; }`
    RussKie committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    c25937a View commit details
    Browse the repository at this point in the history