SourceWriter.ViewController.ViewDidAppear C# (CSharp) Method

ViewDidAppear() public method

This method is called after the View being handled by this View Controller has been displayed on screen.
public ViewDidAppear ( ) : void
return void
		public override void ViewDidAppear ()
		{
			base.ViewDidAppear ();

			// Set Window Title
			if (++App.NewWindowNumber == 0) {
				this.View.Window.Title = "untitled";
			} else {
				this.View.Window.Title = string.Format("untitled {0}", App.NewWindowNumber);
			}
				
			// Configure
			Keyword = "";
			KeywordInfo = null;
	
			// Update UI
			App.ReformatItem.Enabled = (Text.Length > 0);
			WindowController.Print.Disabled = false;
		}