After code cleanup

This commit is contained in:
2022-07-09 04:17:38 +00:00
parent aaed4430f1
commit f9baf2b3df
53 changed files with 255 additions and 465 deletions

View File

@@ -1,11 +1,4 @@
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
@@ -16,34 +9,34 @@ namespace AyaNovaQBI
{
InitializeComponent();
}
private string _CompanyName;
private string _CompanyPath;
public string QBCompanyName
{
set
{
_CompanyName = value;
}
}
public string QBCompanyPath
{
set
{
_CompanyPath = value;
}
}
private void ApproveCompanyFile_Load(object sender, EventArgs e)
private string _CompanyName;
private string _CompanyPath;
public string QBCompanyName
{
this.btnCancel.Text = util.AyaTranslations["Cancel"];
this.btnOK.Text = util.AyaTranslations["OK"];
this.lblCompany.Text = _CompanyName;
this.lblPath.Text = _CompanyPath;
}
set
{
_CompanyName = value;
}
}
public string QBCompanyPath
{
set
{
_CompanyPath = value;
}
}
private void ApproveCompanyFile_Load(object sender, EventArgs e)
{
this.btnCancel.Text = util.AyaTranslations["Cancel"];
this.btnOK.Text = util.AyaTranslations["OK"];
this.lblCompany.Text = _CompanyName;
this.lblPath.Text = _CompanyPath;
}
private void btnOK_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
this.DialogResult = DialogResult.OK;
this.Close();
}
}
}