29 lines
577 B
C#
29 lines
577 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace StandardScene.CarTypes
|
|
{
|
|
public partial class TextViewer : Form
|
|
{
|
|
public TextViewer()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public void UpdateText(string str)
|
|
{
|
|
richTextBox1.Invoke((Action)delegate
|
|
{
|
|
richTextBox1.Text = str;
|
|
});
|
|
}
|
|
}
|
|
}
|