This commit is contained in:
2022-07-10 23:15:10 +00:00
parent 860fe83d13
commit 8bd5e8ae4f
3 changed files with 47 additions and 64 deletions

View File

@@ -49,21 +49,29 @@ namespace AyaNovaQBI
cbQBItems.ValueMember = "id";
btnCancel.Text = util.AyaTranslations["Cancel"];
btnOK.Text = util.AyaTranslations["OK"];
lblImport.Visible = btnImport.Visible = CanImport;
}
private void btnCancel_Click(object sender, EventArgs e)
{
Choice = "CANCEL";
DialogResult = DialogResult.Cancel;
Close();
}
private void btnOK_Click(object sender, EventArgs e)
{
Choice = "LINK";
DialogResult = DialogResult.OK;
Close();
}
private void btnImport_Click(object sender, EventArgs e)
{
Choice = "IMPORT";
DialogResult = DialogResult.OK;
Close();
}
}//eoc
}//eons