27 lines
594 B
C#
27 lines
594 B
C#
using System.Windows.Forms;
|
|
using TBF.Resources;
|
|
|
|
namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
|
{
|
|
public partial class HeaderFooterDlg : Form
|
|
{
|
|
public string EditedText
|
|
{
|
|
set { textBox.Text = value; }
|
|
get { return textBox.Text; }
|
|
}
|
|
|
|
public HeaderFooterDlg()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public HeaderFooterDlg(bool isHeader, string text)
|
|
: this()
|
|
{
|
|
Text = isHeader ? Strings.Header : Strings.Footer;
|
|
textBox.Text = text;
|
|
}
|
|
}
|
|
}
|