Files
ravenqbi/AyaNovaQBI/SetToBePrinted.cs
2022-07-09 04:17:38 +00:00

56 lines
1.1 KiB
C#

using System;
using System.Windows.Forms;
namespace AyaNovaQBI
{
public partial class SetToBePrinted : Form
{
public SetToBePrinted()
{
InitializeComponent();
}
public string DialogTitle { get; set; }
public string OptionTitle { get; set; }
public string OptionDescription { get; set; }
private void SetQBClass_load(object sender, EventArgs e)
{
Text = DialogTitle;
lblDescription.Text = OptionDescription;
lblTitle.Text = OptionTitle;
btnCancel.Text = util.AyaTranslations["Cancel"];
btnOK.Text = util.AyaTranslations["OK"];
}
public bool ToBePrinted
{
get
{
return this.ckPrinted.Checked;
}
set
{
this.ckPrinted.Checked = value;
}
}
private void btnOK_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
Close();
}
}
}