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
@@ -19,17 +12,19 @@ namespace AyaNovaQBI
public bool ShowUpdatePriceCostOnlyCheckBox { get; set; } = false;
public bool PriceOnly { get
public bool PriceOnly
{
get
{
return ckUpdatePriceCostOnly.Checked;
}
}
}
public string UpdateMessage { get; set; }
private void MapApproveUpdateSelectedItems_Load(object sender, EventArgs e)
{
ckUpdatePriceCostOnly.Visible = ShowUpdatePriceCostOnlyCheckBox;
lblUpdateMessage.Text=UpdateMessage;
lblUpdateMessage.Text = UpdateMessage;
btnCancel.Text = util.AyaTranslations["Cancel"];
btnOK.Text = util.AyaTranslations["OK"];
}