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