Welcome to mirror list, hosted at ThFree Co, Russian Federation.

7.0-preview5_System.Windows.Forms.md « Microsoft.WindowsDesktop.App « preview5 « api-diff « preview « 7.0 « release-notes - github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 79757bdf7aad6e1bd710b73436220f86c2b02e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
# System.Windows.Forms

``` diff
 namespace System.Windows.Forms {
     public abstract class AxHost : Control, ICustomTypeDescriptor, ISupportInitialize {
         public class State : ISerializable {
-            public State(Stream ms, int storageType, bool manualUpdate, string licKey);
+            public State(Stream ms, int storageType, bool manualUpdate, string? licKey);
         }
     }
-    public struct BindingMemberInfo {
+    public struct BindingMemberInfo : IEquatable<BindingMemberInfo> {
+        public bool Equals(BindingMemberInfo other);
     }
     public class ContextMenuStrip : ToolStripDropDownMenu {
-        public Control SourceControl { get; }
+        public Control? SourceControl { get; }
     }
     public class Control : Component, IArrangedElement, IBindableComponent, IComponent, IDisposable, IDropTarget, IHandle, IKeyboardToolTip, Interop.Ole32.IOleControl, Interop.Ole32.IOleInPlaceActiveObject, Interop.Ole32.IOleInPlaceObject, Interop.Ole32.IOleObject, Interop.Ole32.IOleWindow, Interop.Ole32.IPersist, Interop.Ole32.IPersistStorage, Interop.Ole32.IPersistStreamInit, Interop.Ole32.IQuickActivate, Interop.Ole32.IViewObject, Interop.Ole32.IViewObject2, Interop.Oleaut32.IPersistPropertyBag, ISupportOleDropSource, ISynchronizeInvoke, IWin32Window {
-        public Control(string text);
+        public Control(string? text);
-        public Control(string text, int left, int top, int width, int height);
+        public Control(string? text, int left, int top, int width, int height);
-        public Control(Control parent, string text);
+        public Control(Control? parent, string? text);
-        public Control(Control parent, string text, int left, int top, int width, int height);
+        public Control(Control? parent, string? text, int left, int top, int width, int height);
-        public string AccessibleDefaultActionDescription { get; set; }
+        public string? AccessibleDefaultActionDescription { get; set; }
-        public string AccessibleDescription { get; set; }
+        public string? AccessibleDescription { get; set; }
-        public string AccessibleName { get; set; }
+        public string? AccessibleName { get; set; }
-        public virtual Image BackgroundImage { get; set; }
+        public virtual Image? BackgroundImage { get; set; }
-        public virtual BindingContext BindingContext { get; set; }
+        public virtual BindingContext? BindingContext { get; set; }
-        public virtual ContextMenuStrip ContextMenuStrip { get; set; }
+        public virtual ContextMenuStrip? ContextMenuStrip { get; set; }
         public virtual Cursor Cursor { get; set; }
         public virtual Font Font { get; set; }
-        public event EventHandler AutoSizeChanged;
+        public event EventHandler? AutoSizeChanged;
-        public event EventHandler BackColorChanged;
+        public event EventHandler? BackColorChanged;
-        public event EventHandler BackgroundImageChanged;
+        public event EventHandler? BackgroundImageChanged;
-        public event EventHandler BackgroundImageLayoutChanged;
+        public event EventHandler? BackgroundImageLayoutChanged;
-        public event EventHandler BindingContextChanged;
+        public event EventHandler? BindingContextChanged;
-        public event EventHandler CausesValidationChanged;
+        public event EventHandler? CausesValidationChanged;
-        public event EventHandler ClientSizeChanged;
+        public event EventHandler? ClientSizeChanged;
-        public event EventHandler ContextMenuStripChanged;
+        public event EventHandler? ContextMenuStripChanged;
-        public event EventHandler CursorChanged;
+        public event EventHandler? CursorChanged;
-        public event EventHandler DockChanged;
+        public event EventHandler? DockChanged;
-        public event EventHandler EnabledChanged;
+        public event EventHandler? EnabledChanged;
-        public event EventHandler FontChanged;
+        public event EventHandler? FontChanged;
-        public event EventHandler ForeColorChanged;
+        public event EventHandler? ForeColorChanged;
-        protected virtual AccessibleObject GetAccessibilityObjectById(int objectId);
+        protected virtual AccessibleObject? GetAccessibilityObjectById(int objectId);
-        public bool SelectNextControl(Control ctl, bool forward, bool tabStopOnly, bool nested, bool wrap);
+        public bool SelectNextControl(Control? ctl, bool forward, bool tabStopOnly, bool nested, bool wrap);
     }
     public sealed class DataGridViewAdvancedBorderStyle : ICloneable {
-        public override bool Equals(object other);
+        public override bool Equals(object? other);
     }
     public class Form : ContainerControl {
+        protected override void OnGotFocus(EventArgs e);
     }
     public class Label : Control, IAutomationLiveRegion {
         public override string Text { get; set; }
     }
-    public struct LinkArea {
+    public struct LinkArea : IEquatable<LinkArea> {
-        public override bool Equals(object o);
+        public override bool Equals(object? o);
+        public bool Equals(LinkArea other);
         public class LinkAreaConverter : TypeConverter {
-            public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType);
+            public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType);
-            public override object CreateInstance(ITypeDescriptorContext context, IDictionary propertyValues);
+            public override object CreateInstance(ITypeDescriptorContext? context, IDictionary propertyValues);
-            public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes);
+            public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext? context, object value, Attribute[]? attributes);
         }
     }
     public class ListBox : ListControl {
         public override Font Font { get; set; }
     }
     public class ListView : Control {
         public class CheckedListViewItemCollection : ICollection, IEnumerable, IList {
-            bool System.Collections.ICollection.IsSynchronized { get; }
+            bool ICollection.IsSynchronized { get; }
-            object System.Collections.ICollection.SyncRoot { get; }
+            object ICollection.SyncRoot { get; }
-            bool System.Collections.IList.IsFixedSize { get; }
+            bool IList.IsFixedSize { get; }
-            object System.Collections.IList.this[int index] { get; set; }
+            object IList.this[int index] { get; set; }
         }
         public class SelectedListViewItemCollection : ICollection, IEnumerable, IList {
-            bool System.Collections.ICollection.IsSynchronized { get; }
+            bool ICollection.IsSynchronized { get; }
-            object System.Collections.ICollection.SyncRoot { get; }
+            object ICollection.SyncRoot { get; }
-            bool System.Collections.IList.IsFixedSize { get; }
+            bool IList.IsFixedSize { get; }
-            object System.Collections.IList.this[int index] { get; set; }
+            object IList.this[int index] { get; set; }
         }
     }
     public class ListViewHitTestInfo {
         public ListViewItem Item { get; }
         public ListViewHitTestLocations Location { get; }
         public ListViewItem.ListViewSubItem SubItem { get; }
     }
-    public struct Message {
+    public struct Message : IEquatable<Message> {
+        public bool Equals(Message other);
     }
     public sealed class NotifyIcon : Component {
         public string Text { get; set; }
     }
-    public struct Padding {
+    public struct Padding : IEquatable<Padding> {
+        public bool Equals(Padding other);
     }
     public class PrintPreviewDialog : Form {
         public override Cursor Cursor { get; set; }
         public override Font Font { get; set; }
     }
     public class ProgressBar : Control {
         public override Font Font { get; set; }
     }
     public abstract class ScrollBar : Control {
         public override Font Font { get; set; }
     }
     public class Splitter : Control {
         public override Font Font { get; set; }
     }
     public class TabControl : Control {
         public class TabPageCollection : ICollection, IEnumerable, IList {
-            bool System.Collections.ICollection.IsSynchronized { get; }
+            bool ICollection.IsSynchronized { get; }
-            object System.Collections.ICollection.SyncRoot { get; }
+            object ICollection.SyncRoot { get; }
-            bool System.Collections.IList.IsFixedSize { get; }
+            bool IList.IsFixedSize { get; }
-            object System.Collections.IList.this[int index] { get; set; }
+            object IList.this[int index] { get; set; }
         }
     }
-    public struct TableLayoutPanelCellPosition {
+    public struct TableLayoutPanelCellPosition : IEquatable<TableLayoutPanelCellPosition> {
+        public bool Equals(TableLayoutPanelCellPosition other);
     }
     public class TabPage : Panel {
         public string ImageKey { get; set; }
         public override string Text { get; set; }
         public string ToolTipText { get; set; }
     }
     public class ToolStripContentPanel : Panel {
         public new string Name { get; set; }
     }
     public class ToolStripDropDownMenu : ToolStripDropDown {
+        protected override AccessibleObject CreateAccessibilityInstance();
     }
     public class TrackBar : Control, ISupportInitialize {
         public override Font Font { get; set; }
     }
     public class TreeViewImageIndexConverter : ImageIndexConverter {
-        public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context);
+        public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext? context);
     }
     public class TreeViewImageKeyConverter : ImageKeyConverter {
-        public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType);
+        public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType);
     }
     public abstract class UpDownBase : ContainerControl {
-        public override Image BackgroundImage { get; set; }
+        public override Image? BackgroundImage { get; set; }
-        public override ContextMenuStrip ContextMenuStrip { get; set; }
+        public override ContextMenuStrip? ContextMenuStrip { get; set; }
         public override string Text { get; set; }
-        public new event EventHandler AutoSizeChanged;
+        public new event EventHandler? AutoSizeChanged;
-        public new event EventHandler BackgroundImageChanged;
+        public new event EventHandler? BackgroundImageChanged;
-        public new event EventHandler BackgroundImageLayoutChanged;
+        public new event EventHandler? BackgroundImageLayoutChanged;
-        public new event EventHandler MouseEnter;
+        public new event EventHandler? MouseEnter;
-        public new event EventHandler MouseHover;
+        public new event EventHandler? MouseHover;
-        public new event EventHandler MouseLeave;
+        public new event EventHandler? MouseLeave;
-        public new event MouseEventHandler MouseMove;
+        public new event MouseEventHandler? MouseMove;
-        protected virtual void OnChanged(object source, EventArgs e);
+        protected virtual void OnChanged(object? source, EventArgs e);
-        protected virtual void OnTextBoxKeyDown(object source, KeyEventArgs e);
+        protected virtual void OnTextBoxKeyDown(object? source, KeyEventArgs e);
-        protected virtual void OnTextBoxKeyPress(object source, KeyPressEventArgs e);
+        protected virtual void OnTextBoxKeyPress(object? source, KeyPressEventArgs e);
-        protected virtual void OnTextBoxLostFocus(object source, EventArgs e);
+        protected virtual void OnTextBoxLostFocus(object? source, EventArgs e);
-        protected virtual void OnTextBoxResize(object source, EventArgs e);
+        protected virtual void OnTextBoxResize(object? source, EventArgs e);
-        protected virtual void OnTextBoxTextChanged(object source, EventArgs e);
+        protected virtual void OnTextBoxTextChanged(object? source, EventArgs e);
     }
     public class UserControl : ContainerControl {
         public override string Text { get; set; }
     }
 }
```