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