This commit is contained in:
2022-07-01 16:52:57 +00:00
parent 40a720bcc9
commit ecfb1189a4
5 changed files with 339 additions and 34 deletions

View File

@@ -0,0 +1,55 @@
using System;
using System.Data;
using System.Windows.Forms;
namespace AyaNovaQBI
{
public partial class SetMemoField : Form
{
public SetMemoField()
{
InitializeComponent();
}
public string DialogTitle { get; set; }
public string OptionTitle { get; set; }
public string OptionDescription { get; set; }
public bool FillMemoField
{
get
{
return this.ckSetMemo.Checked;
}
set
{
this.ckSetMemo.Checked = value;
}
}
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"];
}
private void btnOK_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
Close();
}
}
}