This commit is contained in:
43
AyaNovaQBI/SetInfoOnly.cs
Normal file
43
AyaNovaQBI/SetInfoOnly.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace AyaNovaQBI
|
||||
{
|
||||
public partial class SetInfoOnly : Form
|
||||
{
|
||||
public SetInfoOnly()
|
||||
{
|
||||
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"];
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user