tbf/TestBenchFramework/BenchControl/Output/FileWriters/Xml/HeaderFooterDlg.cs
2017-02-16 09:15:44 +01:00

30 lines
644 B
C#

///
/// Copyright (c) 2017 Sensus Metering Systems
///
using System.Windows.Forms;
using TBF.Resources;
namespace TBF.BenchControl.Output.FileWriters.Xml
{
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;
}
}
}