Oprava vyhodnocovania a tlace
This commit is contained in:
@@ -167,20 +167,16 @@ namespace Mip
|
||||
{
|
||||
numericUpDown1.Visible = true;
|
||||
}
|
||||
//if (FirstTimeLoad)
|
||||
//{
|
||||
// button8_Click(null, null);
|
||||
//}
|
||||
if (FirstTimeLoad && !objObjectVyhodnocovanie.FormDataLoadedAndReady)
|
||||
{
|
||||
button8_Click(null, null);
|
||||
}
|
||||
button9_Click(null, null);
|
||||
|
||||
//if (Form.ActiveForm != null)
|
||||
//{
|
||||
//}
|
||||
FirstTimeLoad = false;
|
||||
|
||||
RefreshAll();
|
||||
|
||||
objObjectVyhodnocovanie.SetDataToForm(this);
|
||||
RefreshAll();
|
||||
RefreshVyhodnotenieAll();
|
||||
|
||||
if (this.Text.ToString() == "Print")
|
||||
@@ -189,7 +185,6 @@ namespace Mip
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void VykresClick(object sender, EventArgs e)
|
||||
@@ -2807,6 +2802,9 @@ namespace Mip
|
||||
string.Format("{0:F2}", 0) :
|
||||
string.Format("{0:F2}", (Convert.ToDecimal(form.VyhodnocovanieCenaZaKus.Text) / Convert.ToDecimal(form.label547.Text) * 100) - 100);
|
||||
VyhodnotenyZisk = form.label548.Text;
|
||||
form.VyhodnocovanieCenaMaterial.Value = Convert.ToDecimal(form.label182.Text);
|
||||
form.VyhodnocovanieCenaImpregnaciaPraca.Value = Convert.ToDecimal(form.label181.Text);
|
||||
form.VyhodnocovanieCenaImpregnaciaMaterial.Value = Convert.ToDecimal(form.label193.Text);
|
||||
//if (IDNacenovanie == 0)
|
||||
//{
|
||||
// form.VyhodnocovanieCenaZaKus.Text =
|
||||
|
||||
Reference in New Issue
Block a user