Oprava 2
This commit is contained in:
10
Mip/frmNacenovanie.Designer.cs
generated
10
Mip/frmNacenovanie.Designer.cs
generated
@@ -1856,7 +1856,7 @@
|
||||
this.Polotovar.Controls.Add(this.label17);
|
||||
this.Polotovar.Controls.Add(this.panel10);
|
||||
this.Polotovar.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.Polotovar.Location = new System.Drawing.Point(28, 0);
|
||||
this.Polotovar.Location = new System.Drawing.Point(411, 0);
|
||||
this.Polotovar.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.Polotovar.MaximumSize = new System.Drawing.Size(324, 728);
|
||||
this.Polotovar.MinimumSize = new System.Drawing.Size(23, 728);
|
||||
@@ -4114,7 +4114,7 @@
|
||||
this.Materiál.Controls.Add(this.label15);
|
||||
this.Materiál.Controls.Add(this.panel11);
|
||||
this.Materiál.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.Materiál.Location = new System.Drawing.Point(51, 0);
|
||||
this.Materiál.Location = new System.Drawing.Point(434, 0);
|
||||
this.Materiál.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.Materiál.MaximumSize = new System.Drawing.Size(457, 728);
|
||||
this.Materiál.MinimumSize = new System.Drawing.Size(23, 728);
|
||||
@@ -6370,7 +6370,7 @@
|
||||
this.Naceňovanie.Controls.Add(this.panel77);
|
||||
this.Naceňovanie.Controls.Add(this.panel14);
|
||||
this.Naceňovanie.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.Naceňovanie.Location = new System.Drawing.Point(74, 0);
|
||||
this.Naceňovanie.Location = new System.Drawing.Point(457, 0);
|
||||
this.Naceňovanie.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.Naceňovanie.MaximumSize = new System.Drawing.Size(406, 728);
|
||||
this.Naceňovanie.MinimumSize = new System.Drawing.Size(23, 728);
|
||||
@@ -8596,12 +8596,12 @@
|
||||
this.Vyhodnocovanie.Controls.Add(this.panel112);
|
||||
this.Vyhodnocovanie.Controls.Add(this.panel12);
|
||||
this.Vyhodnocovanie.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.Vyhodnocovanie.Location = new System.Drawing.Point(97, 0);
|
||||
this.Vyhodnocovanie.Location = new System.Drawing.Point(480, 0);
|
||||
this.Vyhodnocovanie.Margin = new System.Windows.Forms.Padding(1);
|
||||
this.Vyhodnocovanie.MaximumSize = new System.Drawing.Size(406, 728);
|
||||
this.Vyhodnocovanie.MinimumSize = new System.Drawing.Size(23, 728);
|
||||
this.Vyhodnocovanie.Name = "Vyhodnocovanie";
|
||||
this.Vyhodnocovanie.Size = new System.Drawing.Size(406, 728);
|
||||
this.Vyhodnocovanie.Size = new System.Drawing.Size(23, 728);
|
||||
this.Vyhodnocovanie.TabIndex = 4;
|
||||
//
|
||||
// panel112
|
||||
|
||||
@@ -257,6 +257,8 @@ namespace Mip
|
||||
|
||||
}
|
||||
|
||||
button8_Click(null, null);
|
||||
|
||||
this.CenterToScreen();
|
||||
}
|
||||
|
||||
@@ -1775,7 +1777,15 @@ namespace Mip
|
||||
{
|
||||
decimal decCenaKusu = 0;
|
||||
|
||||
if ((objObjectSadzby.ImpregnaciaMaterial + objObjectSadzby.ImpregnaciaPraca).ToString() != "") decCenaKusu = (_cenaImp * _sadzba / (objObjectSadzby.ImpregnaciaMaterial + objObjectSadzby.ImpregnaciaPraca));
|
||||
|
||||
if ((objObjectSadzby.ImpregnaciaMaterial + objObjectSadzby.ImpregnaciaPraca).ToString() != "")
|
||||
{
|
||||
var impregnaciaSpolu = objObjectSadzby.ImpregnaciaMaterial + objObjectSadzby.ImpregnaciaPraca;
|
||||
if (impregnaciaSpolu != 0)
|
||||
{
|
||||
decCenaKusu = (_cenaImp * _sadzba / impregnaciaSpolu);
|
||||
}
|
||||
}
|
||||
|
||||
return decCenaKusu;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user