1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolBar.cs (1)
1798
this.
owner
= owner;
31 references to owner
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ToolBar.cs (31)
1808
if (index < 0 || ((
owner
.buttons != null) && (index >=
owner
.buttonCount)))
1810
return
owner
.buttons[index];
1816
if (index < 0 || ((
owner
.buttons != null) && index >=
owner
.buttonCount)) {
1823
owner
.InternalSetButton(index, value, true, true);
1871
return
owner
.buttonCount;
1916
int index =
owner
.InternalAddButton(button);
1919
owner
.UpdateButtons();
1961
owner
.UpdateButtons();
1973
if (
owner
.buttons == null) {
1977
for (int x =
owner
.buttonCount; x > 0; x--) {
1978
if (
owner
.IsHandleCreated) {
1979
owner
.SendMessage(NativeMethods.TB_DELETEBUTTON, x - 1, 0);
1981
owner
.RemoveAt(x - 1);
1984
owner
.buttons = null;
1985
owner
.buttonCount = 0;
1986
if (!
owner
.Disposing) {
1987
owner
.UpdateButtons();
2023
if (
owner
.buttonCount > 0) {
2024
System.Array.Copy(
owner
.buttons, 0, dest, index,
owner
.buttonCount);
2088
owner
.InsertButton(index, button);
2117
int count = (
owner
.buttons == null) ? 0 :
owner
.buttonCount;
2122
if (
owner
.IsHandleCreated) {
2123
owner
.SendMessage(NativeMethods.TB_DELETEBUTTON, index, 0);
2126
owner
.RemoveAt(index);
2127
owner
.UpdateButtons();
2169
return new WindowsFormsUtils.ArraySubsetEnumerator(
owner
.buttons,
owner
.buttonCount);