This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -28,7 +26,7 @@ namespace AyaNovaQBI
|
||||
public Map()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Icon = AyaNovaQBI.Properties.Resources.logo;
|
||||
Icon = AyaNovaQBI.Properties.Resources.logo;
|
||||
|
||||
_aya = new DataTable("AyaNova");
|
||||
_aya.Columns.Add("name", typeof(string));
|
||||
@@ -183,7 +181,7 @@ namespace AyaNovaQBI
|
||||
|
||||
private async Task ImportToQuickBooks()
|
||||
{
|
||||
this.Refresh();
|
||||
Refresh();
|
||||
Cursor.Current = Cursors.WaitCursor;
|
||||
ArrayList alErrors = new ArrayList();
|
||||
Waiting w = new Waiting();
|
||||
@@ -258,6 +256,8 @@ namespace AyaNovaQBI
|
||||
}
|
||||
}
|
||||
|
||||
await util.SaveIntegrationObject();
|
||||
|
||||
//display errors if any
|
||||
if (alErrors.Count != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user