47 references to ControlsInternal
System.Windows.Forms (47)
winforms\Managed\System\WinForms\ToolStrip.cs (2)
1631
if (oldToolStripPanelRow != null && oldToolStripPanelRow.
ControlsInternal
.Contains(this)) {
1632
oldToolStripPanelRow.
ControlsInternal
.Remove(this);
winforms\Managed\System\WinForms\ToolStripPanel.cs (8)
544
controlToBeDragged.ToolStripPanelRow.
ControlsInternal
.Remove(e.Control);
588
foreach (Control control in row.
ControlsInternal
) {
1073
&& previousRow.
ControlsInternal
.Count == 1 /*toolStripToDrag*/
1074
&& previousRow.
ControlsInternal
.Contains(toolStripToDrag)) {
1103
if (currentToolStripPanelRow != null && currentToolStripPanelRow.
ControlsInternal
.Count == 1) {
1116
if (currentToolStripPanelRow != null && currentToolStripPanelRow.
ControlsInternal
.Count >1) {
1257
for (int j = 0; j < RowsInternal[i].
ControlsInternal
.Count; j++) {
1258
Debug.Write(String.Format(CultureInfo.CurrentCulture, "[{0} {1}] ", RowsInternal[i].
ControlsInternal
[j].Name, ((ToolStripPanelCell)RowsInternal[i].Cells[j]).Margin));
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (37)
95
Control[] controls = new Control[
ControlsInternal
.Count];
96
ControlsInternal
.CopyTo(controls,0);
122
return
ControlsInternal
.Cells;
287
this.
ControlsInternal
.Clear();
335
if (this.
ControlsInternal
.Count <= 0) {
731
if (
ControlsInternal
.Count == 0) {
778
foreach (Control c in Row.
ControlsInternal
) {
822
if (index >= 0 && index < Row.
ControlsInternal
.Count - 1) {
865
for (int i = index + 1; i < Row.
ControlsInternal
.Count; i++) {
991
for (int i = 0; i < Row.
ControlsInternal
.Count; i++ ){
992
totalSize += Row.GetMinimumSize(Row.
ControlsInternal
[i] as ToolStrip);
1046
int index = Row.
ControlsInternal
.IndexOf(movingControl);
1131
if (spaceToFree == 0 || index < 0 || index >= Row.
ControlsInternal
.Count) {
1240
int index = Row.
ControlsInternal
.IndexOf(toolStripToDrag);
1242
if (index < Row.
ControlsInternal
.Count -1 /*not the last one in the row*/) {
1274
if (!Row.
ControlsInternal
.Contains(toolStripToDrag)) {
1278
if (Row.
ControlsInternal
.Count > 0) {
1301
Control controlToPushAside = Row.
ControlsInternal
[index];
1303
if (index < Row.
ControlsInternal
.Count) {
1304
Row.
ControlsInternal
.Insert(index, toolStripToDrag);
1307
Row.
ControlsInternal
.Add(toolStripToDrag);
1326
if (index < Row.
ControlsInternal
.Count -1) {
1395
Row.
ControlsInternal
.Add(toolStripToDrag);
1502
for (int i = 0; i < Row.
ControlsInternal
.Count; i++ ){
1503
totalSize += Row.GetMinimumSize(Row.
ControlsInternal
[i] as ToolStrip);
1559
int index = Row.
ControlsInternal
.IndexOf(movingControl);
1646
if (spaceToFree == 0 || index < 0 || index >= Row.
ControlsInternal
.Count) {
1804
if (!Row.
ControlsInternal
.Contains(toolStripToDrag)) {
1807
if (Row.
ControlsInternal
.Count > 0) {
1830
Control controlToPushAside = Row.
ControlsInternal
[index];
1832
if (index < Row.
ControlsInternal
.Count) {
1833
Row.
ControlsInternal
.Insert(index, toolStripToDrag);
1836
Row.
ControlsInternal
.Add(toolStripToDrag);
1855
if (index < Row.
ControlsInternal
.Count -1) {
1926
Row.
ControlsInternal
.Add(toolStripToDrag);
1953
int index = Row.
ControlsInternal
.IndexOf(toolStripToDrag);
1955
if (index < Row.
ControlsInternal
.Count -1 /*not the last one in the row*/) {