33 lines
1009 B
C#
33 lines
1009 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AyaNovaQBI
|
|
{
|
|
public partial class SetQBImportServiceRateAccounts : Form
|
|
{
|
|
public SetQBImportServiceRateAccounts()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void SetQBImportServiceRateAccounts_Load(object sender, EventArgs e)
|
|
{
|
|
btnCancel.Text = util.AyaTranslations["Cancel"];
|
|
btnOK.Text = util.AyaTranslations["OK"];
|
|
|
|
cbIncomeAccount.DisplayMember = "FullName";
|
|
cbIncomeAccount.ValueMember = "ID";
|
|
cbIncomeAccount.DataSource = util.QBAccounts;
|
|
if (!string.IsNullOrEmpty(util.QDat.QBServiceIncomeAccountRef))
|
|
cbIncomeAccount.SelectedValue = util.QDat.QBServiceIncomeAccountRef;
|
|
}
|
|
}
|
|
}
|