tbf/TBF/Rig/Output/HeaderFooterDlg.cs
2021-10-26 19:38:09 +02:00

30 lines
619 B
C#

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