This commit is contained in:
2022-07-06 18:59:10 +00:00
parent dda1bb096e
commit 12ca6b2f61
6 changed files with 346 additions and 54 deletions

View File

@@ -0,0 +1,49 @@
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
{
public partial class MapApproveUpdateSelectedItems : Form
{
public MapApproveUpdateSelectedItems()
{
InitializeComponent();
}
bool ShowUpdatePriceCostOnlyCheckBox { get; set; } = false;
bool PriceOnly { get
{
return ckUpdatePriceCostOnly.Checked;
}
}
string UpdateMessage { get; set; }
private void MapApproveUpdateSelectedItems_Load(object sender, EventArgs e)
{
ckUpdatePriceCostOnly.Visible = ShowUpdatePriceCostOnlyCheckBox;
lblUpdateMessage.Text=UpdateMessage;
btnCancel.Text = util.AyaTranslations["Cancel"];
btnOK.Text = util.AyaTranslations["OK"];
}
private void btnOK_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
Close();
}
private void btnCancel_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
Close();
}
}
}