This commit is contained in:
@@ -28,5 +28,19 @@ namespace AyaNovaQBI
|
||||
if (!string.IsNullOrEmpty(util.QDat.QBServiceIncomeAccountRef))
|
||||
cbIncomeAccount.SelectedValue = util.QDat.QBServiceIncomeAccountRef;
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
Close();
|
||||
}
|
||||
|
||||
private async void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
util.QDat.QBServiceIncomeAccountRef = cbIncomeAccount.SelectedValue.ToString();
|
||||
await util.SaveIntegrationObject();
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user