9 writes to Caption
System.Windows.Forms (9)
winforms\Managed\System\WinForms\Control.cs (1)
1865
cp.
Caption
= text;
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
947
cparams.
Caption
= String.Empty;
winforms\Managed\System\WinForms\Form.cs (2)
1071
cp.
Caption
= RestrictedWindowText(cp.Caption);
7820
cp.
Caption
= null;
winforms\Managed\System\WinForms\NativeWindow.cs (1)
760
cp.
Caption
= cp.Caption.Substring(0, Int16.MaxValue);
winforms\Managed\System\WinForms\PropertyGridInternal\GridToolTip.cs (1)
116
cp.
Caption
= this.ToolTip;
winforms\Managed\System\WinForms\StatusBar.cs (1)
1687
cp.
Caption
= null;
winforms\Managed\System\WinForms\Timer.cs (1)
327
cp.
Caption
= GetType().Name;
winforms\Managed\System\WinForms\ToolTip.cs (1)
262
cp.
Caption
= null;
6 references to Caption
System.Windows.Forms (6)
winforms\Managed\System\WinForms\Form.cs (1)
1071
cp.Caption = RestrictedWindowText(cp.
Caption
);
winforms\Managed\System\WinForms\NativeWindow.cs (5)
759
if (cp.
Caption
!= null && cp.
Caption
.Length > Int16.MaxValue) {
760
cp.Caption = cp.
Caption
.Substring(0, Int16.MaxValue);
764
cp.
Caption
, cp.Style, cp.X, cp.Y, cp.Width, cp.Height, new HandleRef(cp, cp.Parent), NativeMethods.NullHandleRef,
775
Debug.WriteLineIf(CoreSwitches.PerfTrack.Enabled, "Handle created of type '" + cp.ClassName + "' with caption '" + cp.
Caption
+ "' from NativeWindow of type '" + GetType().FullName + "'");