30 lines
619 B
C#
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;
|
|
}
|
|
}
|
|
}
|