This commit is contained in:
2022-07-06 18:08:15 +00:00
parent 9da03e4f7d
commit dda1bb096e
3 changed files with 67 additions and 103 deletions

View File

@@ -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)
{