Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.UserInterface.Forms.OutputBox Class Reference

Last update: 16.07.2025

A custom control for displaying output text, with optional buttons for copying and saving text. More...

Inheritance diagram for OpenTD.UserInterface.Forms.OutputBox:

Public Member Functions

 OutputBox ()
 
void Write (string msg)
 
void WriteLine (string msg)
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used.
 

Properties

string OutputText [get]
 
string Caption [get, set]
 
bool CopyButtonEnabled [get, set]
 
bool SaveButtonEnabled [get, set]
 

Detailed Description

A custom control for displaying output text, with optional buttons for copying and saving text.

See also
System.Windows.Forms.UserControl

Constructor & Destructor Documentation

◆ OutputBox()

OpenTD.UserInterface.Forms.OutputBox.OutputBox ( )
inline

Member Function Documentation

◆ Dispose()

override void OpenTD.UserInterface.Forms.OutputBox.Dispose ( bool disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

◆ Write()

void OpenTD.UserInterface.Forms.OutputBox.Write ( string msg)
inline

◆ WriteLine()

void OpenTD.UserInterface.Forms.OutputBox.WriteLine ( string msg)
inline

Property Documentation

◆ Caption

string OpenTD.UserInterface.Forms.OutputBox.Caption
getset

◆ CopyButtonEnabled

bool OpenTD.UserInterface.Forms.OutputBox.CopyButtonEnabled
getset

◆ OutputText

string OpenTD.UserInterface.Forms.OutputBox.OutputText
get

◆ SaveButtonEnabled

bool OpenTD.UserInterface.Forms.OutputBox.SaveButtonEnabled
getset

The documentation for this class was generated from the following files:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/UserInterface/Forms/OutputBox.cs
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/UserInterface/Forms/OutputBox.Designer.cs

Connect with Ansys