This commit is contained in:
2022-06-30 23:04:54 +00:00
parent aa4f17416f
commit 79609d64b4
4 changed files with 12 additions and 5 deletions

View File

@@ -81,6 +81,7 @@
this.btnOK.TabIndex = 4; this.btnOK.TabIndex = 4;
this.btnOK.Text = "OK"; this.btnOK.Text = "OK";
this.btnOK.UseVisualStyleBackColor = true; this.btnOK.UseVisualStyleBackColor = true;
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
// //
// ApproveCompanyFile // ApproveCompanyFile
// //

View File

@@ -39,5 +39,11 @@ namespace AyaNovaQBI
this.lblCompany.Text = _CompanyName; this.lblCompany.Text = _CompanyName;
this.lblPath.Text = _CompanyPath; this.lblPath.Text = _CompanyPath;
} }
private void btnOK_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
} }
} }

View File

@@ -41,10 +41,10 @@ namespace AyaNovaQBI
} }
//check if setup is required //check if setup is required
if (util.QBIntegration.Items.Count == 0) //if (util.QBIntegration.Items.Count == 0)
{ //{
MessageBox.Show("STUB: mainform, SETUP is required for qbi, no maps, no integration data set"); // MessageBox.Show("STUB: mainform,no maps, no integration data set");
} //}
} }
grid.Visible = true; grid.Visible = true;

View File

@@ -30,7 +30,7 @@ namespace AyaNovaQBI
{ {
get get
{ {
return (long)cbStatus.SelectedItem; return (long)cbStatus.SelectedValue;
} }
set set
{ {