System.Windows.Forms.Form.UpdateWindowText C# (CSharp) Method

UpdateWindowText() private method

private UpdateWindowText ( ) : void
return void
		internal override void UpdateWindowText ()
		{
			if (!IsHandleCreated) {
				return;
			}
			
			if (shown_raised) {
				/* we need to call .SetWindowStyle here instead of just .Text
				   because the presence/absence of Text (== "" or not) can cause
				   other window style things to appear/disappear */
				XplatUI.SetWindowStyle (window.Handle, CreateParams);
			}
			
			XplatUI.Text (Handle, Text.Replace (Environment.NewLine, string.Empty));
		}
		
Form