This commit is contained in:
49
AyaNovaQBI/MapApproveUpdateSelectedItems.cs
Normal file
49
AyaNovaQBI/MapApproveUpdateSelectedItems.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user