diff --git a/.vs/Mip_v1/v16/.suo b/.vs/Mip_v1/v16/.suo index 8cc2f2b..bdd30b9 100644 Binary files a/.vs/Mip_v1/v16/.suo and b/.vs/Mip_v1/v16/.suo differ diff --git a/Mip/frmMain.cs b/Mip/frmMain.cs index 4f754b4..bbfb4db 100644 --- a/Mip/frmMain.cs +++ b/Mip/frmMain.cs @@ -6586,6 +6586,7 @@ namespace Mip Form frmNacenovanie2 = new frmNacenovanie(Convert.ToInt32(dataGridView7.SelectedRows[0].Cells["IDNacenovanie"].Value), Convert.ToInt32(dataGridView7.SelectedRows[0].Cells["IDVyrobokNac"].Value), true, false, true, true, true, true); frmNacenovanie2.Text = "Naceňovanie - vyhodnocovanie"; frmNacenovanie2.ShowDialog(); + refreshNacenovanie(); } else { diff --git a/Mip/frmNacenovanie.Designer.cs b/Mip/frmNacenovanie.Designer.cs index d0a7d52..fe817c7 100644 --- a/Mip/frmNacenovanie.Designer.cs +++ b/Mip/frmNacenovanie.Designer.cs @@ -74,15 +74,91 @@ this.panel16 = new System.Windows.Forms.Panel(); this.Polotovar = new System.Windows.Forms.Panel(); this.panel28 = new System.Windows.Forms.Panel(); - this.panel41 = new System.Windows.Forms.Panel(); - this.panel96 = new System.Windows.Forms.Panel(); - this.label70 = new System.Windows.Forms.Label(); - this.checkBox12 = new System.Windows.Forms.CheckBox(); - this.button14 = new System.Windows.Forms.Button(); - this.panel42 = new System.Windows.Forms.Panel(); - this.label33 = new System.Windows.Forms.Label(); - this.panel43 = new System.Windows.Forms.Panel(); - this.label69 = new System.Windows.Forms.Label(); + this.panel107 = new System.Windows.Forms.Panel(); + this.panel108 = new System.Windows.Forms.Panel(); + this.panel109 = new System.Windows.Forms.Panel(); + this.label419 = new System.Windows.Forms.Label(); + this.label420 = new System.Windows.Forms.Label(); + this.label421 = new System.Windows.Forms.Label(); + this.label422 = new System.Windows.Forms.Label(); + this.label423 = new System.Windows.Forms.Label(); + this.label424 = new System.Windows.Forms.Label(); + this.label425 = new System.Windows.Forms.Label(); + this.label426 = new System.Windows.Forms.Label(); + this.label427 = new System.Windows.Forms.Label(); + this.panel129 = new System.Windows.Forms.Panel(); + this.label428 = new System.Windows.Forms.Label(); + this.label429 = new System.Windows.Forms.Label(); + this.label430 = new System.Windows.Forms.Label(); + this.label431 = new System.Windows.Forms.Label(); + this.label432 = new System.Windows.Forms.Label(); + this.label433 = new System.Windows.Forms.Label(); + this.label434 = new System.Windows.Forms.Label(); + this.label435 = new System.Windows.Forms.Label(); + this.panel131 = new System.Windows.Forms.Panel(); + this.panel134 = new System.Windows.Forms.Panel(); + this.label436 = new System.Windows.Forms.Label(); + this.label437 = new System.Windows.Forms.Label(); + this.label438 = new System.Windows.Forms.Label(); + this.label439 = new System.Windows.Forms.Label(); + this.myNumericUpDown142 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown143 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown144 = new MyTools.MyNumericUpDown(); + this.panel135 = new System.Windows.Forms.Panel(); + this.label440 = new System.Windows.Forms.Label(); + this.label441 = new System.Windows.Forms.Label(); + this.label442 = new System.Windows.Forms.Label(); + this.label596 = new System.Windows.Forms.Label(); + this.myNumericUpDown145 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown146 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown147 = new MyTools.MyNumericUpDown(); + this.label597 = new System.Windows.Forms.Label(); + this.panel136 = new System.Windows.Forms.Panel(); + this.panel137 = new System.Windows.Forms.Panel(); + this.label598 = new System.Windows.Forms.Label(); + this.myNumericUpDown148 = new MyTools.MyNumericUpDown(); + this.label599 = new System.Windows.Forms.Label(); + this.myNumericUpDown149 = new MyTools.MyNumericUpDown(); + this.label600 = new System.Windows.Forms.Label(); + this.myNumericUpDown150 = new MyTools.MyNumericUpDown(); + this.panel139 = new System.Windows.Forms.Panel(); + this.label601 = new System.Windows.Forms.Label(); + this.label606 = new System.Windows.Forms.Label(); + this.myNumericUpDown151 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown152 = new MyTools.MyNumericUpDown(); + this.label607 = new System.Windows.Forms.Label(); + this.myNumericUpDown153 = new MyTools.MyNumericUpDown(); + this.label608 = new System.Windows.Forms.Label(); + this.panel140 = new System.Windows.Forms.Panel(); + this.button20 = new System.Windows.Forms.Button(); + this.button21 = new System.Windows.Forms.Button(); + this.panel141 = new System.Windows.Forms.Panel(); + this.myNumericUpDown154 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown155 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown156 = new MyTools.MyNumericUpDown(); + this.label609 = new System.Windows.Forms.Label(); + this.label610 = new System.Windows.Forms.Label(); + this.label611 = new System.Windows.Forms.Label(); + this.label612 = new System.Windows.Forms.Label(); + this.label613 = new System.Windows.Forms.Label(); + this.label614 = new System.Windows.Forms.Label(); + this.panel142 = new System.Windows.Forms.Panel(); + this.checkBox41 = new System.Windows.Forms.CheckBox(); + this.checkBox42 = new System.Windows.Forms.CheckBox(); + this.myNumericUpDown157 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown158 = new MyTools.MyNumericUpDown(); + this.myNumericUpDown159 = new MyTools.MyNumericUpDown(); + this.label615 = new System.Windows.Forms.Label(); + this.label616 = new System.Windows.Forms.Label(); + this.myNumericUpDown160 = new MyTools.MyNumericUpDown(); + this.label617 = new System.Windows.Forms.Label(); + this.myNumericUpDown161 = new MyTools.MyNumericUpDown(); + this.checkBox43 = new System.Windows.Forms.CheckBox(); + this.label618 = new System.Windows.Forms.Label(); + this.label620 = new System.Windows.Forms.Label(); + this.checkBox44 = new System.Windows.Forms.CheckBox(); + this.label621 = new System.Windows.Forms.Label(); + this.panel106 = new System.Windows.Forms.Panel(); this.panel32 = new System.Windows.Forms.Panel(); this.panel40 = new System.Windows.Forms.Panel(); this.label39 = new System.Windows.Forms.Label(); @@ -102,7 +178,6 @@ this.label53 = new System.Windows.Forms.Label(); this.label54 = new System.Windows.Forms.Label(); this.label55 = new System.Windows.Forms.Label(); - this.checkBox8 = new System.Windows.Forms.CheckBox(); this.label22 = new System.Windows.Forms.Label(); this.panel31 = new System.Windows.Forms.Panel(); this.panel38 = new System.Windows.Forms.Panel(); @@ -121,7 +196,6 @@ this.myNumericUpDown4 = new MyTools.MyNumericUpDown(); this.myNumericUpDown5 = new MyTools.MyNumericUpDown(); this.myNumericUpDown6 = new MyTools.MyNumericUpDown(); - this.checkBox7 = new System.Windows.Forms.CheckBox(); this.label21 = new System.Windows.Forms.Label(); this.panel30 = new System.Windows.Forms.Panel(); this.panel34 = new System.Windows.Forms.Panel(); @@ -138,7 +212,6 @@ this.myNumericUpDown3 = new MyTools.MyNumericUpDown(); this.label30 = new System.Windows.Forms.Label(); this.myNumericUpDown1 = new MyTools.MyNumericUpDown(); - this.checkBox6 = new System.Windows.Forms.CheckBox(); this.label20 = new System.Windows.Forms.Label(); this.panel29 = new System.Windows.Forms.Panel(); this.button6 = new System.Windows.Forms.Button(); @@ -169,19 +242,29 @@ this.label24 = new System.Windows.Forms.Label(); this.checkBox5 = new System.Windows.Forms.CheckBox(); this.label19 = new System.Windows.Forms.Label(); + this.panel41 = new System.Windows.Forms.Panel(); + this.panel130 = new System.Windows.Forms.Panel(); + this.label593 = new System.Windows.Forms.Label(); + this.panel132 = new System.Windows.Forms.Panel(); + this.label594 = new System.Windows.Forms.Label(); + this.panel143 = new System.Windows.Forms.Panel(); + this.label595 = new System.Windows.Forms.Label(); + this.panel128 = new System.Windows.Forms.Panel(); + this.label592 = new System.Windows.Forms.Label(); + this.panel96 = new System.Windows.Forms.Panel(); + this.label70 = new System.Windows.Forms.Label(); + this.checkBox12 = new System.Windows.Forms.CheckBox(); + this.button14 = new System.Windows.Forms.Button(); + this.panel42 = new System.Windows.Forms.Panel(); + this.label33 = new System.Windows.Forms.Label(); + this.panel43 = new System.Windows.Forms.Panel(); + this.label69 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.panel10 = new System.Windows.Forms.Panel(); this.Materiál = new System.Windows.Forms.Panel(); this.panel45 = new System.Windows.Forms.Panel(); this.panel63 = new System.Windows.Forms.Panel(); - this.panel109 = new System.Windows.Forms.Panel(); - this.label437 = new System.Windows.Forms.Label(); - this.label438 = new System.Windows.Forms.Label(); - this.label439 = new System.Windows.Forms.Label(); - this.label440 = new System.Windows.Forms.Label(); - this.label441 = new System.Windows.Forms.Label(); - this.label442 = new System.Windows.Forms.Label(); this.comboBox9 = new System.Windows.Forms.ComboBox(); this.button13 = new System.Windows.Forms.Button(); this.panel64 = new System.Windows.Forms.Panel(); @@ -219,13 +302,6 @@ this.checkBox31 = new System.Windows.Forms.CheckBox(); this.checkBox32 = new System.Windows.Forms.CheckBox(); this.panel54 = new System.Windows.Forms.Panel(); - this.panel108 = new System.Windows.Forms.Panel(); - this.label431 = new System.Windows.Forms.Label(); - this.label432 = new System.Windows.Forms.Label(); - this.label433 = new System.Windows.Forms.Label(); - this.label434 = new System.Windows.Forms.Label(); - this.label435 = new System.Windows.Forms.Label(); - this.label436 = new System.Windows.Forms.Label(); this.comboBox8 = new System.Windows.Forms.ComboBox(); this.button12 = new System.Windows.Forms.Button(); this.panel55 = new System.Windows.Forms.Panel(); @@ -263,13 +339,6 @@ this.checkBox25 = new System.Windows.Forms.CheckBox(); this.checkBox26 = new System.Windows.Forms.CheckBox(); this.panel47 = new System.Windows.Forms.Panel(); - this.panel107 = new System.Windows.Forms.Panel(); - this.label425 = new System.Windows.Forms.Label(); - this.label426 = new System.Windows.Forms.Label(); - this.label427 = new System.Windows.Forms.Label(); - this.label428 = new System.Windows.Forms.Label(); - this.label429 = new System.Windows.Forms.Label(); - this.label430 = new System.Windows.Forms.Label(); this.comboBox7 = new System.Windows.Forms.ComboBox(); this.button11 = new System.Windows.Forms.Button(); this.panel48 = new System.Windows.Forms.Panel(); @@ -307,13 +376,6 @@ this.checkBox19 = new System.Windows.Forms.CheckBox(); this.checkBox20 = new System.Windows.Forms.CheckBox(); this.panel23 = new System.Windows.Forms.Panel(); - this.panel106 = new System.Windows.Forms.Panel(); - this.label424 = new System.Windows.Forms.Label(); - this.label423 = new System.Windows.Forms.Label(); - this.label422 = new System.Windows.Forms.Label(); - this.label421 = new System.Windows.Forms.Label(); - this.label420 = new System.Windows.Forms.Label(); - this.label419 = new System.Windows.Forms.Label(); this.comboBox6 = new System.Windows.Forms.ComboBox(); this.button15 = new System.Windows.Forms.Button(); this.button10 = new System.Windows.Forms.Button(); @@ -352,6 +414,22 @@ this.checkBox2 = new System.Windows.Forms.CheckBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.panel60 = new System.Windows.Forms.Panel(); + this.panel145 = new System.Windows.Forms.Panel(); + this.label602 = new System.Windows.Forms.Label(); + this.label603 = new System.Windows.Forms.Label(); + this.panel146 = new System.Windows.Forms.Panel(); + this.label604 = new System.Windows.Forms.Label(); + this.label622 = new System.Windows.Forms.Label(); + this.panel147 = new System.Windows.Forms.Panel(); + this.label623 = new System.Windows.Forms.Label(); + this.label624 = new System.Windows.Forms.Label(); + this.label625 = new System.Windows.Forms.Label(); + this.label626 = new System.Windows.Forms.Label(); + this.label627 = new System.Windows.Forms.Label(); + this.label628 = new System.Windows.Forms.Label(); + this.label629 = new System.Windows.Forms.Label(); + this.panel138 = new System.Windows.Forms.Panel(); + this.label619 = new System.Windows.Forms.Label(); this.panel97 = new System.Windows.Forms.Panel(); this.label223 = new System.Windows.Forms.Label(); this.label222 = new System.Windows.Forms.Label(); @@ -985,10 +1063,40 @@ this.panel16.SuspendLayout(); this.Polotovar.SuspendLayout(); this.panel28.SuspendLayout(); - this.panel41.SuspendLayout(); - this.panel96.SuspendLayout(); - this.panel42.SuspendLayout(); - this.panel43.SuspendLayout(); + this.panel107.SuspendLayout(); + this.panel108.SuspendLayout(); + this.panel109.SuspendLayout(); + this.panel129.SuspendLayout(); + this.panel131.SuspendLayout(); + this.panel134.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown142)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown143)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown144)).BeginInit(); + this.panel135.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown145)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown146)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown147)).BeginInit(); + this.panel136.SuspendLayout(); + this.panel137.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown148)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown149)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown150)).BeginInit(); + this.panel139.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown151)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown152)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown153)).BeginInit(); + this.panel140.SuspendLayout(); + this.panel141.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown154)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown155)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown156)).BeginInit(); + this.panel142.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown157)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown158)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown159)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown160)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown161)).BeginInit(); + this.panel106.SuspendLayout(); this.panel32.SuspendLayout(); this.panel40.SuspendLayout(); this.panel39.SuspendLayout(); @@ -1021,10 +1129,17 @@ ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown10)).BeginInit(); + this.panel41.SuspendLayout(); + this.panel130.SuspendLayout(); + this.panel132.SuspendLayout(); + this.panel143.SuspendLayout(); + this.panel128.SuspendLayout(); + this.panel96.SuspendLayout(); + this.panel42.SuspendLayout(); + this.panel43.SuspendLayout(); this.Materiál.SuspendLayout(); this.panel45.SuspendLayout(); this.panel63.SuspendLayout(); - this.panel109.SuspendLayout(); this.panel64.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown98)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown39)).BeginInit(); @@ -1039,7 +1154,6 @@ this.panel69.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown44)).BeginInit(); this.panel54.SuspendLayout(); - this.panel108.SuspendLayout(); this.panel55.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown87)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown33)).BeginInit(); @@ -1054,7 +1168,6 @@ this.panel62.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown38)).BeginInit(); this.panel47.SuspendLayout(); - this.panel107.SuspendLayout(); this.panel48.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown86)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown27)).BeginInit(); @@ -1069,7 +1182,6 @@ this.panel53.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown32)).BeginInit(); this.panel23.SuspendLayout(); - this.panel106.SuspendLayout(); this.panel46.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown75)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown26)).BeginInit(); @@ -1084,6 +1196,10 @@ this.panel25.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown21)).BeginInit(); this.panel60.SuspendLayout(); + this.panel145.SuspendLayout(); + this.panel146.SuspendLayout(); + this.panel147.SuspendLayout(); + this.panel138.SuspendLayout(); this.panel97.SuspendLayout(); this.panel95.SuspendLayout(); this.panel94.SuspendLayout(); @@ -1253,7 +1369,7 @@ this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(1); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(2051, 130); + this.panel1.Size = new System.Drawing.Size(551, 130); this.panel1.TabIndex = 20; // // panel19 @@ -1514,7 +1630,7 @@ this.Výkres.Controls.Add(this.panel15); this.Výkres.Controls.Add(this.panel105); this.Výkres.Dock = System.Windows.Forms.DockStyle.Right; - this.Výkres.Location = new System.Drawing.Point(2051, 0); + this.Výkres.Location = new System.Drawing.Point(551, 0); this.Výkres.MaximumSize = new System.Drawing.Size(1073, 916); this.Výkres.MinimumSize = new System.Drawing.Size(23, 916); this.Výkres.Name = "Výkres"; @@ -1604,7 +1720,7 @@ // button4 // this.button4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.button4.Location = new System.Drawing.Point(1974, 31); + this.button4.Location = new System.Drawing.Point(474, 31); this.button4.Margin = new System.Windows.Forms.Padding(1); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(75, 23); @@ -1659,9 +1775,9 @@ this.panel17.Controls.Add(this.button4); this.panel17.Controls.Add(this.button3); this.panel17.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel17.Location = new System.Drawing.Point(0, 865); + this.panel17.Location = new System.Drawing.Point(0, 860); this.panel17.Name = "panel17"; - this.panel17.Size = new System.Drawing.Size(2051, 56); + this.panel17.Size = new System.Drawing.Size(551, 56); this.panel17.TabIndex = 22; // // panel24 @@ -1672,7 +1788,7 @@ this.panel24.Dock = System.Windows.Forms.DockStyle.Top; this.panel24.Location = new System.Drawing.Point(0, 0); this.panel24.Name = "panel24"; - this.panel24.Size = new System.Drawing.Size(2049, 31); + this.panel24.Size = new System.Drawing.Size(549, 31); this.panel24.TabIndex = 13; // // label14 @@ -1681,7 +1797,7 @@ | System.Windows.Forms.AnchorStyles.Right))); this.label14.Location = new System.Drawing.Point(94, 1); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(1500, 29); + this.label14.Size = new System.Drawing.Size(0, 29); this.label14.TabIndex = 1; this.label14.Text = "----"; // @@ -1712,7 +1828,7 @@ this.panel16.Location = new System.Drawing.Point(0, 130); this.panel16.MinimumSize = new System.Drawing.Size(551, 730); this.panel16.Name = "panel16"; - this.panel16.Size = new System.Drawing.Size(2051, 735); + this.panel16.Size = new System.Drawing.Size(551, 730); this.panel16.TabIndex = 21; // // Polotovar @@ -1724,7 +1840,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(86, 0); + this.Polotovar.Location = new System.Drawing.Point(110, 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); @@ -1734,128 +1850,1048 @@ // // panel28 // - this.panel28.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); this.panel28.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel28.Controls.Add(this.panel107); + this.panel28.Controls.Add(this.panel106); this.panel28.Controls.Add(this.panel41); - this.panel28.Controls.Add(this.panel32); - this.panel28.Controls.Add(this.panel31); - this.panel28.Controls.Add(this.panel30); - this.panel28.Controls.Add(this.panel29); this.panel28.Location = new System.Drawing.Point(21, 21); this.panel28.Name = "panel28"; this.panel28.Size = new System.Drawing.Size(301, 705); this.panel28.TabIndex = 4; // - // panel41 + // panel107 // - this.panel41.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel41.Controls.Add(this.panel96); - this.panel41.Controls.Add(this.button14); - this.panel41.Controls.Add(this.panel42); - this.panel41.Controls.Add(this.panel43); - this.panel41.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel41.Location = new System.Drawing.Point(0, 660); - this.panel41.MaximumSize = new System.Drawing.Size(299, 43); - this.panel41.MinimumSize = new System.Drawing.Size(2, 21); - this.panel41.Name = "panel41"; - this.panel41.Padding = new System.Windows.Forms.Padding(1); - this.panel41.Size = new System.Drawing.Size(299, 43); - this.panel41.TabIndex = 5; + this.panel107.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel107.Controls.Add(this.panel108); + this.panel107.Controls.Add(this.panel131); + this.panel107.Controls.Add(this.panel136); + this.panel107.Controls.Add(this.panel140); + this.panel107.Location = new System.Drawing.Point(0, 422); + this.panel107.MaximumSize = new System.Drawing.Size(301, 420); + this.panel107.MinimumSize = new System.Drawing.Size(301, 27); + this.panel107.Name = "panel107"; + this.panel107.Size = new System.Drawing.Size(301, 27); + this.panel107.TabIndex = 8; // - // panel96 + // panel108 // - this.panel96.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel96.Controls.Add(this.label70); - this.panel96.Controls.Add(this.checkBox12); - this.panel96.Dock = System.Windows.Forms.DockStyle.Top; - this.panel96.Location = new System.Drawing.Point(1, 1); - this.panel96.Name = "panel96"; - this.panel96.Size = new System.Drawing.Size(257, 17); - this.panel96.TabIndex = 14; + this.panel108.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel108.Controls.Add(this.panel109); + this.panel108.Controls.Add(this.panel129); + this.panel108.Controls.Add(this.label435); + this.panel108.Dock = System.Windows.Forms.DockStyle.Top; + this.panel108.Enabled = false; + this.panel108.Location = new System.Drawing.Point(0, 306); + this.panel108.MaximumSize = new System.Drawing.Size(299, 112); + this.panel108.MinimumSize = new System.Drawing.Size(2, 19); + this.panel108.Name = "panel108"; + this.panel108.Size = new System.Drawing.Size(299, 112); + this.panel108.TabIndex = 8; // - // label70 + // panel109 // - this.label70.Dock = System.Windows.Forms.DockStyle.Left; - this.label70.Location = new System.Drawing.Point(0, 0); - this.label70.Name = "label70"; - this.label70.Size = new System.Drawing.Size(145, 15); - this.label70.TabIndex = 1; - this.label70.Text = "Veľkosť polotovaru"; + this.panel109.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel109.Controls.Add(this.label419); + this.panel109.Controls.Add(this.label420); + this.panel109.Controls.Add(this.label421); + this.panel109.Controls.Add(this.label422); + this.panel109.Controls.Add(this.label423); + this.panel109.Controls.Add(this.label424); + this.panel109.Controls.Add(this.label425); + this.panel109.Controls.Add(this.label426); + this.panel109.Controls.Add(this.label427); + this.panel109.Location = new System.Drawing.Point(149, 18); + this.panel109.Name = "panel109"; + this.panel109.Size = new System.Drawing.Size(147, 91); + this.panel109.TabIndex = 5; // - // checkBox12 + // label419 // - this.checkBox12.AutoSize = true; - this.checkBox12.Checked = true; - this.checkBox12.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox12.Dock = System.Windows.Forms.DockStyle.Right; - this.checkBox12.Location = new System.Drawing.Point(240, 0); - this.checkBox12.Name = "checkBox12"; - this.checkBox12.Padding = new System.Windows.Forms.Padding(0, 1, 0, 0); - this.checkBox12.Size = new System.Drawing.Size(15, 15); - this.checkBox12.TabIndex = 3; - this.checkBox12.UseVisualStyleBackColor = true; - this.checkBox12.CheckedChanged += new System.EventHandler(this.checkBox12_CheckedChanged); + this.label419.AutoSize = true; + this.label419.Location = new System.Drawing.Point(0, 3); + this.label419.Name = "label419"; + this.label419.Size = new System.Drawing.Size(37, 13); + this.label419.TabIndex = 26; + this.label419.Text = "Objem"; // - // button14 + // label420 // - this.button14.Dock = System.Windows.Forms.DockStyle.Right; - this.button14.Location = new System.Drawing.Point(258, 1); - this.button14.Margin = new System.Windows.Forms.Padding(1); - this.button14.Name = "button14"; - this.button14.Size = new System.Drawing.Size(38, 39); - this.button14.TabIndex = 1; - this.button14.UseVisualStyleBackColor = true; - this.button14.Click += new System.EventHandler(this.button14_Click); + this.label420.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label420.Location = new System.Drawing.Point(67, 73); + this.label420.Name = "label420"; + this.label420.Size = new System.Drawing.Size(77, 13); + this.label420.TabIndex = 25; + this.label420.Text = "0"; + this.label420.TextAlign = System.Drawing.ContentAlignment.TopRight; // - // panel42 + // label421 // - this.panel42.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel42.Controls.Add(this.label33); - this.panel42.Location = new System.Drawing.Point(129, 19); - this.panel42.Name = "panel42"; - this.panel42.Size = new System.Drawing.Size(129, 21); - this.panel42.TabIndex = 13; + this.label421.AutoSize = true; + this.label421.Location = new System.Drawing.Point(1, 73); + this.label421.Name = "label421"; + this.label421.Size = new System.Drawing.Size(70, 13); + this.label421.TabIndex = 24; + this.label421.Text = "požitého mat."; // - // label33 + // label422 // - this.label33.Location = new System.Drawing.Point(3, 3); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(122, 18); - this.label33.TabIndex = 1; - this.label33.Text = "0"; + this.label422.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label422.Location = new System.Drawing.Point(67, 55); + this.label422.Name = "label422"; + this.label422.Size = new System.Drawing.Size(77, 13); + this.label422.TabIndex = 23; + this.label422.Text = "0"; + this.label422.TextAlign = System.Drawing.ContentAlignment.TopRight; // - // panel43 + // label423 // - this.panel43.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel43.Controls.Add(this.label69); - this.panel43.Location = new System.Drawing.Point(1, 19); - this.panel43.Name = "panel43"; - this.panel43.Size = new System.Drawing.Size(127, 21); - this.panel43.TabIndex = 12; + this.label423.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label423.Location = new System.Drawing.Point(67, 37); + this.label423.Name = "label423"; + this.label423.Size = new System.Drawing.Size(77, 13); + this.label423.TabIndex = 22; + this.label423.Text = "0"; + this.label423.TextAlign = System.Drawing.ContentAlignment.TopRight; // - // label69 + // label424 // - this.label69.Location = new System.Drawing.Point(1, 3); - this.label69.Name = "label69"; - this.label69.Size = new System.Drawing.Size(123, 18); - this.label69.TabIndex = 9; - this.label69.Text = "0"; + this.label424.AutoSize = true; + this.label424.Location = new System.Drawing.Point(1, 37); + this.label424.Name = "label424"; + this.label424.Size = new System.Drawing.Size(57, 13); + this.label424.TabIndex = 20; + this.label424.Text = "polotovaru"; + // + // label425 + // + this.label425.AutoSize = true; + this.label425.Location = new System.Drawing.Point(1, 55); + this.label425.Name = "label425"; + this.label425.Size = new System.Drawing.Size(44, 13); + this.label425.TabIndex = 21; + this.label425.Text = "výpichu"; + // + // label426 + // + this.label426.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label426.Location = new System.Drawing.Point(67, 19); + this.label426.Name = "label426"; + this.label426.Size = new System.Drawing.Size(77, 13); + this.label426.TabIndex = 19; + this.label426.Text = "0"; + this.label426.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // label427 + // + this.label427.AutoSize = true; + this.label427.Location = new System.Drawing.Point(1, 19); + this.label427.Name = "label427"; + this.label427.Size = new System.Drawing.Size(45, 13); + this.label427.TabIndex = 18; + this.label427.Text = "výrobku"; + // + // panel129 + // + this.panel129.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel129.Controls.Add(this.label428); + this.panel129.Controls.Add(this.label429); + this.panel129.Controls.Add(this.label430); + this.panel129.Controls.Add(this.label431); + this.panel129.Controls.Add(this.label432); + this.panel129.Controls.Add(this.label433); + this.panel129.Controls.Add(this.label434); + this.panel129.Location = new System.Drawing.Point(1, 18); + this.panel129.Name = "panel129"; + this.panel129.Size = new System.Drawing.Size(147, 91); + this.panel129.TabIndex = 4; + // + // label428 + // + this.label428.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label428.Location = new System.Drawing.Point(72, 55); + this.label428.Name = "label428"; + this.label428.Size = new System.Drawing.Size(70, 13); + this.label428.TabIndex = 28; + this.label428.Text = "0"; + this.label428.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // label429 + // + this.label429.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label429.Location = new System.Drawing.Point(72, 37); + this.label429.Name = "label429"; + this.label429.Size = new System.Drawing.Size(70, 13); + this.label429.TabIndex = 27; + this.label429.Text = "0"; + this.label429.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // label430 + // + this.label430.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label430.Location = new System.Drawing.Point(72, 19); + this.label430.Name = "label430"; + this.label430.Size = new System.Drawing.Size(70, 13); + this.label430.TabIndex = 26; + this.label430.Text = "0"; + this.label430.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // label431 + // + this.label431.AutoSize = true; + this.label431.Location = new System.Drawing.Point(2, 39); + this.label431.Name = "label431"; + this.label431.Size = new System.Drawing.Size(48, 13); + this.label431.TabIndex = 17; + this.label431.Text = "Ø otvoru"; + // + // label432 + // + this.label432.AutoSize = true; + this.label432.Location = new System.Drawing.Point(2, 57); + this.label432.Name = "label432"; + this.label432.Size = new System.Drawing.Size(33, 13); + this.label432.TabIndex = 18; + this.label432.Text = "dĺžka"; + // + // label433 + // + this.label433.AutoSize = true; + this.label433.Location = new System.Drawing.Point(2, 21); + this.label433.Name = "label433"; + this.label433.Size = new System.Drawing.Size(57, 13); + this.label433.TabIndex = 16; + this.label433.Text = "Ø povrchu"; + // + // label434 + // + this.label434.AutoSize = true; + this.label434.Location = new System.Drawing.Point(2, 3); + this.label434.Name = "label434"; + this.label434.Size = new System.Drawing.Size(142, 13); + this.label434.TabIndex = 15; + this.label434.Text = "Rozmery použitého materiálu"; + // + // label435 + // + this.label435.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label435.Dock = System.Windows.Forms.DockStyle.Top; + this.label435.Location = new System.Drawing.Point(0, 0); + this.label435.Name = "label435"; + this.label435.Size = new System.Drawing.Size(297, 17); + this.label435.TabIndex = 1; + this.label435.Text = "Objem [dm³] a celkové rozmery [mm]"; + // + // panel131 + // + this.panel131.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel131.Controls.Add(this.panel134); + this.panel131.Controls.Add(this.panel135); + this.panel131.Controls.Add(this.label597); + this.panel131.Dock = System.Windows.Forms.DockStyle.Top; + this.panel131.Enabled = false; + this.panel131.Location = new System.Drawing.Point(0, 200); + this.panel131.MaximumSize = new System.Drawing.Size(299, 106); + this.panel131.MinimumSize = new System.Drawing.Size(2, 19); + this.panel131.Name = "panel131"; + this.panel131.Size = new System.Drawing.Size(299, 106); + this.panel131.TabIndex = 7; + // + // panel134 + // + this.panel134.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel134.Controls.Add(this.label436); + this.panel134.Controls.Add(this.label437); + this.panel134.Controls.Add(this.label438); + this.panel134.Controls.Add(this.label439); + this.panel134.Controls.Add(this.myNumericUpDown142); + this.panel134.Controls.Add(this.myNumericUpDown143); + this.panel134.Controls.Add(this.myNumericUpDown144); + this.panel134.Location = new System.Drawing.Point(149, 18); + this.panel134.Name = "panel134"; + this.panel134.Size = new System.Drawing.Size(147, 85); + this.panel134.TabIndex = 10; + // + // label436 + // + this.label436.Location = new System.Drawing.Point(2, 43); + this.label436.Name = "label436"; + this.label436.Size = new System.Drawing.Size(64, 18); + this.label436.TabIndex = 16; + this.label436.Text = "Ø otvoru"; + // + // label437 + // + this.label437.Location = new System.Drawing.Point(2, 64); + this.label437.Name = "label437"; + this.label437.Size = new System.Drawing.Size(64, 18); + this.label437.TabIndex = 17; + this.label437.Text = "dĺžka"; + // + // label438 + // + this.label438.Location = new System.Drawing.Point(2, 22); + this.label438.Name = "label438"; + this.label438.Size = new System.Drawing.Size(64, 18); + this.label438.TabIndex = 15; + this.label438.Text = "Ø povrchu"; + // + // label439 + // + this.label439.AutoSize = true; + this.label439.Location = new System.Drawing.Point(3, 3); + this.label439.Name = "label439"; + this.label439.Size = new System.Drawing.Size(56, 13); + this.label439.TabIndex = 12; + this.label439.Text = "Šírka rezu"; + // + // myNumericUpDown142 + // + this.myNumericUpDown142.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown142.DecimalPlaces = 2; + this.myNumericUpDown142.Location = new System.Drawing.Point(91, 20); + this.myNumericUpDown142.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown142.Name = "myNumericUpDown142"; + this.myNumericUpDown142.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown142.TabIndex = 9; + this.myNumericUpDown142.ValueChanged += new System.EventHandler(this.myNumericUpDown142_ValueChanged); + // + // myNumericUpDown143 + // + this.myNumericUpDown143.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown143.DecimalPlaces = 2; + this.myNumericUpDown143.Location = new System.Drawing.Point(91, 62); + this.myNumericUpDown143.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown143.Name = "myNumericUpDown143"; + this.myNumericUpDown143.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown143.TabIndex = 10; + this.myNumericUpDown143.ValueChanged += new System.EventHandler(this.myNumericUpDown143_ValueChanged); + // + // myNumericUpDown144 + // + this.myNumericUpDown144.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown144.DecimalPlaces = 2; + this.myNumericUpDown144.Location = new System.Drawing.Point(91, 41); + this.myNumericUpDown144.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown144.Name = "myNumericUpDown144"; + this.myNumericUpDown144.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown144.TabIndex = 11; + this.myNumericUpDown144.ValueChanged += new System.EventHandler(this.myNumericUpDown144_ValueChanged); + // + // panel135 + // + this.panel135.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel135.Controls.Add(this.label440); + this.panel135.Controls.Add(this.label441); + this.panel135.Controls.Add(this.label442); + this.panel135.Controls.Add(this.label596); + this.panel135.Controls.Add(this.myNumericUpDown145); + this.panel135.Controls.Add(this.myNumericUpDown146); + this.panel135.Controls.Add(this.myNumericUpDown147); + this.panel135.Location = new System.Drawing.Point(1, 18); + this.panel135.Name = "panel135"; + this.panel135.Size = new System.Drawing.Size(147, 85); + this.panel135.TabIndex = 9; + // + // label440 + // + this.label440.Location = new System.Drawing.Point(2, 43); + this.label440.Name = "label440"; + this.label440.Size = new System.Drawing.Size(64, 18); + this.label440.TabIndex = 13; + this.label440.Text = "Ø otvoru"; + // + // label441 + // + this.label441.Location = new System.Drawing.Point(2, 64); + this.label441.Name = "label441"; + this.label441.Size = new System.Drawing.Size(64, 18); + this.label441.TabIndex = 14; + this.label441.Text = "dĺžka"; + // + // label442 + // + this.label442.Location = new System.Drawing.Point(2, 22); + this.label442.Name = "label442"; + this.label442.Size = new System.Drawing.Size(64, 18); + this.label442.TabIndex = 12; + this.label442.Text = "Ø povrchu"; + // + // label596 + // + this.label596.AutoSize = true; + this.label596.Location = new System.Drawing.Point(3, 3); + this.label596.Name = "label596"; + this.label596.Size = new System.Drawing.Size(103, 13); + this.label596.TabIndex = 9; + this.label596.Text = "Prídavok na rezanie"; + // + // myNumericUpDown145 + // + this.myNumericUpDown145.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown145.DecimalPlaces = 2; + this.myNumericUpDown145.Location = new System.Drawing.Point(91, 20); + this.myNumericUpDown145.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown145.Name = "myNumericUpDown145"; + this.myNumericUpDown145.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown145.TabIndex = 0; + this.myNumericUpDown145.ValueChanged += new System.EventHandler(this.myNumericUpDown145_ValueChanged); + // + // myNumericUpDown146 + // + this.myNumericUpDown146.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown146.DecimalPlaces = 2; + this.myNumericUpDown146.Location = new System.Drawing.Point(91, 62); + this.myNumericUpDown146.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown146.Name = "myNumericUpDown146"; + this.myNumericUpDown146.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown146.TabIndex = 7; + this.myNumericUpDown146.ValueChanged += new System.EventHandler(this.myNumericUpDown146_ValueChanged); + // + // myNumericUpDown147 + // + this.myNumericUpDown147.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown147.DecimalPlaces = 2; + this.myNumericUpDown147.Location = new System.Drawing.Point(91, 41); + this.myNumericUpDown147.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown147.Name = "myNumericUpDown147"; + this.myNumericUpDown147.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown147.TabIndex = 8; + this.myNumericUpDown147.ValueChanged += new System.EventHandler(this.myNumericUpDown147_ValueChanged); + // + // label597 + // + this.label597.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label597.Dock = System.Windows.Forms.DockStyle.Top; + this.label597.Location = new System.Drawing.Point(0, 0); + this.label597.Name = "label597"; + this.label597.Size = new System.Drawing.Size(297, 17); + this.label597.TabIndex = 1; + this.label597.Text = "Rezanie"; + // + // panel136 + // + this.panel136.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel136.Controls.Add(this.panel137); + this.panel136.Controls.Add(this.panel139); + this.panel136.Controls.Add(this.label608); + this.panel136.Dock = System.Windows.Forms.DockStyle.Top; + this.panel136.Enabled = false; + this.panel136.Location = new System.Drawing.Point(0, 113); + this.panel136.MaximumSize = new System.Drawing.Size(299, 87); + this.panel136.MinimumSize = new System.Drawing.Size(2, 19); + this.panel136.Name = "panel136"; + this.panel136.Size = new System.Drawing.Size(299, 87); + this.panel136.TabIndex = 6; + // + // panel137 + // + this.panel137.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel137.Controls.Add(this.label598); + this.panel137.Controls.Add(this.myNumericUpDown148); + this.panel137.Controls.Add(this.label599); + this.panel137.Controls.Add(this.myNumericUpDown149); + this.panel137.Controls.Add(this.label600); + this.panel137.Controls.Add(this.myNumericUpDown150); + this.panel137.Location = new System.Drawing.Point(136, 18); + this.panel137.Name = "panel137"; + this.panel137.Size = new System.Drawing.Size(160, 66); + this.panel137.TabIndex = 13; + // + // label598 + // + this.label598.Location = new System.Drawing.Point(0, 45); + this.label598.Name = "label598"; + this.label598.Size = new System.Drawing.Size(104, 18); + this.label598.TabIndex = 5; + this.label598.Text = "Prídavok na upnutie"; + // + // myNumericUpDown148 + // + this.myNumericUpDown148.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown148.DecimalPlaces = 2; + this.myNumericUpDown148.Location = new System.Drawing.Point(104, 43); + this.myNumericUpDown148.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown148.Name = "myNumericUpDown148"; + this.myNumericUpDown148.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown148.TabIndex = 4; + this.myNumericUpDown148.ValueChanged += new System.EventHandler(this.myNumericUpDown148_ValueChanged); + // + // label599 + // + this.label599.Location = new System.Drawing.Point(-1, 24); + this.label599.Name = "label599"; + this.label599.Size = new System.Drawing.Size(105, 18); + this.label599.TabIndex = 3; + this.label599.Text = "Šírka rezu [mm]"; + // + // myNumericUpDown149 + // + this.myNumericUpDown149.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown149.DecimalPlaces = 2; + this.myNumericUpDown149.Location = new System.Drawing.Point(104, 22); + this.myNumericUpDown149.Name = "myNumericUpDown149"; + this.myNumericUpDown149.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown149.TabIndex = 2; + this.myNumericUpDown149.ValueChanged += new System.EventHandler(this.myNumericUpDown149_ValueChanged); + // + // label600 + // + this.label600.Location = new System.Drawing.Point(0, 3); + this.label600.Name = "label600"; + this.label600.Size = new System.Drawing.Size(111, 18); + this.label600.TabIndex = 1; + this.label600.Text = "kus. v polotovare"; + // + // myNumericUpDown150 + // + this.myNumericUpDown150.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown150.Location = new System.Drawing.Point(112, 1); + this.myNumericUpDown150.Maximum = new decimal(new int[] { + 1000, + 0, + 0, + 0}); + this.myNumericUpDown150.Minimum = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.myNumericUpDown150.Name = "myNumericUpDown150"; + this.myNumericUpDown150.Size = new System.Drawing.Size(45, 20); + this.myNumericUpDown150.TabIndex = 0; + this.myNumericUpDown150.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.myNumericUpDown150.ValueChanged += new System.EventHandler(this.myNumericUpDown150_ValueChanged); + // + // panel139 + // + this.panel139.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel139.Controls.Add(this.label601); + this.panel139.Controls.Add(this.label606); + this.panel139.Controls.Add(this.myNumericUpDown151); + this.panel139.Controls.Add(this.myNumericUpDown152); + this.panel139.Controls.Add(this.label607); + this.panel139.Controls.Add(this.myNumericUpDown153); + this.panel139.Location = new System.Drawing.Point(1, 18); + this.panel139.Name = "panel139"; + this.panel139.Size = new System.Drawing.Size(134, 66); + this.panel139.TabIndex = 12; + // + // label601 + // + this.label601.Location = new System.Drawing.Point(1, 24); + this.label601.Name = "label601"; + this.label601.Size = new System.Drawing.Size(64, 18); + this.label601.TabIndex = 10; + this.label601.Text = "Ø otvoru"; + // + // label606 + // + this.label606.Location = new System.Drawing.Point(1, 45); + this.label606.Name = "label606"; + this.label606.Size = new System.Drawing.Size(64, 18); + this.label606.TabIndex = 11; + this.label606.Text = "dĺžka"; + // + // myNumericUpDown151 + // + this.myNumericUpDown151.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown151.DecimalPlaces = 2; + this.myNumericUpDown151.Location = new System.Drawing.Point(78, 22); + this.myNumericUpDown151.Maximum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.myNumericUpDown151.Name = "myNumericUpDown151"; + this.myNumericUpDown151.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown151.TabIndex = 0; + this.myNumericUpDown151.ValueChanged += new System.EventHandler(this.myNumericUpDown151_ValueChanged); + // + // myNumericUpDown152 + // + this.myNumericUpDown152.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown152.DecimalPlaces = 2; + this.myNumericUpDown152.Location = new System.Drawing.Point(78, 43); + this.myNumericUpDown152.Maximum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.myNumericUpDown152.Name = "myNumericUpDown152"; + this.myNumericUpDown152.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown152.TabIndex = 0; + this.myNumericUpDown152.ValueChanged += new System.EventHandler(this.myNumericUpDown152_ValueChanged); + // + // label607 + // + this.label607.Location = new System.Drawing.Point(1, 3); + this.label607.Name = "label607"; + this.label607.Size = new System.Drawing.Size(64, 18); + this.label607.TabIndex = 9; + this.label607.Text = "Ø povrchu"; + // + // myNumericUpDown153 + // + this.myNumericUpDown153.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown153.DecimalPlaces = 2; + this.myNumericUpDown153.Location = new System.Drawing.Point(78, 1); + this.myNumericUpDown153.Maximum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.myNumericUpDown153.Name = "myNumericUpDown153"; + this.myNumericUpDown153.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown153.TabIndex = 0; + this.myNumericUpDown153.ValueChanged += new System.EventHandler(this.myNumericUpDown153_ValueChanged); + // + // label608 + // + this.label608.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label608.Dock = System.Windows.Forms.DockStyle.Top; + this.label608.Location = new System.Drawing.Point(0, 0); + this.label608.Name = "label608"; + this.label608.Size = new System.Drawing.Size(297, 17); + this.label608.TabIndex = 1; + this.label608.Text = "Prídavok na opracovanie [mm]"; + // + // panel140 + // + this.panel140.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel140.Controls.Add(this.button20); + this.panel140.Controls.Add(this.button21); + this.panel140.Controls.Add(this.panel141); + this.panel140.Controls.Add(this.panel142); + this.panel140.Controls.Add(this.label618); + this.panel140.Controls.Add(this.label620); + this.panel140.Controls.Add(this.checkBox44); + this.panel140.Controls.Add(this.label621); + this.panel140.Dock = System.Windows.Forms.DockStyle.Top; + this.panel140.Location = new System.Drawing.Point(0, 0); + this.panel140.MaximumSize = new System.Drawing.Size(299, 113); + this.panel140.MinimumSize = new System.Drawing.Size(2, 24); + this.panel140.Name = "panel140"; + this.panel140.Size = new System.Drawing.Size(299, 113); + this.panel140.TabIndex = 5; + // + // button20 + // + this.button20.Enabled = false; + this.button20.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button20.Location = new System.Drawing.Point(200, 1); + this.button20.Name = "button20"; + this.button20.Size = new System.Drawing.Size(80, 22); + this.button20.TabIndex = 16; + this.button20.Text = "Použiť roz.seg."; + this.button20.UseVisualStyleBackColor = true; + this.button20.Click += new System.EventHandler(this.button20_Click); + // + // button21 + // + this.button21.Enabled = false; + this.button21.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button21.Location = new System.Drawing.Point(119, 1); + this.button21.Name = "button21"; + this.button21.Size = new System.Drawing.Size(82, 22); + this.button21.TabIndex = 6; + this.button21.Text = "Použiť roz.výr."; + this.button21.UseVisualStyleBackColor = true; + this.button21.Click += new System.EventHandler(this.button21_Click); + // + // panel141 + // + this.panel141.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel141.Controls.Add(this.myNumericUpDown154); + this.panel141.Controls.Add(this.myNumericUpDown155); + this.panel141.Controls.Add(this.myNumericUpDown156); + this.panel141.Controls.Add(this.label609); + this.panel141.Controls.Add(this.label610); + this.panel141.Controls.Add(this.label611); + this.panel141.Controls.Add(this.label612); + this.panel141.Controls.Add(this.label613); + this.panel141.Controls.Add(this.label614); + this.panel141.Enabled = false; + this.panel141.Location = new System.Drawing.Point(1, 44); + this.panel141.Name = "panel141"; + this.panel141.Size = new System.Drawing.Size(134, 66); + this.panel141.TabIndex = 15; + // + // myNumericUpDown154 + // + this.myNumericUpDown154.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown154.DecimalPlaces = 2; + this.myNumericUpDown154.Location = new System.Drawing.Point(60, 43); + this.myNumericUpDown154.Maximum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.myNumericUpDown154.Name = "myNumericUpDown154"; + this.myNumericUpDown154.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown154.TabIndex = 16; + this.myNumericUpDown154.ValueChanged += new System.EventHandler(this.myNumericUpDown154_ValueChanged); + // + // myNumericUpDown155 + // + this.myNumericUpDown155.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown155.DecimalPlaces = 2; + this.myNumericUpDown155.Location = new System.Drawing.Point(60, 22); + this.myNumericUpDown155.Maximum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.myNumericUpDown155.Name = "myNumericUpDown155"; + this.myNumericUpDown155.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown155.TabIndex = 15; + this.myNumericUpDown155.ValueChanged += new System.EventHandler(this.myNumericUpDown155_ValueChanged); + // + // myNumericUpDown156 + // + this.myNumericUpDown156.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown156.DecimalPlaces = 2; + this.myNumericUpDown156.Location = new System.Drawing.Point(60, 1); + this.myNumericUpDown156.Maximum = new decimal(new int[] { + 3000, + 0, + 0, + 0}); + this.myNumericUpDown156.Name = "myNumericUpDown156"; + this.myNumericUpDown156.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown156.TabIndex = 14; + this.myNumericUpDown156.ValueChanged += new System.EventHandler(this.myNumericUpDown156_ValueChanged); + // + // label609 + // + this.label609.AutoSize = true; + this.label609.Location = new System.Drawing.Point(111, 47); + this.label609.Name = "label609"; + this.label609.Size = new System.Drawing.Size(23, 13); + this.label609.TabIndex = 13; + this.label609.Text = "mm"; + // + // label610 + // + this.label610.AutoSize = true; + this.label610.Location = new System.Drawing.Point(111, 26); + this.label610.Name = "label610"; + this.label610.Size = new System.Drawing.Size(23, 13); + this.label610.TabIndex = 12; + this.label610.Text = "mm"; + // + // label611 + // + this.label611.AutoSize = true; + this.label611.Location = new System.Drawing.Point(111, 5); + this.label611.Name = "label611"; + this.label611.Size = new System.Drawing.Size(23, 13); + this.label611.TabIndex = 11; + this.label611.Text = "mm"; + // + // label612 + // + this.label612.Location = new System.Drawing.Point(1, 1); + this.label612.Name = "label612"; + this.label612.Size = new System.Drawing.Size(59, 20); + this.label612.TabIndex = 3; + this.label612.Text = "Ø povrchu"; + this.label612.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label613 + // + this.label613.Location = new System.Drawing.Point(1, 22); + this.label613.Name = "label613"; + this.label613.Size = new System.Drawing.Size(59, 20); + this.label613.TabIndex = 5; + this.label613.Text = "Ø otvoru"; + this.label613.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label614 + // + this.label614.Location = new System.Drawing.Point(1, 43); + this.label614.Name = "label614"; + this.label614.Size = new System.Drawing.Size(59, 20); + this.label614.TabIndex = 6; + this.label614.Text = "dĺžka"; + this.label614.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel142 + // + this.panel142.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.panel142.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel142.Controls.Add(this.checkBox41); + this.panel142.Controls.Add(this.checkBox42); + this.panel142.Controls.Add(this.myNumericUpDown157); + this.panel142.Controls.Add(this.myNumericUpDown158); + this.panel142.Controls.Add(this.myNumericUpDown159); + this.panel142.Controls.Add(this.label615); + this.panel142.Controls.Add(this.label616); + this.panel142.Controls.Add(this.myNumericUpDown160); + this.panel142.Controls.Add(this.label617); + this.panel142.Controls.Add(this.myNumericUpDown161); + this.panel142.Controls.Add(this.checkBox43); + this.panel142.Enabled = false; + this.panel142.Location = new System.Drawing.Point(136, 25); + this.panel142.Name = "panel142"; + this.panel142.Size = new System.Drawing.Size(160, 85); + this.panel142.TabIndex = 14; + // + // checkBox41 + // + this.checkBox41.AutoSize = true; + this.checkBox41.Checked = true; + this.checkBox41.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox41.Location = new System.Drawing.Point(1, 43); + this.checkBox41.Name = "checkBox41"; + this.checkBox41.Size = new System.Drawing.Size(74, 17); + this.checkBox41.TabIndex = 14; + this.checkBox41.Text = "Ø výpichu"; + this.checkBox41.UseVisualStyleBackColor = true; + // + // checkBox42 + // + this.checkBox42.AutoSize = true; + this.checkBox42.Location = new System.Drawing.Point(1, 22); + this.checkBox42.Name = "checkBox42"; + this.checkBox42.Size = new System.Drawing.Size(33, 17); + this.checkBox42.TabIndex = 13; + this.checkBox42.Text = "□"; + this.checkBox42.UseVisualStyleBackColor = true; + this.checkBox42.CheckedChanged += new System.EventHandler(this.checkBox42_CheckedChanged); + // + // myNumericUpDown157 + // + this.myNumericUpDown157.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown157.Location = new System.Drawing.Point(35, 20); + this.myNumericUpDown157.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.myNumericUpDown157.Name = "myNumericUpDown157"; + this.myNumericUpDown157.Size = new System.Drawing.Size(40, 20); + this.myNumericUpDown157.TabIndex = 12; + this.myNumericUpDown157.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.myNumericUpDown157.ValueChanged += new System.EventHandler(this.myNumericUpDown157_ValueChanged); + // + // myNumericUpDown158 + // + this.myNumericUpDown158.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown158.Location = new System.Drawing.Point(76, 20); + this.myNumericUpDown158.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.myNumericUpDown158.Name = "myNumericUpDown158"; + this.myNumericUpDown158.Size = new System.Drawing.Size(40, 20); + this.myNumericUpDown158.TabIndex = 11; + this.myNumericUpDown158.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.myNumericUpDown158.ValueChanged += new System.EventHandler(this.myNumericUpDown158_ValueChanged); + // + // myNumericUpDown159 + // + this.myNumericUpDown159.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown159.Location = new System.Drawing.Point(117, 20); + this.myNumericUpDown159.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.myNumericUpDown159.Name = "myNumericUpDown159"; + this.myNumericUpDown159.Size = new System.Drawing.Size(40, 20); + this.myNumericUpDown159.TabIndex = 10; + this.myNumericUpDown159.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.myNumericUpDown159.ValueChanged += new System.EventHandler(this.myNumericUpDown159_ValueChanged); + // + // label615 + // + this.label615.AutoSize = true; + this.label615.Location = new System.Drawing.Point(1, 64); + this.label615.Name = "label615"; + this.label615.Size = new System.Drawing.Size(82, 13); + this.label615.TabIndex = 9; + this.label615.Text = "zľava za výpich"; + // + // label616 + // + this.label616.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label616.AutoSize = true; + this.label616.Location = new System.Drawing.Point(137, 44); + this.label616.Name = "label616"; + this.label616.Size = new System.Drawing.Size(23, 13); + this.label616.TabIndex = 4; + this.label616.Text = "mm"; + // + // myNumericUpDown160 + // + this.myNumericUpDown160.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.myNumericUpDown160.DecimalPlaces = 2; + this.myNumericUpDown160.Location = new System.Drawing.Point(83, 41); + this.myNumericUpDown160.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.myNumericUpDown160.Name = "myNumericUpDown160"; + this.myNumericUpDown160.Size = new System.Drawing.Size(54, 20); + this.myNumericUpDown160.TabIndex = 3; + this.myNumericUpDown160.Value = new decimal(new int[] { + 1, + 0, + 0, + 0}); + this.myNumericUpDown160.ValueChanged += new System.EventHandler(this.myNumericUpDown160_ValueChanged); + // + // label617 + // + this.label617.AutoSize = true; + this.label617.Location = new System.Drawing.Point(138, 65); + this.label617.Name = "label617"; + this.label617.Size = new System.Drawing.Size(15, 13); + this.label617.TabIndex = 2; + this.label617.Text = "%"; + // + // myNumericUpDown161 + // + this.myNumericUpDown161.Location = new System.Drawing.Point(83, 62); + this.myNumericUpDown161.Name = "myNumericUpDown161"; + this.myNumericUpDown161.Size = new System.Drawing.Size(54, 20); + this.myNumericUpDown161.TabIndex = 1; + this.myNumericUpDown161.Value = new decimal(new int[] { + 100, + 0, + 0, + 0}); + this.myNumericUpDown161.ValueChanged += new System.EventHandler(this.myNumericUpDown161_ValueChanged); + // + // checkBox43 + // + this.checkBox43.AutoSize = true; + this.checkBox43.Location = new System.Drawing.Point(1, 0); + this.checkBox43.Name = "checkBox43"; + this.checkBox43.Size = new System.Drawing.Size(146, 17); + this.checkBox43.TabIndex = 0; + this.checkBox43.Text = "Zľava za výpich/odrezok"; + this.checkBox43.UseVisualStyleBackColor = true; + this.checkBox43.CheckedChanged += new System.EventHandler(this.checkBox43_CheckedChanged); + // + // label618 + // + this.label618.Enabled = false; + this.label618.Location = new System.Drawing.Point(78, 25); + this.label618.Name = "label618"; + this.label618.Size = new System.Drawing.Size(55, 18); + this.label618.TabIndex = 7; + this.label618.Text = "Ø"; + this.label618.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label620 + // + this.label620.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label620.Enabled = false; + this.label620.Location = new System.Drawing.Point(1, 25); + this.label620.Name = "label620"; + this.label620.Size = new System.Drawing.Size(73, 18); + this.label620.TabIndex = 4; + this.label620.Text = "Zmeniť"; + this.label620.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.label620.Click += new System.EventHandler(this.label620_Click); + // + // checkBox44 + // + this.checkBox44.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.checkBox44.AutoSize = true; + this.checkBox44.Location = new System.Drawing.Point(281, 2); + this.checkBox44.Name = "checkBox44"; + this.checkBox44.Size = new System.Drawing.Size(15, 14); + this.checkBox44.TabIndex = 2; + this.checkBox44.UseVisualStyleBackColor = true; + this.checkBox44.CheckedChanged += new System.EventHandler(this.checkBox44_CheckedChanged); + // + // label621 + // + this.label621.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label621.Dock = System.Windows.Forms.DockStyle.Top; + this.label621.Location = new System.Drawing.Point(0, 0); + this.label621.Name = "label621"; + this.label621.Size = new System.Drawing.Size(297, 24); + this.label621.TabIndex = 1; + this.label621.Text = "Zákl. rozm. polotovaru 2"; + this.label621.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.label621.Click += new System.EventHandler(this.label621_Click); + // + // panel106 + // + this.panel106.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel106.Controls.Add(this.panel32); + this.panel106.Controls.Add(this.panel31); + this.panel106.Controls.Add(this.panel30); + this.panel106.Controls.Add(this.panel29); + this.panel106.Location = new System.Drawing.Point(0, 0); + this.panel106.MaximumSize = new System.Drawing.Size(301, 420); + this.panel106.MinimumSize = new System.Drawing.Size(301, 27); + this.panel106.Name = "panel106"; + this.panel106.Size = new System.Drawing.Size(301, 420); + this.panel106.TabIndex = 7; // // panel32 // this.panel32.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel32.Controls.Add(this.panel40); this.panel32.Controls.Add(this.panel39); - this.panel32.Controls.Add(this.checkBox8); this.panel32.Controls.Add(this.label22); this.panel32.Dock = System.Windows.Forms.DockStyle.Top; - this.panel32.Location = new System.Drawing.Point(0, 299); + this.panel32.Location = new System.Drawing.Point(0, 306); this.panel32.MaximumSize = new System.Drawing.Size(299, 112); this.panel32.MinimumSize = new System.Drawing.Size(2, 19); this.panel32.Name = "panel32"; this.panel32.Size = new System.Drawing.Size(299, 112); - this.panel32.TabIndex = 4; + this.panel32.TabIndex = 8; // // panel40 // @@ -2040,19 +3076,6 @@ this.label55.TabIndex = 15; this.label55.Text = "Rozmery použitého materiálu"; // - // checkBox8 - // - this.checkBox8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.checkBox8.AutoSize = true; - this.checkBox8.Checked = true; - this.checkBox8.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox8.Location = new System.Drawing.Point(283, 2); - this.checkBox8.Name = "checkBox8"; - this.checkBox8.Size = new System.Drawing.Size(15, 14); - this.checkBox8.TabIndex = 3; - this.checkBox8.UseVisualStyleBackColor = true; - this.checkBox8.CheckedChanged += new System.EventHandler(this.checkBox8_CheckedChanged); - // // label22 // this.label22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -2068,15 +3091,14 @@ this.panel31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel31.Controls.Add(this.panel38); this.panel31.Controls.Add(this.panel37); - this.panel31.Controls.Add(this.checkBox7); this.panel31.Controls.Add(this.label21); this.panel31.Dock = System.Windows.Forms.DockStyle.Top; - this.panel31.Location = new System.Drawing.Point(0, 193); + this.panel31.Location = new System.Drawing.Point(0, 200); this.panel31.MaximumSize = new System.Drawing.Size(299, 106); this.panel31.MinimumSize = new System.Drawing.Size(2, 19); this.panel31.Name = "panel31"; this.panel31.Size = new System.Drawing.Size(299, 106); - this.panel31.TabIndex = 3; + this.panel31.TabIndex = 7; // // panel38 // @@ -2264,17 +3286,6 @@ this.myNumericUpDown6.TabIndex = 8; this.myNumericUpDown6.ValueChanged += new System.EventHandler(this.myNumericUpDown6_ValueChanged); // - // checkBox7 - // - this.checkBox7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.checkBox7.AutoSize = true; - this.checkBox7.Location = new System.Drawing.Point(283, 2); - this.checkBox7.Name = "checkBox7"; - this.checkBox7.Size = new System.Drawing.Size(15, 14); - this.checkBox7.TabIndex = 3; - this.checkBox7.UseVisualStyleBackColor = true; - this.checkBox7.CheckedChanged += new System.EventHandler(this.checkBox7_CheckedChanged); - // // label21 // this.label21.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -2290,15 +3301,14 @@ this.panel30.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel30.Controls.Add(this.panel34); this.panel30.Controls.Add(this.panel33); - this.panel30.Controls.Add(this.checkBox6); this.panel30.Controls.Add(this.label20); this.panel30.Dock = System.Windows.Forms.DockStyle.Top; - this.panel30.Location = new System.Drawing.Point(0, 106); + this.panel30.Location = new System.Drawing.Point(0, 113); this.panel30.MaximumSize = new System.Drawing.Size(299, 87); this.panel30.MinimumSize = new System.Drawing.Size(2, 19); this.panel30.Name = "panel30"; this.panel30.Size = new System.Drawing.Size(299, 87); - this.panel30.TabIndex = 2; + this.panel30.TabIndex = 6; // // panel34 // @@ -2470,17 +3480,6 @@ this.myNumericUpDown1.TabIndex = 0; this.myNumericUpDown1.ValueChanged += new System.EventHandler(this.myNumericUpDown1_ValueChanged); // - // checkBox6 - // - this.checkBox6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.checkBox6.AutoSize = true; - this.checkBox6.Location = new System.Drawing.Point(283, 2); - this.checkBox6.Name = "checkBox6"; - this.checkBox6.Size = new System.Drawing.Size(15, 14); - this.checkBox6.TabIndex = 3; - this.checkBox6.UseVisualStyleBackColor = true; - this.checkBox6.CheckedChanged += new System.EventHandler(this.checkBox6_CheckedChanged); - // // label20 // this.label20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -2504,31 +3503,31 @@ this.panel29.Controls.Add(this.label19); this.panel29.Dock = System.Windows.Forms.DockStyle.Top; this.panel29.Location = new System.Drawing.Point(0, 0); - this.panel29.MaximumSize = new System.Drawing.Size(299, 106); - this.panel29.MinimumSize = new System.Drawing.Size(2, 19); + this.panel29.MaximumSize = new System.Drawing.Size(299, 113); + this.panel29.MinimumSize = new System.Drawing.Size(2, 24); this.panel29.Name = "panel29"; - this.panel29.Size = new System.Drawing.Size(299, 106); - this.panel29.TabIndex = 1; + this.panel29.Size = new System.Drawing.Size(299, 113); + this.panel29.TabIndex = 5; // // button6 // - this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.button6.Location = new System.Drawing.Point(216, 1); + this.button6.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button6.Location = new System.Drawing.Point(200, 1); this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(67, 15); + this.button6.Size = new System.Drawing.Size(80, 22); this.button6.TabIndex = 16; - this.button6.Text = "Použiť roz. seg."; + this.button6.Text = "Použiť roz.seg."; this.button6.UseVisualStyleBackColor = true; this.button6.Click += new System.EventHandler(this.button6_Click); // // button5 // - this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.button5.Location = new System.Drawing.Point(150, 1); + this.button5.Font = new System.Drawing.Font("Arial Narrow", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button5.Location = new System.Drawing.Point(119, 1); this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(67, 15); + this.button5.Size = new System.Drawing.Size(82, 22); this.button5.TabIndex = 6; - this.button5.Text = "Použiť roz. výr."; + this.button5.Text = "Použiť roz.výr."; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // @@ -2544,7 +3543,7 @@ this.panel36.Controls.Add(this.label23); this.panel36.Controls.Add(this.label25); this.panel36.Controls.Add(this.label26); - this.panel36.Location = new System.Drawing.Point(1, 37); + this.panel36.Location = new System.Drawing.Point(1, 44); this.panel36.Name = "panel36"; this.panel36.Size = new System.Drawing.Size(134, 66); this.panel36.TabIndex = 15; @@ -2672,7 +3671,7 @@ this.panel35.Controls.Add(this.label37); this.panel35.Controls.Add(this.myNumericUpDown10); this.panel35.Controls.Add(this.checkBox9); - this.panel35.Location = new System.Drawing.Point(136, 18); + this.panel35.Location = new System.Drawing.Point(136, 25); this.panel35.Name = "panel35"; this.panel35.Size = new System.Drawing.Size(160, 85); this.panel35.TabIndex = 14; @@ -2832,7 +3831,7 @@ // // label27 // - this.label27.Location = new System.Drawing.Point(78, 18); + this.label27.Location = new System.Drawing.Point(78, 25); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(55, 18); this.label27.TabIndex = 7; @@ -2842,7 +3841,7 @@ // label24 // this.label24.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label24.Location = new System.Drawing.Point(1, 18); + this.label24.Location = new System.Drawing.Point(1, 25); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(73, 18); this.label24.TabIndex = 4; @@ -2856,9 +3855,7 @@ // this.checkBox5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBox5.AutoSize = true; - this.checkBox5.Checked = true; - this.checkBox5.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox5.Location = new System.Drawing.Point(283, 2); + this.checkBox5.Location = new System.Drawing.Point(281, 2); this.checkBox5.Name = "checkBox5"; this.checkBox5.Size = new System.Drawing.Size(15, 14); this.checkBox5.TabIndex = 2; @@ -2871,9 +3868,200 @@ this.label19.Dock = System.Windows.Forms.DockStyle.Top; this.label19.Location = new System.Drawing.Point(0, 0); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(297, 17); + this.label19.Size = new System.Drawing.Size(297, 24); this.label19.TabIndex = 1; - this.label19.Text = "Zákl. rozm. polotovaru"; + this.label19.Text = "Zákl. rozm. polotovaru 1"; + this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.label19.Click += new System.EventHandler(this.label19_Click); + // + // panel41 + // + this.panel41.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel41.Controls.Add(this.panel130); + this.panel41.Controls.Add(this.panel132); + this.panel41.Controls.Add(this.panel143); + this.panel41.Controls.Add(this.panel128); + this.panel41.Controls.Add(this.panel96); + this.panel41.Controls.Add(this.button14); + this.panel41.Controls.Add(this.panel42); + this.panel41.Controls.Add(this.panel43); + this.panel41.Dock = System.Windows.Forms.DockStyle.Bottom; + this.panel41.Location = new System.Drawing.Point(0, 637); + this.panel41.MaximumSize = new System.Drawing.Size(299, 143); + this.panel41.MinimumSize = new System.Drawing.Size(2, 21); + this.panel41.Name = "panel41"; + this.panel41.Padding = new System.Windows.Forms.Padding(1); + this.panel41.Size = new System.Drawing.Size(299, 66); + this.panel41.TabIndex = 5; + // + // panel130 + // + this.panel130.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel130.Controls.Add(this.label593); + this.panel130.Location = new System.Drawing.Point(1, 41); + this.panel130.Name = "panel130"; + this.panel130.Size = new System.Drawing.Size(29, 21); + this.panel130.TabIndex = 18; + // + // label593 + // + this.label593.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label593.Location = new System.Drawing.Point(1, 1); + this.label593.Name = "label593"; + this.label593.Size = new System.Drawing.Size(22, 18); + this.label593.TabIndex = 9; + this.label593.Text = "2."; + this.label593.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel132 + // + this.panel132.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel132.Controls.Add(this.label594); + this.panel132.Location = new System.Drawing.Point(145, 41); + this.panel132.Name = "panel132"; + this.panel132.Size = new System.Drawing.Size(113, 21); + this.panel132.TabIndex = 17; + // + // label594 + // + this.label594.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label594.Location = new System.Drawing.Point(1, 3); + this.label594.Name = "label594"; + this.label594.Size = new System.Drawing.Size(106, 18); + this.label594.TabIndex = 1; + this.label594.Text = "0"; + // + // panel143 + // + this.panel143.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel143.Controls.Add(this.label595); + this.panel143.Location = new System.Drawing.Point(31, 41); + this.panel143.Name = "panel143"; + this.panel143.Size = new System.Drawing.Size(113, 21); + this.panel143.TabIndex = 16; + // + // label595 + // + this.label595.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label595.Location = new System.Drawing.Point(1, 3); + this.label595.Name = "label595"; + this.label595.Size = new System.Drawing.Size(106, 18); + this.label595.TabIndex = 9; + this.label595.Text = "0"; + // + // panel128 + // + this.panel128.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel128.Controls.Add(this.label592); + this.panel128.Location = new System.Drawing.Point(1, 19); + this.panel128.Name = "panel128"; + this.panel128.Size = new System.Drawing.Size(29, 21); + this.panel128.TabIndex = 15; + // + // label592 + // + this.label592.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label592.Location = new System.Drawing.Point(1, 1); + this.label592.Name = "label592"; + this.label592.Size = new System.Drawing.Size(22, 18); + this.label592.TabIndex = 9; + this.label592.Text = "1."; + this.label592.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel96 + // + this.panel96.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel96.Controls.Add(this.label70); + this.panel96.Controls.Add(this.checkBox12); + this.panel96.Dock = System.Windows.Forms.DockStyle.Top; + this.panel96.Location = new System.Drawing.Point(1, 1); + this.panel96.Name = "panel96"; + this.panel96.Size = new System.Drawing.Size(257, 17); + this.panel96.TabIndex = 14; + // + // label70 + // + this.label70.Dock = System.Windows.Forms.DockStyle.Left; + this.label70.Location = new System.Drawing.Point(0, 0); + this.label70.Name = "label70"; + this.label70.Size = new System.Drawing.Size(145, 15); + this.label70.TabIndex = 1; + this.label70.Text = "Veľkosť polotovaru"; + // + // checkBox12 + // + this.checkBox12.AutoSize = true; + this.checkBox12.Checked = true; + this.checkBox12.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox12.Dock = System.Windows.Forms.DockStyle.Right; + this.checkBox12.Location = new System.Drawing.Point(240, 0); + this.checkBox12.Name = "checkBox12"; + this.checkBox12.Padding = new System.Windows.Forms.Padding(0, 1, 0, 0); + this.checkBox12.Size = new System.Drawing.Size(15, 15); + this.checkBox12.TabIndex = 3; + this.checkBox12.UseVisualStyleBackColor = true; + this.checkBox12.CheckedChanged += new System.EventHandler(this.checkBox12_CheckedChanged); + // + // button14 + // + this.button14.Dock = System.Windows.Forms.DockStyle.Right; + this.button14.Image = global::Mip.Properties.Resources.save; + this.button14.Location = new System.Drawing.Point(258, 1); + this.button14.Margin = new System.Windows.Forms.Padding(1); + this.button14.Name = "button14"; + this.button14.Size = new System.Drawing.Size(38, 62); + this.button14.TabIndex = 1; + this.button14.UseVisualStyleBackColor = true; + this.button14.Visible = false; + this.button14.Click += new System.EventHandler(this.button14_Click); + // + // panel42 + // + this.panel42.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel42.Controls.Add(this.label33); + this.panel42.Location = new System.Drawing.Point(145, 19); + this.panel42.Name = "panel42"; + this.panel42.Size = new System.Drawing.Size(113, 21); + this.panel42.TabIndex = 13; + // + // label33 + // + this.label33.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label33.Location = new System.Drawing.Point(1, 3); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(106, 18); + this.label33.TabIndex = 1; + this.label33.Text = "0"; + // + // panel43 + // + this.panel43.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel43.Controls.Add(this.label69); + this.panel43.Location = new System.Drawing.Point(31, 19); + this.panel43.Name = "panel43"; + this.panel43.Size = new System.Drawing.Size(113, 21); + this.panel43.TabIndex = 12; + // + // label69 + // + this.label69.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label69.Location = new System.Drawing.Point(1, 3); + this.label69.Name = "label69"; + this.label69.Size = new System.Drawing.Size(106, 18); + this.label69.TabIndex = 9; + this.label69.Text = "0"; // // label18 // @@ -2910,12 +4098,12 @@ 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(410, 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); this.Materiál.Name = "Materiál"; - this.Materiál.Size = new System.Drawing.Size(457, 728); + this.Materiál.Size = new System.Drawing.Size(23, 728); this.Materiál.TabIndex = 3; // // panel45 @@ -2936,7 +4124,6 @@ // this.panel63.BackColor = System.Drawing.Color.Moccasin; this.panel63.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel63.Controls.Add(this.panel109); this.panel63.Controls.Add(this.comboBox9); this.panel63.Controls.Add(this.button13); this.panel63.Controls.Add(this.panel64); @@ -2948,81 +4135,13 @@ this.panel63.Controls.Add(this.panel69); this.panel63.Controls.Add(this.checkBox32); this.panel63.Dock = System.Windows.Forms.DockStyle.Top; - this.panel63.Location = new System.Drawing.Point(0, 169); + this.panel63.Location = new System.Drawing.Point(0, 363); this.panel63.MaximumSize = new System.Drawing.Size(432, 121); this.panel63.MinimumSize = new System.Drawing.Size(432, 24); this.panel63.Name = "panel63"; - this.panel63.Size = new System.Drawing.Size(432, 24); + this.panel63.Size = new System.Drawing.Size(432, 121); this.panel63.TabIndex = 13; - // - // panel109 - // - this.panel109.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel109.Controls.Add(this.label437); - this.panel109.Controls.Add(this.label438); - this.panel109.Controls.Add(this.label439); - this.panel109.Controls.Add(this.label440); - this.panel109.Controls.Add(this.label441); - this.panel109.Controls.Add(this.label442); - this.panel109.Location = new System.Drawing.Point(259, 59); - this.panel109.Name = "panel109"; - this.panel109.Size = new System.Drawing.Size(170, 36); - this.panel109.TabIndex = 13; - this.panel109.Visible = false; - // - // label437 - // - this.label437.AutoSize = true; - this.label437.Location = new System.Drawing.Point(119, 19); - this.label437.Name = "label437"; - this.label437.Size = new System.Drawing.Size(47, 13); - this.label437.TabIndex = 5; - this.label437.Text = "label437"; - // - // label438 - // - this.label438.AutoSize = true; - this.label438.Location = new System.Drawing.Point(119, 2); - this.label438.Name = "label438"; - this.label438.Size = new System.Drawing.Size(47, 13); - this.label438.TabIndex = 4; - this.label438.Text = "label438"; - // - // label439 - // - this.label439.AutoSize = true; - this.label439.Location = new System.Drawing.Point(56, 19); - this.label439.Name = "label439"; - this.label439.Size = new System.Drawing.Size(47, 13); - this.label439.TabIndex = 3; - this.label439.Text = "label439"; - // - // label440 - // - this.label440.AutoSize = true; - this.label440.Location = new System.Drawing.Point(56, 2); - this.label440.Name = "label440"; - this.label440.Size = new System.Drawing.Size(47, 13); - this.label440.TabIndex = 2; - this.label440.Text = "label440"; - // - // label441 - // - this.label441.AutoSize = true; - this.label441.Location = new System.Drawing.Point(3, 19); - this.label441.Name = "label441"; - this.label441.Size = new System.Drawing.Size(47, 13); - this.label441.TabIndex = 1; - this.label441.Text = "label441"; - // - // label442 - // - this.label442.AutoSize = true; - this.label442.Location = new System.Drawing.Point(3, 2); - this.label442.Name = "label442"; - this.label442.Size = new System.Drawing.Size(47, 13); - this.label442.TabIndex = 0; - this.label442.Text = "label442"; + this.panel63.Visible = false; // // comboBox9 // @@ -3057,14 +4176,14 @@ this.panel64.Controls.Add(this.checkBox27); this.panel64.Location = new System.Drawing.Point(1, 59); this.panel64.Name = "panel64"; - this.panel64.Size = new System.Drawing.Size(257, 36); + this.panel64.Size = new System.Drawing.Size(327, 36); this.panel64.TabIndex = 7; // // label405 // this.label405.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label405.Enabled = false; - this.label405.Location = new System.Drawing.Point(191, 13); + this.label405.Location = new System.Drawing.Point(211, 13); this.label405.Name = "label405"; this.label405.Size = new System.Drawing.Size(63, 20); this.label405.TabIndex = 9; @@ -3076,15 +4195,15 @@ this.myNumericUpDown98.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown98.DecimalPlaces = 1; this.myNumericUpDown98.Enabled = false; - this.myNumericUpDown98.Location = new System.Drawing.Point(138, 13); + this.myNumericUpDown98.Location = new System.Drawing.Point(275, 13); this.myNumericUpDown98.Maximum = new decimal(new int[] { 120, 0, 0, 0}); this.myNumericUpDown98.Name = "myNumericUpDown98"; - this.myNumericUpDown98.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown98.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown98.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown98.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown98.TabIndex = 8; this.myNumericUpDown98.ValueChanged += new System.EventHandler(this.myNumericUpDown98_ValueChanged); // @@ -3092,7 +4211,7 @@ // this.label96.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label96.Enabled = false; - this.label96.Location = new System.Drawing.Point(105, 13); + this.label96.Location = new System.Drawing.Point(103, 13); this.label96.Name = "label96"; this.label96.Size = new System.Drawing.Size(46, 20); this.label96.TabIndex = 5; @@ -3104,15 +4223,15 @@ // this.myNumericUpDown39.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown39.Enabled = false; - this.myNumericUpDown39.Location = new System.Drawing.Point(73, 13); + this.myNumericUpDown39.Location = new System.Drawing.Point(150, 13); this.myNumericUpDown39.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown39.Name = "myNumericUpDown39"; - this.myNumericUpDown39.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown39.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown39.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown39.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown39.TabIndex = 4; this.myNumericUpDown39.Visible = false; this.myNumericUpDown39.ValueChanged += new System.EventHandler(this.myNumericUpDown39_ValueChanged); @@ -3121,7 +4240,7 @@ // this.label97.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label97.Enabled = false; - this.label97.Location = new System.Drawing.Point(33, 13); + this.label97.Location = new System.Drawing.Point(1, 13); this.label97.Name = "label97"; this.label97.Size = new System.Drawing.Size(37, 20); this.label97.TabIndex = 3; @@ -3133,15 +4252,15 @@ // this.myNumericUpDown40.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown40.Enabled = false; - this.myNumericUpDown40.Location = new System.Drawing.Point(1, 13); + this.myNumericUpDown40.Location = new System.Drawing.Point(39, 13); this.myNumericUpDown40.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown40.Name = "myNumericUpDown40"; - this.myNumericUpDown40.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown40.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown40.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown40.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown40.TabIndex = 2; this.myNumericUpDown40.Visible = false; this.myNumericUpDown40.ValueChanged += new System.EventHandler(this.myNumericUpDown40_ValueChanged); @@ -3289,7 +4408,7 @@ 0, 0}); this.myNumericUpDown41.Name = "myNumericUpDown41"; - this.myNumericUpDown41.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown41.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown41.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown41.TabIndex = 2; this.myNumericUpDown41.ValueChanged += new System.EventHandler(this.myNumericUpDown41_ValueChanged); @@ -3364,7 +4483,7 @@ 0, 0}); this.myNumericUpDown42.Name = "myNumericUpDown42"; - this.myNumericUpDown42.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown42.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown42.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown42.TabIndex = 2; this.myNumericUpDown42.Value = new decimal(new int[] { @@ -3385,7 +4504,7 @@ 0, 0}); this.myNumericUpDown43.Name = "myNumericUpDown43"; - this.myNumericUpDown43.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown43.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown43.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown43.TabIndex = 2; this.myNumericUpDown43.ValueChanged += new System.EventHandler(this.myNumericUpDown43_ValueChanged); @@ -3435,7 +4554,7 @@ 0, 0}); this.myNumericUpDown44.Name = "myNumericUpDown44"; - this.myNumericUpDown44.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown44.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown44.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown44.TabIndex = 1; this.myNumericUpDown44.ValueChanged += new System.EventHandler(this.myNumericUpDown44_ValueChanged); @@ -3466,7 +4585,6 @@ // this.panel54.BackColor = System.Drawing.Color.PaleGoldenrod; this.panel54.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel54.Controls.Add(this.panel108); this.panel54.Controls.Add(this.comboBox8); this.panel54.Controls.Add(this.button12); this.panel54.Controls.Add(this.panel55); @@ -3478,81 +4596,13 @@ this.panel54.Controls.Add(this.panel62); this.panel54.Controls.Add(this.checkBox26); this.panel54.Dock = System.Windows.Forms.DockStyle.Top; - this.panel54.Location = new System.Drawing.Point(0, 145); + this.panel54.Location = new System.Drawing.Point(0, 242); this.panel54.MaximumSize = new System.Drawing.Size(432, 121); this.panel54.MinimumSize = new System.Drawing.Size(432, 24); this.panel54.Name = "panel54"; - this.panel54.Size = new System.Drawing.Size(432, 24); + this.panel54.Size = new System.Drawing.Size(432, 121); this.panel54.TabIndex = 12; - // - // panel108 - // - this.panel108.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel108.Controls.Add(this.label431); - this.panel108.Controls.Add(this.label432); - this.panel108.Controls.Add(this.label433); - this.panel108.Controls.Add(this.label434); - this.panel108.Controls.Add(this.label435); - this.panel108.Controls.Add(this.label436); - this.panel108.Location = new System.Drawing.Point(259, 59); - this.panel108.Name = "panel108"; - this.panel108.Size = new System.Drawing.Size(170, 36); - this.panel108.TabIndex = 13; - this.panel108.Visible = false; - // - // label431 - // - this.label431.AutoSize = true; - this.label431.Location = new System.Drawing.Point(119, 19); - this.label431.Name = "label431"; - this.label431.Size = new System.Drawing.Size(47, 13); - this.label431.TabIndex = 5; - this.label431.Text = "label431"; - // - // label432 - // - this.label432.AutoSize = true; - this.label432.Location = new System.Drawing.Point(119, 2); - this.label432.Name = "label432"; - this.label432.Size = new System.Drawing.Size(47, 13); - this.label432.TabIndex = 4; - this.label432.Text = "label432"; - // - // label433 - // - this.label433.AutoSize = true; - this.label433.Location = new System.Drawing.Point(56, 19); - this.label433.Name = "label433"; - this.label433.Size = new System.Drawing.Size(47, 13); - this.label433.TabIndex = 3; - this.label433.Text = "label433"; - // - // label434 - // - this.label434.AutoSize = true; - this.label434.Location = new System.Drawing.Point(56, 2); - this.label434.Name = "label434"; - this.label434.Size = new System.Drawing.Size(47, 13); - this.label434.TabIndex = 2; - this.label434.Text = "label434"; - // - // label435 - // - this.label435.AutoSize = true; - this.label435.Location = new System.Drawing.Point(3, 19); - this.label435.Name = "label435"; - this.label435.Size = new System.Drawing.Size(47, 13); - this.label435.TabIndex = 1; - this.label435.Text = "label435"; - // - // label436 - // - this.label436.AutoSize = true; - this.label436.Location = new System.Drawing.Point(3, 2); - this.label436.Name = "label436"; - this.label436.Size = new System.Drawing.Size(47, 13); - this.label436.TabIndex = 0; - this.label436.Text = "label436"; + this.panel54.Visible = false; // // comboBox8 // @@ -3587,14 +4637,14 @@ this.panel55.Controls.Add(this.checkBox21); this.panel55.Location = new System.Drawing.Point(1, 59); this.panel55.Name = "panel55"; - this.panel55.Size = new System.Drawing.Size(257, 36); + this.panel55.Size = new System.Drawing.Size(327, 36); this.panel55.TabIndex = 7; // // label403 // this.label403.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label403.Enabled = false; - this.label403.Location = new System.Drawing.Point(191, 13); + this.label403.Location = new System.Drawing.Point(211, 13); this.label403.Name = "label403"; this.label403.Size = new System.Drawing.Size(63, 20); this.label403.TabIndex = 9; @@ -3606,15 +4656,15 @@ this.myNumericUpDown87.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown87.DecimalPlaces = 1; this.myNumericUpDown87.Enabled = false; - this.myNumericUpDown87.Location = new System.Drawing.Point(138, 13); + this.myNumericUpDown87.Location = new System.Drawing.Point(275, 13); this.myNumericUpDown87.Maximum = new decimal(new int[] { 120, 0, 0, 0}); this.myNumericUpDown87.Name = "myNumericUpDown87"; - this.myNumericUpDown87.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown87.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown87.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown87.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown87.TabIndex = 8; this.myNumericUpDown87.ValueChanged += new System.EventHandler(this.myNumericUpDown87_ValueChanged); // @@ -3622,7 +4672,7 @@ // this.label87.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label87.Enabled = false; - this.label87.Location = new System.Drawing.Point(105, 13); + this.label87.Location = new System.Drawing.Point(103, 13); this.label87.Name = "label87"; this.label87.Size = new System.Drawing.Size(46, 20); this.label87.TabIndex = 5; @@ -3634,15 +4684,15 @@ // this.myNumericUpDown33.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown33.Enabled = false; - this.myNumericUpDown33.Location = new System.Drawing.Point(73, 13); + this.myNumericUpDown33.Location = new System.Drawing.Point(150, 13); this.myNumericUpDown33.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown33.Name = "myNumericUpDown33"; - this.myNumericUpDown33.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown33.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown33.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown33.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown33.TabIndex = 4; this.myNumericUpDown33.Visible = false; this.myNumericUpDown33.ValueChanged += new System.EventHandler(this.myNumericUpDown33_ValueChanged); @@ -3651,7 +4701,7 @@ // this.label88.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label88.Enabled = false; - this.label88.Location = new System.Drawing.Point(33, 13); + this.label88.Location = new System.Drawing.Point(1, 13); this.label88.Name = "label88"; this.label88.Size = new System.Drawing.Size(37, 20); this.label88.TabIndex = 3; @@ -3663,15 +4713,15 @@ // this.myNumericUpDown34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown34.Enabled = false; - this.myNumericUpDown34.Location = new System.Drawing.Point(1, 13); + this.myNumericUpDown34.Location = new System.Drawing.Point(39, 13); this.myNumericUpDown34.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown34.Name = "myNumericUpDown34"; - this.myNumericUpDown34.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown34.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown34.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown34.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown34.TabIndex = 2; this.myNumericUpDown34.Visible = false; this.myNumericUpDown34.ValueChanged += new System.EventHandler(this.myNumericUpDown34_ValueChanged); @@ -3819,7 +4869,7 @@ 0, 0}); this.myNumericUpDown35.Name = "myNumericUpDown35"; - this.myNumericUpDown35.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown35.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown35.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown35.TabIndex = 2; this.myNumericUpDown35.ValueChanged += new System.EventHandler(this.myNumericUpDown35_ValueChanged); @@ -3894,7 +4944,7 @@ 0, 0}); this.myNumericUpDown36.Name = "myNumericUpDown36"; - this.myNumericUpDown36.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown36.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown36.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown36.TabIndex = 2; this.myNumericUpDown36.Value = new decimal(new int[] { @@ -3915,7 +4965,7 @@ 0, 0}); this.myNumericUpDown37.Name = "myNumericUpDown37"; - this.myNumericUpDown37.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown37.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown37.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown37.TabIndex = 2; this.myNumericUpDown37.ValueChanged += new System.EventHandler(this.myNumericUpDown37_ValueChanged); @@ -3965,7 +5015,7 @@ 0, 0}); this.myNumericUpDown38.Name = "myNumericUpDown38"; - this.myNumericUpDown38.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown38.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown38.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown38.TabIndex = 1; this.myNumericUpDown38.ValueChanged += new System.EventHandler(this.myNumericUpDown38_ValueChanged); @@ -3996,7 +5046,6 @@ // this.panel47.BackColor = System.Drawing.Color.AntiqueWhite; this.panel47.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel47.Controls.Add(this.panel107); this.panel47.Controls.Add(this.comboBox7); this.panel47.Controls.Add(this.button11); this.panel47.Controls.Add(this.panel48); @@ -4012,78 +5061,9 @@ this.panel47.MaximumSize = new System.Drawing.Size(432, 121); this.panel47.MinimumSize = new System.Drawing.Size(432, 24); this.panel47.Name = "panel47"; - this.panel47.Size = new System.Drawing.Size(432, 24); + this.panel47.Size = new System.Drawing.Size(432, 121); this.panel47.TabIndex = 11; // - // panel107 - // - this.panel107.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel107.Controls.Add(this.label425); - this.panel107.Controls.Add(this.label426); - this.panel107.Controls.Add(this.label427); - this.panel107.Controls.Add(this.label428); - this.panel107.Controls.Add(this.label429); - this.panel107.Controls.Add(this.label430); - this.panel107.Location = new System.Drawing.Point(259, 59); - this.panel107.Name = "panel107"; - this.panel107.Size = new System.Drawing.Size(170, 36); - this.panel107.TabIndex = 13; - this.panel107.Visible = false; - // - // label425 - // - this.label425.AutoSize = true; - this.label425.Location = new System.Drawing.Point(119, 19); - this.label425.Name = "label425"; - this.label425.Size = new System.Drawing.Size(47, 13); - this.label425.TabIndex = 5; - this.label425.Text = "label425"; - // - // label426 - // - this.label426.AutoSize = true; - this.label426.Location = new System.Drawing.Point(119, 2); - this.label426.Name = "label426"; - this.label426.Size = new System.Drawing.Size(47, 13); - this.label426.TabIndex = 4; - this.label426.Text = "label426"; - // - // label427 - // - this.label427.AutoSize = true; - this.label427.Location = new System.Drawing.Point(56, 19); - this.label427.Name = "label427"; - this.label427.Size = new System.Drawing.Size(47, 13); - this.label427.TabIndex = 3; - this.label427.Text = "label427"; - // - // label428 - // - this.label428.AutoSize = true; - this.label428.Location = new System.Drawing.Point(56, 2); - this.label428.Name = "label428"; - this.label428.Size = new System.Drawing.Size(47, 13); - this.label428.TabIndex = 2; - this.label428.Text = "label428"; - // - // label429 - // - this.label429.AutoSize = true; - this.label429.Location = new System.Drawing.Point(3, 19); - this.label429.Name = "label429"; - this.label429.Size = new System.Drawing.Size(47, 13); - this.label429.TabIndex = 1; - this.label429.Text = "label429"; - // - // label430 - // - this.label430.AutoSize = true; - this.label430.Location = new System.Drawing.Point(3, 2); - this.label430.Name = "label430"; - this.label430.Size = new System.Drawing.Size(47, 13); - this.label430.TabIndex = 0; - this.label430.Text = "label430"; - // // comboBox7 // this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; @@ -4093,6 +5073,7 @@ this.comboBox7.Size = new System.Drawing.Size(131, 21); this.comboBox7.TabIndex = 11; this.comboBox7.Visible = false; + this.comboBox7.SelectedValueChanged += new System.EventHandler(this.comboBox7_SelectedValueChanged); // // button11 // @@ -4117,14 +5098,14 @@ this.panel48.Controls.Add(this.checkBox15); this.panel48.Location = new System.Drawing.Point(1, 59); this.panel48.Name = "panel48"; - this.panel48.Size = new System.Drawing.Size(257, 36); + this.panel48.Size = new System.Drawing.Size(327, 36); this.panel48.TabIndex = 7; // // label381 // this.label381.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label381.Enabled = false; - this.label381.Location = new System.Drawing.Point(191, 13); + this.label381.Location = new System.Drawing.Point(211, 13); this.label381.Name = "label381"; this.label381.Size = new System.Drawing.Size(63, 20); this.label381.TabIndex = 9; @@ -4136,15 +5117,15 @@ this.myNumericUpDown86.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown86.DecimalPlaces = 1; this.myNumericUpDown86.Enabled = false; - this.myNumericUpDown86.Location = new System.Drawing.Point(138, 13); + this.myNumericUpDown86.Location = new System.Drawing.Point(275, 13); this.myNumericUpDown86.Maximum = new decimal(new int[] { 120, 0, 0, 0}); this.myNumericUpDown86.Name = "myNumericUpDown86"; - this.myNumericUpDown86.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown86.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown86.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown86.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown86.TabIndex = 8; this.myNumericUpDown86.ValueChanged += new System.EventHandler(this.myNumericUpDown86_ValueChanged); // @@ -4152,7 +5133,7 @@ // this.label78.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label78.Enabled = false; - this.label78.Location = new System.Drawing.Point(105, 13); + this.label78.Location = new System.Drawing.Point(103, 13); this.label78.Name = "label78"; this.label78.Size = new System.Drawing.Size(46, 20); this.label78.TabIndex = 5; @@ -4164,15 +5145,15 @@ // this.myNumericUpDown27.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown27.Enabled = false; - this.myNumericUpDown27.Location = new System.Drawing.Point(73, 13); + this.myNumericUpDown27.Location = new System.Drawing.Point(150, 13); this.myNumericUpDown27.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown27.Name = "myNumericUpDown27"; - this.myNumericUpDown27.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown27.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown27.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown27.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown27.TabIndex = 4; this.myNumericUpDown27.Visible = false; this.myNumericUpDown27.ValueChanged += new System.EventHandler(this.myNumericUpDown27_ValueChanged); @@ -4181,7 +5162,7 @@ // this.label79.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label79.Enabled = false; - this.label79.Location = new System.Drawing.Point(33, 13); + this.label79.Location = new System.Drawing.Point(1, 13); this.label79.Name = "label79"; this.label79.Size = new System.Drawing.Size(37, 20); this.label79.TabIndex = 3; @@ -4193,15 +5174,15 @@ // this.myNumericUpDown28.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown28.Enabled = false; - this.myNumericUpDown28.Location = new System.Drawing.Point(1, 13); + this.myNumericUpDown28.Location = new System.Drawing.Point(39, 13); this.myNumericUpDown28.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown28.Name = "myNumericUpDown28"; - this.myNumericUpDown28.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown28.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown28.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.myNumericUpDown28.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown28.TabIndex = 2; this.myNumericUpDown28.Visible = false; this.myNumericUpDown28.ValueChanged += new System.EventHandler(this.myNumericUpDown28_ValueChanged); @@ -4314,6 +5295,7 @@ this.comboBox3.Size = new System.Drawing.Size(143, 21); this.comboBox3.TabIndex = 4; this.comboBox3.Visible = false; + this.comboBox3.SelectedValueChanged += new System.EventHandler(this.comboBox3_SelectedValueChanged); // // panel51 // @@ -4349,7 +5331,7 @@ 0, 0}); this.myNumericUpDown29.Name = "myNumericUpDown29"; - this.myNumericUpDown29.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown29.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown29.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown29.TabIndex = 2; this.myNumericUpDown29.ValueChanged += new System.EventHandler(this.myNumericUpDown29_ValueChanged); @@ -4424,7 +5406,7 @@ 0, 0}); this.myNumericUpDown30.Name = "myNumericUpDown30"; - this.myNumericUpDown30.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown30.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown30.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown30.TabIndex = 2; this.myNumericUpDown30.Value = new decimal(new int[] { @@ -4445,7 +5427,7 @@ 0, 0}); this.myNumericUpDown31.Name = "myNumericUpDown31"; - this.myNumericUpDown31.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown31.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown31.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown31.TabIndex = 2; this.myNumericUpDown31.ValueChanged += new System.EventHandler(this.myNumericUpDown31_ValueChanged); @@ -4495,7 +5477,7 @@ 0, 0}); this.myNumericUpDown32.Name = "myNumericUpDown32"; - this.myNumericUpDown32.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + this.myNumericUpDown32.RightToLeft = System.Windows.Forms.RightToLeft.No; this.myNumericUpDown32.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown32.TabIndex = 1; this.myNumericUpDown32.ValueChanged += new System.EventHandler(this.myNumericUpDown32_ValueChanged); @@ -4525,7 +5507,6 @@ // panel23 // this.panel23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel23.Controls.Add(this.panel106); this.panel23.Controls.Add(this.comboBox6); this.panel23.Controls.Add(this.button15); this.panel23.Controls.Add(this.button10); @@ -4545,75 +5526,6 @@ this.panel23.Size = new System.Drawing.Size(432, 121); this.panel23.TabIndex = 5; // - // panel106 - // - this.panel106.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel106.Controls.Add(this.label424); - this.panel106.Controls.Add(this.label423); - this.panel106.Controls.Add(this.label422); - this.panel106.Controls.Add(this.label421); - this.panel106.Controls.Add(this.label420); - this.panel106.Controls.Add(this.label419); - this.panel106.Location = new System.Drawing.Point(259, 59); - this.panel106.Name = "panel106"; - this.panel106.Size = new System.Drawing.Size(170, 36); - this.panel106.TabIndex = 11; - this.panel106.Visible = false; - // - // label424 - // - this.label424.AutoSize = true; - this.label424.Location = new System.Drawing.Point(119, 19); - this.label424.Name = "label424"; - this.label424.Size = new System.Drawing.Size(47, 13); - this.label424.TabIndex = 5; - this.label424.Text = "label424"; - // - // label423 - // - this.label423.AutoSize = true; - this.label423.Location = new System.Drawing.Point(119, 2); - this.label423.Name = "label423"; - this.label423.Size = new System.Drawing.Size(47, 13); - this.label423.TabIndex = 4; - this.label423.Text = "label423"; - // - // label422 - // - this.label422.AutoSize = true; - this.label422.Location = new System.Drawing.Point(56, 19); - this.label422.Name = "label422"; - this.label422.Size = new System.Drawing.Size(47, 13); - this.label422.TabIndex = 3; - this.label422.Text = "label422"; - // - // label421 - // - this.label421.AutoSize = true; - this.label421.Location = new System.Drawing.Point(56, 2); - this.label421.Name = "label421"; - this.label421.Size = new System.Drawing.Size(47, 13); - this.label421.TabIndex = 2; - this.label421.Text = "label421"; - // - // label420 - // - this.label420.AutoSize = true; - this.label420.Location = new System.Drawing.Point(3, 19); - this.label420.Name = "label420"; - this.label420.Size = new System.Drawing.Size(47, 13); - this.label420.TabIndex = 1; - this.label420.Text = "label420"; - // - // label419 - // - this.label419.AutoSize = true; - this.label419.Location = new System.Drawing.Point(3, 2); - this.label419.Name = "label419"; - this.label419.Size = new System.Drawing.Size(47, 13); - this.label419.TabIndex = 0; - this.label419.Text = "label419"; - // // comboBox6 // this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; @@ -4622,6 +5534,7 @@ this.comboBox6.Name = "comboBox6"; this.comboBox6.Size = new System.Drawing.Size(131, 21); this.comboBox6.TabIndex = 10; + this.comboBox6.SelectedValueChanged += new System.EventHandler(this.comboBox6_SelectedValueChanged); // // button15 // @@ -4656,14 +5569,14 @@ this.panel46.Controls.Add(this.checkBox14); this.panel46.Location = new System.Drawing.Point(1, 59); this.panel46.Name = "panel46"; - this.panel46.Size = new System.Drawing.Size(257, 36); + this.panel46.Size = new System.Drawing.Size(327, 36); this.panel46.TabIndex = 7; // // label379 // this.label379.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label379.Enabled = false; - this.label379.Location = new System.Drawing.Point(191, 13); + this.label379.Location = new System.Drawing.Point(211, 13); this.label379.Name = "label379"; this.label379.Size = new System.Drawing.Size(63, 20); this.label379.TabIndex = 7; @@ -4675,15 +5588,14 @@ this.myNumericUpDown75.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown75.DecimalPlaces = 1; this.myNumericUpDown75.Enabled = false; - this.myNumericUpDown75.Location = new System.Drawing.Point(138, 13); + this.myNumericUpDown75.Location = new System.Drawing.Point(275, 13); this.myNumericUpDown75.Maximum = new decimal(new int[] { 120, 0, 0, 0}); this.myNumericUpDown75.Name = "myNumericUpDown75"; - this.myNumericUpDown75.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown75.Size = new System.Drawing.Size(53, 20); + this.myNumericUpDown75.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown75.TabIndex = 6; this.myNumericUpDown75.ValueChanged += new System.EventHandler(this.myNumericUpDown75_ValueChanged); // @@ -4691,7 +5603,7 @@ // this.label77.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label77.Enabled = false; - this.label77.Location = new System.Drawing.Point(105, 13); + this.label77.Location = new System.Drawing.Point(103, 13); this.label77.Name = "label77"; this.label77.Size = new System.Drawing.Size(46, 20); this.label77.TabIndex = 5; @@ -4703,15 +5615,14 @@ // this.myNumericUpDown26.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown26.Enabled = false; - this.myNumericUpDown26.Location = new System.Drawing.Point(73, 13); + this.myNumericUpDown26.Location = new System.Drawing.Point(150, 13); this.myNumericUpDown26.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown26.Name = "myNumericUpDown26"; - this.myNumericUpDown26.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown26.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown26.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown26.TabIndex = 4; this.myNumericUpDown26.Visible = false; this.myNumericUpDown26.ValueChanged += new System.EventHandler(this.myNumericUpDown26_ValueChanged); @@ -4720,7 +5631,7 @@ // this.label76.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label76.Enabled = false; - this.label76.Location = new System.Drawing.Point(33, 13); + this.label76.Location = new System.Drawing.Point(1, 13); this.label76.Name = "label76"; this.label76.Size = new System.Drawing.Size(37, 20); this.label76.TabIndex = 3; @@ -4732,15 +5643,14 @@ // this.myNumericUpDown25.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.myNumericUpDown25.Enabled = false; - this.myNumericUpDown25.Location = new System.Drawing.Point(1, 13); + this.myNumericUpDown25.Location = new System.Drawing.Point(39, 13); this.myNumericUpDown25.Maximum = new decimal(new int[] { 99, 0, 0, 0}); this.myNumericUpDown25.Name = "myNumericUpDown25"; - this.myNumericUpDown25.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - this.myNumericUpDown25.Size = new System.Drawing.Size(32, 20); + this.myNumericUpDown25.Size = new System.Drawing.Size(49, 20); this.myNumericUpDown25.TabIndex = 2; this.myNumericUpDown25.Visible = false; this.myNumericUpDown25.ValueChanged += new System.EventHandler(this.myNumericUpDown25_ValueChanged); @@ -4888,7 +5798,6 @@ 0, 0}); this.myNumericUpDown23.Name = "myNumericUpDown23"; - this.myNumericUpDown23.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.myNumericUpDown23.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown23.TabIndex = 2; this.myNumericUpDown23.ValueChanged += new System.EventHandler(this.myNumericUpDown23_ValueChanged); @@ -4963,7 +5872,6 @@ 0, 0}); this.myNumericUpDown24.Name = "myNumericUpDown24"; - this.myNumericUpDown24.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.myNumericUpDown24.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown24.TabIndex = 2; this.myNumericUpDown24.Value = new decimal(new int[] { @@ -4984,7 +5892,6 @@ 0, 0}); this.myNumericUpDown22.Name = "myNumericUpDown22"; - this.myNumericUpDown22.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.myNumericUpDown22.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown22.TabIndex = 2; this.myNumericUpDown22.ValueChanged += new System.EventHandler(this.myNumericUpDown22_ValueChanged); @@ -5034,7 +5941,6 @@ 0, 0}); this.myNumericUpDown21.Name = "myNumericUpDown21"; - this.myNumericUpDown21.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.myNumericUpDown21.Size = new System.Drawing.Size(61, 20); this.myNumericUpDown21.TabIndex = 1; this.myNumericUpDown21.ValueChanged += new System.EventHandler(this.myNumericUpDown21_ValueChanged); @@ -5064,16 +5970,172 @@ // panel60 // this.panel60.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel60.Controls.Add(this.panel145); + this.panel60.Controls.Add(this.panel146); + this.panel60.Controls.Add(this.panel147); + this.panel60.Controls.Add(this.panel138); this.panel60.Controls.Add(this.panel97); this.panel60.Controls.Add(this.panel95); this.panel60.Controls.Add(this.panel94); this.panel60.Controls.Add(this.panel93); this.panel60.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel60.Location = new System.Drawing.Point(0, 634); + this.panel60.Location = new System.Drawing.Point(0, 568); this.panel60.Name = "panel60"; - this.panel60.Size = new System.Drawing.Size(432, 69); + this.panel60.Size = new System.Drawing.Size(432, 135); this.panel60.TabIndex = 10; // + // panel145 + // + this.panel145.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel145.Controls.Add(this.label602); + this.panel145.Controls.Add(this.label603); + this.panel145.Location = new System.Drawing.Point(334, 86); + this.panel145.Name = "panel145"; + this.panel145.Size = new System.Drawing.Size(95, 46); + this.panel145.TabIndex = 24; + // + // label602 + // + this.label602.AutoSize = true; + this.label602.Location = new System.Drawing.Point(4, 22); + this.label602.Name = "label602"; + this.label602.Size = new System.Drawing.Size(80, 13); + this.label602.TabIndex = 8; + this.label602.Text = "Vybraný mat. č."; + // + // label603 + // + this.label603.AutoSize = true; + this.label603.Location = new System.Drawing.Point(4, 3); + this.label603.Name = "label603"; + this.label603.Size = new System.Drawing.Size(84, 13); + this.label603.TabIndex = 7; + this.label603.Text = "Vybraný materiál"; + // + // panel146 + // + this.panel146.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel146.Controls.Add(this.label604); + this.panel146.Controls.Add(this.label622); + this.panel146.Location = new System.Drawing.Point(157, 86); + this.panel146.Name = "panel146"; + this.panel146.Size = new System.Drawing.Size(176, 46); + this.panel146.TabIndex = 23; + // + // label604 + // + this.label604.Location = new System.Drawing.Point(2, 2); + this.label604.Name = "label604"; + this.label604.Size = new System.Drawing.Size(169, 27); + this.label604.TabIndex = 9; + this.label604.Text = "Objem použitého materiálu z polotovaru [dm³]:"; + this.label604.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label622 + // + this.label622.Location = new System.Drawing.Point(15, 29); + this.label622.Name = "label622"; + this.label622.Size = new System.Drawing.Size(144, 14); + this.label622.TabIndex = 10; + this.label622.Text = "label622"; + this.label622.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // panel147 + // + this.panel147.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel147.Controls.Add(this.label623); + this.panel147.Controls.Add(this.label624); + this.panel147.Controls.Add(this.label625); + this.panel147.Controls.Add(this.label626); + this.panel147.Controls.Add(this.label627); + this.panel147.Controls.Add(this.label628); + this.panel147.Controls.Add(this.label629); + this.panel147.Location = new System.Drawing.Point(1, 86); + this.panel147.Name = "panel147"; + this.panel147.Size = new System.Drawing.Size(155, 46); + this.panel147.TabIndex = 22; + // + // label623 + // + this.label623.AutoSize = true; + this.label623.Location = new System.Drawing.Point(138, 15); + this.label623.Name = "label623"; + this.label623.Size = new System.Drawing.Size(13, 13); + this.label623.TabIndex = 13; + this.label623.Text = "€"; + // + // label624 + // + this.label624.AutoSize = true; + this.label624.Location = new System.Drawing.Point(138, 30); + this.label624.Name = "label624"; + this.label624.Size = new System.Drawing.Size(13, 13); + this.label624.TabIndex = 12; + this.label624.Text = "€"; + // + // label625 + // + this.label625.AutoSize = true; + this.label625.Location = new System.Drawing.Point(0, 1); + this.label625.Name = "label625"; + this.label625.Size = new System.Drawing.Size(77, 13); + this.label625.TabIndex = 4; + this.label625.Text = "Cena druhého:"; + // + // label626 + // + this.label626.AutoSize = true; + this.label626.Location = new System.Drawing.Point(-1, 15); + this.label626.Name = "label626"; + this.label626.Size = new System.Drawing.Size(31, 13); + this.label626.TabIndex = 11; + this.label626.Text = "1 Ks:"; + // + // label627 + // + this.label627.AutoSize = true; + this.label627.Location = new System.Drawing.Point(44, 15); + this.label627.Name = "label627"; + this.label627.Size = new System.Drawing.Size(13, 13); + this.label627.TabIndex = 8; + this.label627.Text = "0"; + // + // label628 + // + this.label628.AutoSize = true; + this.label628.Location = new System.Drawing.Point(44, 30); + this.label628.Name = "label628"; + this.label628.Size = new System.Drawing.Size(13, 13); + this.label628.TabIndex = 5; + this.label628.Text = "0"; + // + // label629 + // + this.label629.AutoSize = true; + this.label629.Location = new System.Drawing.Point(0, 30); + this.label629.Name = "label629"; + this.label629.Size = new System.Drawing.Size(32, 13); + this.label629.TabIndex = 7; + this.label629.Text = "X Ks:"; + // + // panel138 + // + this.panel138.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel138.Controls.Add(this.label619); + this.panel138.Location = new System.Drawing.Point(1, 1); + this.panel138.Name = "panel138"; + this.panel138.Size = new System.Drawing.Size(428, 18); + this.panel138.TabIndex = 21; + // + // label619 + // + this.label619.Location = new System.Drawing.Point(0, 0); + this.label619.Name = "label619"; + this.label619.Size = new System.Drawing.Size(428, 16); + this.label619.TabIndex = 1; + this.label619.Text = "Párovanie polotovaru a materiálu:"; + this.label619.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // panel97 // this.panel97.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -5081,7 +6143,7 @@ this.panel97.Controls.Add(this.label222); this.panel97.Controls.Add(this.label221); this.panel97.Controls.Add(this.label220); - this.panel97.Location = new System.Drawing.Point(1, 1); + this.panel97.Location = new System.Drawing.Point(1, 20); this.panel97.Name = "panel97"; this.panel97.Size = new System.Drawing.Size(428, 18); this.panel97.TabIndex = 15; @@ -5127,7 +6189,7 @@ this.panel95.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel95.Controls.Add(this.label219); this.panel95.Controls.Add(this.comboBox2); - this.panel95.Location = new System.Drawing.Point(249, 20); + this.panel95.Location = new System.Drawing.Point(334, 39); this.panel95.Name = "panel95"; this.panel95.Size = new System.Drawing.Size(95, 46); this.panel95.TabIndex = 14; @@ -5156,16 +6218,16 @@ this.panel94.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel94.Controls.Add(this.label216); this.panel94.Controls.Add(this.label217); - this.panel94.Location = new System.Drawing.Point(110, 20); + this.panel94.Location = new System.Drawing.Point(157, 39); this.panel94.Name = "panel94"; - this.panel94.Size = new System.Drawing.Size(138, 46); + this.panel94.Size = new System.Drawing.Size(176, 46); this.panel94.TabIndex = 13; // // label216 // this.label216.Location = new System.Drawing.Point(2, 2); this.label216.Name = "label216"; - this.label216.Size = new System.Drawing.Size(132, 27); + this.label216.Size = new System.Drawing.Size(169, 27); this.label216.TabIndex = 9; this.label216.Text = "Objem použitého materiálu z polotovaru [dm³]:"; this.label216.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -5174,7 +6236,7 @@ // this.label217.Location = new System.Drawing.Point(15, 29); this.label217.Name = "label217"; - this.label217.Size = new System.Drawing.Size(107, 14); + this.label217.Size = new System.Drawing.Size(144, 14); this.label217.TabIndex = 10; this.label217.Text = "label217"; this.label217.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -5189,15 +6251,15 @@ this.panel93.Controls.Add(this.label106); this.panel93.Controls.Add(this.label32); this.panel93.Controls.Add(this.label105); - this.panel93.Location = new System.Drawing.Point(1, 20); + this.panel93.Location = new System.Drawing.Point(1, 39); this.panel93.Name = "panel93"; - this.panel93.Size = new System.Drawing.Size(108, 46); + this.panel93.Size = new System.Drawing.Size(155, 46); this.panel93.TabIndex = 12; // // label250 // this.label250.AutoSize = true; - this.label250.Location = new System.Drawing.Point(95, 15); + this.label250.Location = new System.Drawing.Point(138, 15); this.label250.Name = "label250"; this.label250.Size = new System.Drawing.Size(13, 13); this.label250.TabIndex = 13; @@ -5206,7 +6268,7 @@ // label251 // this.label251.AutoSize = true; - this.label251.Location = new System.Drawing.Point(95, 30); + this.label251.Location = new System.Drawing.Point(138, 30); this.label251.Name = "label251"; this.label251.Size = new System.Drawing.Size(13, 13); this.label251.TabIndex = 12; @@ -5217,9 +6279,9 @@ this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point(0, 1); this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(35, 13); + this.label31.Size = new System.Drawing.Size(71, 13); this.label31.TabIndex = 4; - this.label31.Text = "Cena:"; + this.label31.Text = "Cena prvého:"; // // label218 // @@ -5233,7 +6295,7 @@ // label106 // this.label106.AutoSize = true; - this.label106.Location = new System.Drawing.Point(51, 15); + this.label106.Location = new System.Drawing.Point(44, 15); this.label106.Name = "label106"; this.label106.Size = new System.Drawing.Size(13, 13); this.label106.TabIndex = 8; @@ -5242,7 +6304,7 @@ // label32 // this.label32.AutoSize = true; - this.label32.Location = new System.Drawing.Point(51, 30); + this.label32.Location = new System.Drawing.Point(44, 30); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(13, 13); this.label32.TabIndex = 5; @@ -5292,12 +6354,12 @@ 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(867, 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); this.Naceňovanie.Name = "Naceňovanie"; - this.Naceňovanie.Size = new System.Drawing.Size(406, 728); + this.Naceňovanie.Size = new System.Drawing.Size(23, 728); this.Naceňovanie.TabIndex = 6; // // panel110 @@ -7518,7 +8580,7 @@ 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(1273, 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); @@ -9335,12 +10397,12 @@ this.Sadzby.Controls.Add(this.panel70); this.Sadzby.Controls.Add(this.panel13); this.Sadzby.Dock = System.Windows.Forms.DockStyle.Right; - this.Sadzby.Location = new System.Drawing.Point(1296, 0); + this.Sadzby.Location = new System.Drawing.Point(503, 0); this.Sadzby.Margin = new System.Windows.Forms.Padding(1); this.Sadzby.MaximumSize = new System.Drawing.Size(350, 728); this.Sadzby.MinimumSize = new System.Drawing.Size(23, 728); this.Sadzby.Name = "Sadzby"; - this.Sadzby.Size = new System.Drawing.Size(350, 728); + this.Sadzby.Size = new System.Drawing.Size(23, 728); this.Sadzby.TabIndex = 5; // // panel70 @@ -9746,6 +10808,8 @@ // this.checkBox35.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBox35.AutoSize = true; + this.checkBox35.Checked = true; + this.checkBox35.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox35.Location = new System.Drawing.Point(306, 3); this.checkBox35.Name = "checkBox35"; this.checkBox35.Size = new System.Drawing.Size(15, 14); @@ -10170,12 +11234,12 @@ this.Počty.Controls.Add(this.panel98); this.Počty.Controls.Add(this.panel9); this.Počty.Dock = System.Windows.Forms.DockStyle.Right; - this.Počty.Location = new System.Drawing.Point(1646, 0); + this.Počty.Location = new System.Drawing.Point(526, 0); this.Počty.Margin = new System.Windows.Forms.Padding(1); this.Počty.MaximumSize = new System.Drawing.Size(403, 728); this.Počty.MinimumSize = new System.Drawing.Size(23, 728); this.Počty.Name = "Počty"; - this.Počty.Size = new System.Drawing.Size(403, 728); + this.Počty.Size = new System.Drawing.Size(23, 728); this.Počty.TabIndex = 1; // // panel98 @@ -11966,7 +13030,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(2074, 921); + this.ClientSize = new System.Drawing.Size(574, 916); this.Controls.Add(this.panel16); this.Controls.Add(this.panel1); this.Controls.Add(this.panel17); @@ -12004,19 +13068,53 @@ this.Polotovar.ResumeLayout(false); this.Polotovar.PerformLayout(); this.panel28.ResumeLayout(false); - this.panel41.ResumeLayout(false); - this.panel96.ResumeLayout(false); - this.panel96.PerformLayout(); - this.panel42.ResumeLayout(false); - this.panel43.ResumeLayout(false); + this.panel107.ResumeLayout(false); + this.panel108.ResumeLayout(false); + this.panel109.ResumeLayout(false); + this.panel109.PerformLayout(); + this.panel129.ResumeLayout(false); + this.panel129.PerformLayout(); + this.panel131.ResumeLayout(false); + this.panel134.ResumeLayout(false); + this.panel134.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown142)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown143)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown144)).EndInit(); + this.panel135.ResumeLayout(false); + this.panel135.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown145)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown146)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown147)).EndInit(); + this.panel136.ResumeLayout(false); + this.panel137.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown148)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown149)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown150)).EndInit(); + this.panel139.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown151)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown152)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown153)).EndInit(); + this.panel140.ResumeLayout(false); + this.panel140.PerformLayout(); + this.panel141.ResumeLayout(false); + this.panel141.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown154)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown155)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown156)).EndInit(); + this.panel142.ResumeLayout(false); + this.panel142.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown157)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown158)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown159)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown160)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown161)).EndInit(); + this.panel106.ResumeLayout(false); this.panel32.ResumeLayout(false); - this.panel32.PerformLayout(); this.panel40.ResumeLayout(false); this.panel40.PerformLayout(); this.panel39.ResumeLayout(false); this.panel39.PerformLayout(); this.panel31.ResumeLayout(false); - this.panel31.PerformLayout(); this.panel38.ResumeLayout(false); this.panel38.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown12)).EndInit(); @@ -12028,7 +13126,6 @@ ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown6)).EndInit(); this.panel30.ResumeLayout(false); - this.panel30.PerformLayout(); this.panel34.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown8)).EndInit(); @@ -12051,13 +13148,20 @@ ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown10)).EndInit(); + this.panel41.ResumeLayout(false); + this.panel130.ResumeLayout(false); + this.panel132.ResumeLayout(false); + this.panel143.ResumeLayout(false); + this.panel128.ResumeLayout(false); + this.panel96.ResumeLayout(false); + this.panel96.PerformLayout(); + this.panel42.ResumeLayout(false); + this.panel43.ResumeLayout(false); this.Materiál.ResumeLayout(false); this.Materiál.PerformLayout(); this.panel45.ResumeLayout(false); this.panel63.ResumeLayout(false); this.panel63.PerformLayout(); - this.panel109.ResumeLayout(false); - this.panel109.PerformLayout(); this.panel64.ResumeLayout(false); this.panel64.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown98)).EndInit(); @@ -12079,8 +13183,6 @@ ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown44)).EndInit(); this.panel54.ResumeLayout(false); this.panel54.PerformLayout(); - this.panel108.ResumeLayout(false); - this.panel108.PerformLayout(); this.panel55.ResumeLayout(false); this.panel55.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown87)).EndInit(); @@ -12102,8 +13204,6 @@ ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown38)).EndInit(); this.panel47.ResumeLayout(false); this.panel47.PerformLayout(); - this.panel107.ResumeLayout(false); - this.panel107.PerformLayout(); this.panel48.ResumeLayout(false); this.panel48.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown86)).EndInit(); @@ -12125,8 +13225,6 @@ ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown32)).EndInit(); this.panel23.ResumeLayout(false); this.panel23.PerformLayout(); - this.panel106.ResumeLayout(false); - this.panel106.PerformLayout(); this.panel46.ResumeLayout(false); this.panel46.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown75)).EndInit(); @@ -12147,6 +13245,12 @@ this.panel25.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myNumericUpDown21)).EndInit(); this.panel60.ResumeLayout(false); + this.panel145.ResumeLayout(false); + this.panel145.PerformLayout(); + this.panel146.ResumeLayout(false); + this.panel147.ResumeLayout(false); + this.panel147.PerformLayout(); + this.panel138.ResumeLayout(false); this.panel97.ResumeLayout(false); this.panel97.PerformLayout(); this.panel95.ResumeLayout(false); @@ -12386,92 +13490,8 @@ private System.Windows.Forms.CheckBox checkBox2; private System.Windows.Forms.CheckBox checkBox1; private System.Windows.Forms.Panel panel28; - private System.Windows.Forms.Panel panel32; - private System.Windows.Forms.CheckBox checkBox8; - private System.Windows.Forms.Label label22; - private System.Windows.Forms.Panel panel31; - private System.Windows.Forms.CheckBox checkBox7; - private System.Windows.Forms.Label label21; - private System.Windows.Forms.Panel panel30; - private System.Windows.Forms.CheckBox checkBox6; - private System.Windows.Forms.Label label20; - private MyTools.MyNumericUpDown myNumericUpDown4; - private System.Windows.Forms.Panel panel29; - private System.Windows.Forms.Label label27; - private System.Windows.Forms.Label label26; - private System.Windows.Forms.Label label25; - private System.Windows.Forms.Label label24; - private System.Windows.Forms.Label label23; - private System.Windows.Forms.CheckBox checkBox5; - private MyTools.MyNumericUpDown myNumericUpDown3; - private MyTools.MyNumericUpDown myNumericUpDown2; - private System.Windows.Forms.Label label19; - private MyTools.MyNumericUpDown myNumericUpDown1; private System.Windows.Forms.Label label18; private System.Windows.Forms.Label label17; - private System.Windows.Forms.Label label28; - private System.Windows.Forms.Label label29; - private System.Windows.Forms.Label label30; - private MyTools.MyNumericUpDown myNumericUpDown5; - private MyTools.MyNumericUpDown myNumericUpDown6; - private System.Windows.Forms.Panel panel34; - private System.Windows.Forms.Label label36; - private MyTools.MyNumericUpDown myNumericUpDown9; - private System.Windows.Forms.Label label35; - private MyTools.MyNumericUpDown myNumericUpDown8; - private System.Windows.Forms.Label label34; - private MyTools.MyNumericUpDown myNumericUpDown7; - private System.Windows.Forms.Panel panel33; - private System.Windows.Forms.Panel panel36; - private System.Windows.Forms.Panel panel35; - private System.Windows.Forms.Label label38; - private MyTools.MyNumericUpDown myNumericUpDown11; - private System.Windows.Forms.Label label37; - private MyTools.MyNumericUpDown myNumericUpDown10; - private System.Windows.Forms.CheckBox checkBox9; - private System.Windows.Forms.Label label40; - private System.Windows.Forms.Label label41; - private System.Windows.Forms.Label label42; - private System.Windows.Forms.Label label43; - private System.Windows.Forms.Panel panel40; - private System.Windows.Forms.Panel panel39; - private System.Windows.Forms.Panel panel38; - private MyTools.MyNumericUpDown myNumericUpDown12; - private MyTools.MyNumericUpDown myNumericUpDown13; - private MyTools.MyNumericUpDown myNumericUpDown14; - private System.Windows.Forms.Panel panel37; - private System.Windows.Forms.Label label45; - private System.Windows.Forms.Label label44; - private System.Windows.Forms.Label label49; - private System.Windows.Forms.Label label50; - private System.Windows.Forms.Label label51; - private System.Windows.Forms.Label label46; - private System.Windows.Forms.Label label47; - private System.Windows.Forms.Label label48; - private System.Windows.Forms.Label label56; - private System.Windows.Forms.Label label57; - private System.Windows.Forms.Label label58; - private System.Windows.Forms.Label label59; - private System.Windows.Forms.Label label52; - private System.Windows.Forms.Label label53; - private System.Windows.Forms.Label label54; - private System.Windows.Forms.Label label55; - private System.Windows.Forms.Label label62; - private System.Windows.Forms.Label label63; - private System.Windows.Forms.Label label61; - private System.Windows.Forms.Label label60; - private System.Windows.Forms.Label label64; - private System.Windows.Forms.Label label65; - private System.Windows.Forms.Label label66; - private System.Windows.Forms.CheckBox checkBox11; - private System.Windows.Forms.CheckBox checkBox10; - private MyTools.MyNumericUpDown myNumericUpDown17; - private MyTools.MyNumericUpDown myNumericUpDown16; - private MyTools.MyNumericUpDown myNumericUpDown15; - private System.Windows.Forms.Label label39; - private MyTools.MyNumericUpDown myNumericUpDown18; - private MyTools.MyNumericUpDown myNumericUpDown20; - private MyTools.MyNumericUpDown myNumericUpDown19; private System.Windows.Forms.Panel panel41; private System.Windows.Forms.Panel panel42; private System.Windows.Forms.Label label33; @@ -12479,8 +13499,6 @@ private System.Windows.Forms.Label label69; private System.Windows.Forms.CheckBox checkBox12; private System.Windows.Forms.Label label70; - private System.Windows.Forms.Button button6; - private System.Windows.Forms.Button button5; private System.Windows.Forms.Panel panel60; private System.Windows.Forms.Label label32; private System.Windows.Forms.Label label31; @@ -13018,34 +14036,6 @@ private System.Windows.Forms.ComboBox comboBox8; private System.Windows.Forms.ComboBox comboBox7; private System.Windows.Forms.ComboBox comboBox6; - private System.Windows.Forms.Panel panel109; - private System.Windows.Forms.Label label437; - private System.Windows.Forms.Label label438; - private System.Windows.Forms.Label label439; - private System.Windows.Forms.Label label440; - private System.Windows.Forms.Label label441; - private System.Windows.Forms.Label label442; - private System.Windows.Forms.Panel panel108; - private System.Windows.Forms.Label label431; - private System.Windows.Forms.Label label432; - private System.Windows.Forms.Label label433; - private System.Windows.Forms.Label label434; - private System.Windows.Forms.Label label435; - private System.Windows.Forms.Label label436; - private System.Windows.Forms.Panel panel107; - private System.Windows.Forms.Label label425; - private System.Windows.Forms.Label label426; - private System.Windows.Forms.Label label427; - private System.Windows.Forms.Label label428; - private System.Windows.Forms.Label label429; - private System.Windows.Forms.Label label430; - private System.Windows.Forms.Panel panel106; - private System.Windows.Forms.Label label424; - private System.Windows.Forms.Label label423; - private System.Windows.Forms.Label label422; - private System.Windows.Forms.Label label421; - private System.Windows.Forms.Label label420; - private System.Windows.Forms.Label label419; private System.Windows.Forms.Button button19; private System.Windows.Forms.Panel panel110; private System.Windows.Forms.CheckBox checkBox36; @@ -13259,5 +14249,197 @@ private MyTools.MyNumericUpDown myNumericUpDown140; private System.Windows.Forms.Label label591; private MyTools.MyNumericUpDown myNumericUpDown141; + private System.Windows.Forms.Panel panel138; + private System.Windows.Forms.Label label619; + private System.Windows.Forms.Panel panel107; + private System.Windows.Forms.Panel panel108; + private System.Windows.Forms.Panel panel109; + private System.Windows.Forms.Label label419; + private System.Windows.Forms.Label label420; + private System.Windows.Forms.Label label421; + private System.Windows.Forms.Label label422; + private System.Windows.Forms.Label label423; + private System.Windows.Forms.Label label424; + private System.Windows.Forms.Label label425; + private System.Windows.Forms.Label label426; + private System.Windows.Forms.Label label427; + private System.Windows.Forms.Panel panel129; + private System.Windows.Forms.Label label428; + private System.Windows.Forms.Label label429; + private System.Windows.Forms.Label label430; + private System.Windows.Forms.Label label431; + private System.Windows.Forms.Label label432; + private System.Windows.Forms.Label label433; + private System.Windows.Forms.Label label434; + private System.Windows.Forms.Label label435; + private System.Windows.Forms.Panel panel131; + private System.Windows.Forms.Panel panel134; + private System.Windows.Forms.Label label436; + private System.Windows.Forms.Label label437; + private System.Windows.Forms.Label label438; + private System.Windows.Forms.Label label439; + private MyTools.MyNumericUpDown myNumericUpDown142; + private MyTools.MyNumericUpDown myNumericUpDown143; + private MyTools.MyNumericUpDown myNumericUpDown144; + private System.Windows.Forms.Panel panel135; + private System.Windows.Forms.Label label440; + private System.Windows.Forms.Label label441; + private System.Windows.Forms.Label label442; + private System.Windows.Forms.Label label596; + private MyTools.MyNumericUpDown myNumericUpDown145; + private MyTools.MyNumericUpDown myNumericUpDown146; + private MyTools.MyNumericUpDown myNumericUpDown147; + private System.Windows.Forms.Label label597; + private System.Windows.Forms.Panel panel136; + private System.Windows.Forms.Panel panel137; + private System.Windows.Forms.Label label598; + private MyTools.MyNumericUpDown myNumericUpDown148; + private System.Windows.Forms.Label label599; + private MyTools.MyNumericUpDown myNumericUpDown149; + private System.Windows.Forms.Label label600; + private MyTools.MyNumericUpDown myNumericUpDown150; + private System.Windows.Forms.Panel panel139; + private System.Windows.Forms.Label label601; + private System.Windows.Forms.Label label606; + private MyTools.MyNumericUpDown myNumericUpDown151; + private MyTools.MyNumericUpDown myNumericUpDown152; + private System.Windows.Forms.Label label607; + private MyTools.MyNumericUpDown myNumericUpDown153; + private System.Windows.Forms.Label label608; + private System.Windows.Forms.Panel panel140; + private System.Windows.Forms.Button button20; + private System.Windows.Forms.Button button21; + private System.Windows.Forms.Panel panel141; + private MyTools.MyNumericUpDown myNumericUpDown154; + private MyTools.MyNumericUpDown myNumericUpDown155; + private MyTools.MyNumericUpDown myNumericUpDown156; + private System.Windows.Forms.Label label609; + private System.Windows.Forms.Label label610; + private System.Windows.Forms.Label label611; + private System.Windows.Forms.Label label612; + private System.Windows.Forms.Label label613; + private System.Windows.Forms.Label label614; + private System.Windows.Forms.Panel panel142; + private System.Windows.Forms.CheckBox checkBox41; + private System.Windows.Forms.CheckBox checkBox42; + private MyTools.MyNumericUpDown myNumericUpDown157; + private MyTools.MyNumericUpDown myNumericUpDown158; + private MyTools.MyNumericUpDown myNumericUpDown159; + private System.Windows.Forms.Label label615; + private System.Windows.Forms.Label label616; + private MyTools.MyNumericUpDown myNumericUpDown160; + private System.Windows.Forms.Label label617; + private MyTools.MyNumericUpDown myNumericUpDown161; + private System.Windows.Forms.CheckBox checkBox43; + private System.Windows.Forms.Label label618; + private System.Windows.Forms.Label label620; + private System.Windows.Forms.CheckBox checkBox44; + private System.Windows.Forms.Label label621; + private System.Windows.Forms.Panel panel106; + private System.Windows.Forms.Panel panel32; + private System.Windows.Forms.Panel panel40; + private System.Windows.Forms.Label label39; + private System.Windows.Forms.Label label62; + private System.Windows.Forms.Label label63; + private System.Windows.Forms.Label label61; + private System.Windows.Forms.Label label60; + private System.Windows.Forms.Label label56; + private System.Windows.Forms.Label label57; + private System.Windows.Forms.Label label58; + private System.Windows.Forms.Label label59; + private System.Windows.Forms.Panel panel39; + private System.Windows.Forms.Label label64; + private System.Windows.Forms.Label label65; + private System.Windows.Forms.Label label66; + private System.Windows.Forms.Label label52; + private System.Windows.Forms.Label label53; + private System.Windows.Forms.Label label54; + private System.Windows.Forms.Label label55; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.Panel panel31; + private System.Windows.Forms.Panel panel38; + private System.Windows.Forms.Label label49; + private System.Windows.Forms.Label label50; + private System.Windows.Forms.Label label51; + private System.Windows.Forms.Label label45; + private MyTools.MyNumericUpDown myNumericUpDown12; + private MyTools.MyNumericUpDown myNumericUpDown13; + private MyTools.MyNumericUpDown myNumericUpDown14; + private System.Windows.Forms.Panel panel37; + private System.Windows.Forms.Label label46; + private System.Windows.Forms.Label label47; + private System.Windows.Forms.Label label48; + private System.Windows.Forms.Label label44; + private MyTools.MyNumericUpDown myNumericUpDown4; + private MyTools.MyNumericUpDown myNumericUpDown5; + private MyTools.MyNumericUpDown myNumericUpDown6; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Panel panel30; + private System.Windows.Forms.Panel panel34; + private System.Windows.Forms.Label label36; + private MyTools.MyNumericUpDown myNumericUpDown9; + private System.Windows.Forms.Label label35; + private MyTools.MyNumericUpDown myNumericUpDown8; + private System.Windows.Forms.Label label34; + private MyTools.MyNumericUpDown myNumericUpDown7; + private System.Windows.Forms.Panel panel33; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.Label label28; + private MyTools.MyNumericUpDown myNumericUpDown2; + private MyTools.MyNumericUpDown myNumericUpDown3; + private System.Windows.Forms.Label label30; + private MyTools.MyNumericUpDown myNumericUpDown1; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Panel panel29; + private System.Windows.Forms.Button button6; + private System.Windows.Forms.Button button5; + private System.Windows.Forms.Panel panel36; + private MyTools.MyNumericUpDown myNumericUpDown20; + private MyTools.MyNumericUpDown myNumericUpDown19; + private MyTools.MyNumericUpDown myNumericUpDown18; + private System.Windows.Forms.Label label41; + private System.Windows.Forms.Label label42; + private System.Windows.Forms.Label label43; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.Panel panel35; + private System.Windows.Forms.CheckBox checkBox11; + private System.Windows.Forms.CheckBox checkBox10; + private MyTools.MyNumericUpDown myNumericUpDown17; + private MyTools.MyNumericUpDown myNumericUpDown16; + private MyTools.MyNumericUpDown myNumericUpDown15; + private System.Windows.Forms.Label label40; + private System.Windows.Forms.Label label38; + private MyTools.MyNumericUpDown myNumericUpDown11; + private System.Windows.Forms.Label label37; + private MyTools.MyNumericUpDown myNumericUpDown10; + private System.Windows.Forms.CheckBox checkBox9; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.CheckBox checkBox5; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Panel panel130; + private System.Windows.Forms.Label label593; + private System.Windows.Forms.Panel panel132; + private System.Windows.Forms.Label label594; + private System.Windows.Forms.Panel panel143; + private System.Windows.Forms.Label label595; + private System.Windows.Forms.Panel panel128; + private System.Windows.Forms.Label label592; + private System.Windows.Forms.Panel panel145; + private System.Windows.Forms.Label label603; + private System.Windows.Forms.Panel panel146; + private System.Windows.Forms.Label label604; + private System.Windows.Forms.Label label622; + private System.Windows.Forms.Panel panel147; + private System.Windows.Forms.Label label623; + private System.Windows.Forms.Label label624; + private System.Windows.Forms.Label label625; + private System.Windows.Forms.Label label626; + private System.Windows.Forms.Label label627; + private System.Windows.Forms.Label label628; + private System.Windows.Forms.Label label629; + private System.Windows.Forms.Label label602; } } \ No newline at end of file diff --git a/Mip/frmNacenovanie.cs b/Mip/frmNacenovanie.cs index 038fb28..9d375a2 100644 --- a/Mip/frmNacenovanie.cs +++ b/Mip/frmNacenovanie.cs @@ -44,6 +44,8 @@ namespace Mip private bool showPocty = false; private bool showSadzby = false; + private bool FirstTimeLoad; + public frmNacenovanie(Int32 _IDNacenovanie, Int32 _IDVyrobok, bool _nacenovanie, bool _vyhodnocovanie, bool _polotovar, bool _material, bool _pocty, bool _sadzby, Int32 idVydonocovanie = -1) { InitializeComponent(); @@ -74,6 +76,7 @@ namespace Mip this.DoubleBuffered = true; this.pictureBox1.MouseWheel += new MouseEventHandler(picBoxMouseWheel); + FirstTimeLoad = true; } void picBoxMouseWheel(object sender, MouseEventArgs e) @@ -118,8 +121,6 @@ namespace Mip Výkres.Controls.Add(rotLabelVykres); foreach (Control ctrl in Výkres.Controls) ctrl.Click += new EventHandler(VykresClick); - this.SuspendLayout(); - //objNacenovanyObjekt = new NacenovanyObjekt(); objObjectVyrobok = new ObjectVyrobok(IDN, IDV); @@ -168,11 +169,10 @@ namespace Mip //if (Form.ActiveForm != null) //{ //} - + FirstTimeLoad = false; RefreshAll(); RefreshVyhodnotenieAll(); - this.ResumeLayout(); if (this.Text.ToString() == "Print") { @@ -253,12 +253,14 @@ namespace Mip private void RefreshAll() { - objObjectSadzby.RefreshForm(this); - objObjectPolotovar.RefreshForm(this); - objObjectMaterial.RefreshForm(this); - objObjectNacenovanie.RefreshForm(this); - objObjectPocty.RefreshForm(this); - + if (!FirstTimeLoad) + { + objObjectSadzby.RefreshForm(this); + objObjectPolotovar.RefreshForm(this); + objObjectMaterial.RefreshForm(this); + objObjectNacenovanie.RefreshForm(this); + objObjectPocty.RefreshForm(this); + } } private void RefreshVyhodnotenieAll() @@ -436,7 +438,7 @@ namespace Mip dynamic form = inputForm as frmNacenovanie; if (form != null) { - form.SuspendLayout(); + //form.SuspendLayout(); form.label6.Text = PocetSegmentov.ToString(); form.label10.Text = NazovVyrobku; form.label12.Text = Zakaznik; @@ -451,7 +453,7 @@ namespace Mip else form.button6.Enabled = false; if (PocetSegmentov > 1) form.label34.Text = "seg. v polotovare"; else form.label34.Text = "kus. v polotovare"; - form.ResumeLayout(); + //form.ResumeLayout(); } } @@ -467,6 +469,7 @@ namespace Mip #endregion Premenné public #region Premenné private + //polotovar 1 private bool chB5 = true; private decimal myNuD18 { get; set; } private decimal myNuD19 { get; set; } @@ -479,21 +482,18 @@ namespace Mip private bool chB11 = true; private decimal myNuD10 { get; set; } private decimal myNuD11 { get; set; } - private bool chB6 { get; set; } private decimal myNuD1 { get; set; } private decimal myNuD2 { get; set; } private decimal myNuD3 { get; set; } private decimal myNuD7 { get; set; } private decimal myNuD8 { get; set; } private decimal myNuD9 { get; set; } - private bool chB7 { get; set; } private decimal myNuD4 { get; set; } private decimal myNuD6 { get; set; } private decimal myNuD5 { get; set; } private decimal myNuD12 { get; set; } private decimal myNuD14 { get; set; } private decimal myNuD13 { get; set; } - private bool chB8 = true; private bool chB12 = true; private string l66 { get; set; } @@ -501,6 +501,39 @@ namespace Mip private string l64 { get; set; } private string l27 { get; set; } + //polotovar 2 + private bool chB44 = true; + private decimal myNuD156 { get; set; } + private decimal myNuD155 { get; set; } + private decimal myNuD154 { get; set; } + private bool chB43 { get; set; } + private bool chB42 { get; set; } + private decimal myNuD157 { get; set; } + private decimal myNuD158 { get; set; } + private decimal myNuD159 { get; set; } + private bool chB41 = true; + private decimal myNuD161 { get; set; } + private decimal myNuD160 { get; set; } + private decimal myNuD153 { get; set; } + private decimal myNuD151 { get; set; } + private decimal myNuD152 { get; set; } + private decimal myNuD150 { get; set; } + private decimal myNuD149 { get; set; } + private decimal myNuD148 { get; set; } + private decimal myNuD145 { get; set; } + private decimal myNuD147 { get; set; } + private decimal myNuD146 { get; set; } + private decimal myNuD142 { get; set; } + private decimal myNuD144 { get; set; } + private decimal myNuD143 { get; set; } + + private string l430 { get; set; } + private string l429 { get; set; } + private string l428 { get; set; } + private string l618 { get; set; } + + + private string l6 { get; set; } private Int32 IDNacenovanie; private Int32 IDNacenovaniePolotovar = 0; @@ -532,21 +565,44 @@ namespace Mip chB11 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB11"].ToString()); myNuD10 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD10"].ToString()); myNuD11 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD11"].ToString()); - chB6 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB6"].ToString()); myNuD1 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD1"].ToString()); myNuD2 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD2"].ToString()); myNuD3 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD3"].ToString()); myNuD7 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD7"].ToString()); myNuD8 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD8"].ToString()); myNuD9 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD9"].ToString()); - chB7 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB7"].ToString()); myNuD4 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD4"].ToString()); myNuD6 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD6"].ToString()); myNuD5 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD5"].ToString()); myNuD12 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD12"].ToString()); myNuD14 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD14"].ToString()); myNuD13 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD13"].ToString()); - chB8 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB8"].ToString()); + + l618 = tblObjectPolotovar.Rows[intCisloRiadka]["TvarPolotovaru2"].ToString(); + chB44 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB44"].ToString()); + myNuD156 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD156"].ToString()); + myNuD155 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD155"].ToString()); + myNuD154 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD154"].ToString()); + chB43 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB43"].ToString()); + chB42 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB42"].ToString()); + myNuD157 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD157"].ToString()); + myNuD158 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD158"].ToString()); + myNuD159 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD159"].ToString()); + chB41 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB41"].ToString()); + myNuD161 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD161"].ToString()); + myNuD160 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD160"].ToString()); + myNuD153 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD153"].ToString()); + myNuD151 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD151"].ToString()); + myNuD152 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD152"].ToString()); + myNuD150 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD150"].ToString()); + myNuD149 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD149"].ToString()); + myNuD148 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD148"].ToString()); + myNuD145 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD145"].ToString()); + myNuD147 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD147"].ToString()); + myNuD146 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD146"].ToString()); + myNuD142 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD142"].ToString()); + myNuD144 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD144"].ToString()); + myNuD143 = Convert.ToDecimal(tblObjectPolotovar.Rows[intCisloRiadka]["myNuD143"].ToString()); chB12 = Convert.ToBoolean(tblObjectPolotovar.Rows[intCisloRiadka]["chB12"].ToString()); IDNacenovaniePolotovar = Convert.ToInt32(tblObjectPolotovar.Rows[intCisloRiadka]["IDNacecovaniePolotovar"].ToString()); @@ -556,56 +612,101 @@ namespace Mip #endregion Konštruktor #region Objem Výpichu - private decimal ObjemVypichu() + private decimal ObjemVypichu(bool isFirst = true) { decimal dObjemVypichu = 0; if (bEnableRefresh == true) { - if (chB9 == true) + if (isFirst) { - if (chB10 == true) + if (chB9 == true) { - decimal Objem = myNuD17 * myNuD16 * myNuD15 / 1000000 * myNuD10 / 100; - dObjemVypichu = Objem; + if (chB10 == true) + { + decimal Objem = myNuD17 * myNuD16 * myNuD15 / 1000000 * myNuD10 / 100; + dObjemVypichu = Objem; + } + if (chB11 == true) + { + double Objem = Math.PI * Math.Pow(Convert.ToDouble(myNuD11) / 2, 2) * Convert.ToDouble(myNuD20 + myNuD3 + myNuD5) / 1000000 * Convert.ToDouble(myNuD10) / 100; + dObjemVypichu = Convert.ToDecimal(Objem); + } } - if (chB11 == true) - { - double Objem = Math.PI * Math.Pow(Convert.ToDouble(myNuD11) / 2, 2) * Convert.ToDouble(myNuD20 + myNuD3 + myNuD5) / 1000000 * Convert.ToDouble(myNuD10) / 100; - dObjemVypichu = Convert.ToDecimal(Objem); - } - } - else dObjemVypichu = 0; + else dObjemVypichu = 0; + } + else + { + if (chB43 == true) + { + if (chB42 == true) + { + decimal Objem = myNuD157 * myNuD158 * myNuD159 / 1000000 * myNuD161 / 100; + dObjemVypichu = Objem; + } + if (chB11 == true) + { + double Objem = Math.PI * Math.Pow(Convert.ToDouble(myNuD160) / 2, 2) * Convert.ToDouble(myNuD154 + myNuD152 + myNuD146) / 1000000 * Convert.ToDouble(myNuD161) / 100; + dObjemVypichu = Convert.ToDecimal(Objem); + } + } + + else dObjemVypichu = 0; + } } return dObjemVypichu; } #endregion Objem Výpichu #region Objem Polotovaru - private decimal ObjemPolotovaru() + private decimal ObjemPolotovaru(bool isFirst = true) { decimal dObjemPolotovaru = 0; decimal decDlzka; if (bEnableRefresh == true) { - if (Convert.ToInt16(l6) > 1) decDlzka = Math.Ceiling(Convert.ToDecimal(myNuD7 / (Convert.ToInt16(l6) - 1))) * (myNuD20 + myNuD3 + myNuD5/* + myNuD13*/); - else decDlzka = (myNuD7 * (myNuD20 + myNuD3 + myNuD5/* + myNuD13*/)) + myNuD9 + ((myNuD7 - 1) * myNuD8); - - - if (l27 == "Ø") + if (isFirst) { - double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(myNuD18 + myNuD1 + myNuD4) / 2, 2)) - (Math.PI * Math.Pow(Convert.ToDouble(myNuD19 - myNuD2 - myNuD6) / 2, 2))) - * Convert.ToDouble(decDlzka) / 1000000 / Convert.ToDouble(l6); + if (Convert.ToInt16(l6) > 1) decDlzka = Math.Ceiling(Convert.ToDecimal(myNuD7 / (Convert.ToInt16(l6) - 1))) * (myNuD20 + myNuD3 + myNuD5/* + myNuD13*/); + else decDlzka = (myNuD7 * (myNuD20 + myNuD3 + myNuD5/* + myNuD13*/)) + myNuD9 + ((myNuD7 - 1) * myNuD8); - dObjemPolotovaru = Convert.ToDecimal(Objem); + + if (l27 == "Ø") + { + double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(myNuD18 + myNuD1 + myNuD4) / 2, 2)) - (Math.PI * Math.Pow(Convert.ToDouble(myNuD19 - myNuD2 - myNuD6) / 2, 2))) + * Convert.ToDouble(decDlzka) / 1000000 / Convert.ToDouble(l6); + + dObjemPolotovaru = Convert.ToDecimal(Objem); + } + else + { + decimal Objem = (myNuD18 + myNuD1 + myNuD4) * (myNuD19 + myNuD2 + myNuD6) * decDlzka / Convert.ToDecimal(l6) / 1000000; + + dObjemPolotovaru = Objem; + } } else { - decimal Objem = (myNuD18 + myNuD1 + myNuD4) * (myNuD19 + myNuD2 + myNuD6) * decDlzka / Convert.ToDecimal(l6) / 1000000; + if (Convert.ToInt16(l6) > 1) decDlzka = Math.Ceiling(Convert.ToDecimal(myNuD150 / (Convert.ToInt16(l6) - 1))) * (myNuD154 + myNuD152 + myNuD146/* + myNuD13*/); + else decDlzka = (myNuD150 * (myNuD154 + myNuD152 + myNuD146/* + myNuD13*/)) + myNuD9 + ((myNuD150 - 1) * myNuD8); + + + if (l27 == "Ø") + { + double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(myNuD156 + myNuD153 + myNuD145) / 2, 2)) - (Math.PI * Math.Pow(Convert.ToDouble(myNuD155 - myNuD151 - myNuD147) / 2, 2))) + * Convert.ToDouble(decDlzka) / 1000000 / Convert.ToDouble(l6); + + dObjemPolotovaru = Convert.ToDecimal(Objem); + } + else + { + decimal Objem = (myNuD156 + myNuD153 + myNuD145) * (myNuD155 + myNuD151 + myNuD147) * decDlzka / Convert.ToDecimal(l6) / 1000000; + + dObjemPolotovaru = Objem; + } - dObjemPolotovaru = Objem; } } return dObjemPolotovaru; @@ -613,25 +714,46 @@ namespace Mip #endregion Objem polotovaru #region Objem Výrobku - private decimal ObjemVyrobku() + private decimal ObjemVyrobku(bool isFirst = true) { decimal dObjemVyrobku = 0; if (bEnableRefresh == true) { - if (l27 == "Ø") + if (isFirst) { - double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(psdRozmer1) / 2, 2)) - (Math.PI * Math.Pow(Convert.ToDouble(psdRozmer2) / 2, 2))) - * Convert.ToDouble(Convert.ToDouble(psdRozmer3)) - / 1000000 / Convert.ToDouble(l6); + if (l27 == "Ø") + { + double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(psdRozmer1) / 2, 2)) - (Math.PI * Math.Pow(Convert.ToDouble(psdRozmer2) / 2, 2))) + * Convert.ToDouble(Convert.ToDouble(psdRozmer3)) + / 1000000 / Convert.ToDouble(l6); - dObjemVyrobku = Convert.ToDecimal(Objem); + dObjemVyrobku = Convert.ToDecimal(Objem); + } + else + { + decimal Objem = psdRozmer1 * psdRozmer2 * psdRozmer3 / Convert.ToDecimal(l6) / 1000000; + + dObjemVyrobku = Objem; + } } else { - decimal Objem = psdRozmer1 * psdRozmer2 * psdRozmer3 / Convert.ToDecimal(l6) / 1000000; + if (l27 == "Ø") + { + double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(psdRozmer1) / 2, 2)) - (Math.PI * Math.Pow(Convert.ToDouble(psdRozmer2) / 2, 2))) + * Convert.ToDouble(Convert.ToDouble(psdRozmer3)) + / 1000000 / Convert.ToDouble(l6); + + dObjemVyrobku = Convert.ToDecimal(Objem); + } + else + { + decimal Objem = psdRozmer1 * psdRozmer2 * psdRozmer3 / Convert.ToDecimal(l6) / 1000000; + + dObjemVyrobku = Objem; + } - dObjemVyrobku = Objem; } } return dObjemVyrobku; @@ -639,28 +761,50 @@ namespace Mip #endregion Objem Výrobku #region Objem použitého materiálu - private decimal ObjemPouzMaterialu() + private decimal ObjemPouzMaterialu(bool isFirst = true) { decimal dObjemPouzMaterialu = 0; double dObjemVypichu = 0; if (bEnableRefresh == true) { - if (chB9 == true) + if (isFirst) { - if (chB10 == true) dObjemVypichu = Convert.ToDouble(myNuD17 * myNuD16 * myNuD15 / 1000000 * myNuD10 / 100); - if (chB11 == true) dObjemVypichu = Math.PI * Math.Pow(Convert.ToDouble(myNuD11) / 2, 2) * Convert.ToDouble(myNuD20 + myNuD3 + myNuD5) / 1000000 * Convert.ToDouble(myNuD10) / 100; - } + if (chB9 == true) + { + if (chB10 == true) dObjemVypichu = Convert.ToDouble(myNuD17 * myNuD16 * myNuD15 / 1000000 * myNuD10 / 100); + if (chB11 == true) dObjemVypichu = Math.PI * Math.Pow(Convert.ToDouble(myNuD11) / 2, 2) * Convert.ToDouble(myNuD20 + myNuD3 + myNuD5) / 1000000 * Convert.ToDouble(myNuD10) / 100; + } - if (l27 == "Ø") - { - double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(l66) / 2, 2)) * Convert.ToDouble(Convert.ToDouble(l64)) / 1000000 / Convert.ToDouble(l6)) - dObjemVypichu; - dObjemPouzMaterialu = Convert.ToDecimal(Objem); + if (l27 == "Ø") + { + double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(l66) / 2, 2)) * Convert.ToDouble(Convert.ToDouble(l64)) / 1000000 / Convert.ToDouble(l6)) - dObjemVypichu; + dObjemPouzMaterialu = Convert.ToDecimal(Objem); + } + else + { + decimal Objem = (Convert.ToDecimal(l66) * Convert.ToDecimal(l65) * Convert.ToDecimal(l64) / Convert.ToDecimal(l6) / 1000000) - (decimal)dObjemVypichu; + dObjemPouzMaterialu = Objem; + } } else { - decimal Objem = (Convert.ToDecimal(l66) * Convert.ToDecimal(l65) * Convert.ToDecimal(l64) / Convert.ToDecimal(l6) / 1000000) - (decimal)dObjemVypichu; - dObjemPouzMaterialu = Objem; + if (chB43 == true) + { + if (chB42 == true) dObjemVypichu = Convert.ToDouble(myNuD157 * myNuD158 * myNuD159 / 1000000 * myNuD161 / 100); + if (chB41 == true) dObjemVypichu = Math.PI * Math.Pow(Convert.ToDouble(myNuD160) / 2, 2) * Convert.ToDouble(myNuD154 + myNuD152 + myNuD146) / 1000000 * Convert.ToDouble(myNuD161) / 100; + } + + if (l618 == "Ø") + { + double Objem = ((Math.PI * Math.Pow(Convert.ToDouble(l430) / 2, 2)) * Convert.ToDouble(Convert.ToDouble(l428)) / 1000000 / Convert.ToDouble(l6)) - dObjemVypichu; + dObjemPouzMaterialu = Convert.ToDecimal(Objem); + } + else + { + decimal Objem = (Convert.ToDecimal(l430) * Convert.ToDecimal(l429) * Convert.ToDecimal(l428) / Convert.ToDecimal(l6) / 1000000) - (decimal)dObjemVypichu; + dObjemPouzMaterialu = Objem; + } } } return dObjemPouzMaterialu; @@ -669,15 +813,12 @@ namespace Mip #endregion Objem použitého materiálu #region Získaj údaje z formulára - private void GetDataFromForm(Form inputForm) + private void GetDataFromForm(frmNacenovanie form) { if (bEnableRefresh == true) { - dynamic form = inputForm as frmNacenovanie; - if (form != null) { - chB5 = form.checkBox5.Checked; myNuD18 = form.myNumericUpDown18.Value; myNuD19 = form.myNumericUpDown19.Value; @@ -690,37 +831,62 @@ namespace Mip chB11 = form.checkBox11.Checked; myNuD10 = form.myNumericUpDown10.Value; myNuD11 = form.myNumericUpDown11.Value; - chB6 = form.checkBox6.Checked; myNuD1 = form.myNumericUpDown1.Value; myNuD2 = form.myNumericUpDown2.Value; myNuD3 = form.myNumericUpDown3.Value; myNuD7 = form.myNumericUpDown7.Value; myNuD8 = form.myNumericUpDown8.Value; myNuD9 = form.myNumericUpDown9.Value; - chB7 = form.checkBox7.Checked; myNuD4 = form.myNumericUpDown4.Value; myNuD6 = form.myNumericUpDown6.Value; myNuD5 = form.myNumericUpDown5.Value; myNuD12 = form.myNumericUpDown12.Value; myNuD14 = form.myNumericUpDown14.Value; myNuD13 = form.myNumericUpDown13.Value; - chB8 = form.checkBox8.Checked; - chB12 = form.checkBox12.Checked; - l66 = form.label66.Text; l65 = form.label65.Text; l64 = form.label64.Text; l27 = form.label27.Text; + + chB44 = form.checkBox44.Checked; + myNuD156 = form.myNumericUpDown156.Value; + myNuD155 = form.myNumericUpDown155.Value; + myNuD154 = form.myNumericUpDown154.Value; + chB43 = form.checkBox43.Checked; + chB42 = form.checkBox42.Checked; + myNuD157 = form.myNumericUpDown157.Value; + myNuD158 = form.myNumericUpDown158.Value; + myNuD159 = form.myNumericUpDown159.Value; + chB41 = form.checkBox41.Checked; + myNuD161 = form.myNumericUpDown161.Value; + myNuD160 = form.myNumericUpDown160.Value; + myNuD153 = form.myNumericUpDown153.Value; + myNuD151 = form.myNumericUpDown151.Value; + myNuD152 = form.myNumericUpDown152.Value; + myNuD150 = form.myNumericUpDown150.Value; + myNuD149 = form.myNumericUpDown149.Value; + myNuD148 = form.myNumericUpDown148.Value; + myNuD145 = form.myNumericUpDown145.Value; + myNuD147 = form.myNumericUpDown147.Value; + myNuD146 = form.myNumericUpDown146.Value; + myNuD142 = form.myNumericUpDown142.Value; + myNuD144 = form.myNumericUpDown144.Value; + myNuD143 = form.myNumericUpDown143.Value; + l430 = form.label430.Text; + l429 = form.label429.Text; + l428 = form.label428.Text; + l618 = form.label618.Text; l6 = form.label6.Text; + + chB12 = form.checkBox12.Checked; } } } #endregion Získaj údaje z formulára #region Nastav údaje do formulára - public void SetDataToForm(Form inputForm) + public void SetDataToForm(frmNacenovanie form) { - dynamic form = inputForm as frmNacenovanie; if (form != null) { form.checkBox5.Checked = chB5; @@ -735,52 +901,77 @@ namespace Mip form.checkBox11.Checked = chB11; form.myNumericUpDown10.Value = myNuD10; form.myNumericUpDown11.Value = myNuD11; - form.checkBox6.Checked = chB6; form.myNumericUpDown1.Value = myNuD1; form.myNumericUpDown2.Value = myNuD2; form.myNumericUpDown3.Value = myNuD3; form.myNumericUpDown7.Value = myNuD7; form.myNumericUpDown8.Value = myNuD8; form.myNumericUpDown9.Value = myNuD9; - form.checkBox7.Checked = chB7; form.myNumericUpDown4.Value = myNuD4; form.myNumericUpDown6.Value = myNuD6; form.myNumericUpDown5.Value = myNuD5; form.myNumericUpDown12.Value = myNuD12; form.myNumericUpDown14.Value = myNuD14; form.myNumericUpDown13.Value = myNuD13; - form.checkBox8.Checked = chB8; - form.checkBox12.Checked = chB12; form.label27.Text = l27; + form.checkBox44.Checked = chB44; + form.myNumericUpDown156.Value = myNuD156; + form.myNumericUpDown155.Value = myNuD155; + form.myNumericUpDown154.Value = myNuD154; + form.checkBox43.Checked = chB43; + form.checkBox42.Checked = chB42; + form.myNumericUpDown157.Value = myNuD157; + form.myNumericUpDown158.Value = myNuD158; + form.myNumericUpDown159.Value = myNuD159; + form.checkBox41.Checked = chB41; + form.myNumericUpDown161.Value = myNuD161; + form.myNumericUpDown160.Value = myNuD160; + form.myNumericUpDown153.Value = myNuD153; + form.myNumericUpDown151.Value = myNuD151; + form.myNumericUpDown152.Value = myNuD152; + form.myNumericUpDown150.Value = myNuD150; + form.myNumericUpDown149.Value = myNuD149; + form.myNumericUpDown148.Value = myNuD148; + form.myNumericUpDown145.Value = myNuD145; + form.myNumericUpDown147.Value = myNuD147; + form.myNumericUpDown146.Value = myNuD146; + form.myNumericUpDown142.Value = myNuD142; + form.myNumericUpDown144.Value = myNuD144; + form.myNumericUpDown143.Value = myNuD143; + form.label618.Text = l618; + + form.checkBox12.Checked = chB12; + bEnableRefresh = true; } } #endregion Nastav údaje do formulára #region Refresh - public void RefreshForm(Form inputForm) + public void RefreshForm(frmNacenovanie form) { - GetDataFromForm(inputForm); - dynamic form = inputForm as frmNacenovanie; + GetDataFromForm(form); if (form != null) { - form.SuspendLayout(); decimal decDlzka; double decPomer; if (Convert.ToInt16(l6) > 1) decDlzka = Math.Ceiling(Convert.ToDecimal(myNuD7 / (Convert.ToInt16(l6) - 1))) * (myNuD20 + myNuD3 + myNuD5 + myNuD13); else decDlzka = (myNuD7 * (myNuD20 + myNuD3 + myNuD5 + myNuD13)) + myNuD9 + ((myNuD7 - 1) * myNuD8); - form.label66.Text = string.Format("{0:F2}", (myNuD18 + myNuD1 + myNuD4 + myNuD12)); - if (l27 == "Ø") form.label65.Text = string.Format("{0:F2}", (myNuD19 - myNuD2 - myNuD6 - myNuD14)); - else form.label65.Text = string.Format("{0:F2}", (myNuD19 + myNuD2 + myNuD6 + myNuD14)); - form.label64.Text = string.Format("{0:F2}", decDlzka); + l66 = (myNuD18 + myNuD1 + myNuD4 + myNuD12).ToString(); + form.label66.Text = string.Format("{0:F2}", l66); + if (l27 == "Ø") l65 = (myNuD19 - myNuD2 - myNuD6 - myNuD14).ToString(); + else l65 = (myNuD19 + myNuD2 + myNuD6 + myNuD14).ToString(); + form.label65.Text = string.Format("{0:F2}", l65); + l64 = decDlzka.ToString(); + form.label64.Text = string.Format("{0:F2}", l64); form.label61.Text = string.Format("{0:F6} dm³", ObjemVypichu()); form.label58.Text = string.Format("{0:F6} dm³", ObjemVyrobku()); form.label60.Text = string.Format("{0:F6} dm³", ObjemPolotovaru()); form.label62.Text = string.Format("{0:F6} dm³", ObjemPouzMaterialu()); - form.label217.Text = ObjemPouzMaterialu().ToString(); + form.label217.Text = form.label62.Text;// ObjemPouzMaterialu().ToString();//na karte material if (l27 == "Ø") form.label69.Text = l27 + (myNuD18 + myNuD1 + myNuD4).ToString() + "/" + (myNuD19 - myNuD2 - myNuD6).ToString() + "x" + (Convert.ToDecimal(l64) - myNuD13).ToString(); else @@ -789,7 +980,32 @@ namespace Mip if (ObjemPouzMaterialu() != 0) decPomer = (double)ObjemVyrobku() / (double)ObjemPouzMaterialu(); else decPomer = 0; form.label33.Text = "Využ. mat.: " + Math.Round(decPomer * 100, 4).ToString() + " %"; - form.ResumeLayout(); + + decimal decDlzka2; + double decPomer2; + if (Convert.ToInt16(l6) > 1) decDlzka2 = Math.Ceiling(Convert.ToDecimal(myNuD150 / (Convert.ToInt16(l6) - 1))) * (myNuD154 + myNuD152 + myNuD146 + myNuD143); + else decDlzka2 = (myNuD150 * (myNuD154 + myNuD152 + myNuD146 + myNuD143)) + myNuD148 + ((myNuD150 - 1) * myNuD149); + + l430 = (myNuD156 + myNuD153 + myNuD145 + myNuD142).ToString(); + form.label430.Text = string.Format("{0:F2}", l430); + if (l618 == "Ø") l429 = (myNuD155 - myNuD151 - myNuD147 - myNuD144).ToString(); + else l429 = (myNuD155 + myNuD151 + myNuD147 + myNuD144).ToString(); + form.label429.Text = string.Format("{0:F2}", l429); + l428 = decDlzka2.ToString(); + form.label428.Text = string.Format("{0:F2}", l428); + form.label422.Text = string.Format("{0:F6} dm³", ObjemVypichu(false)); + form.label426.Text = string.Format("{0:F6} dm³", ObjemVyrobku(false)); + form.label423.Text = string.Format("{0:F6} dm³", ObjemPolotovaru(false)); + form.label420.Text = string.Format("{0:F6} dm³", ObjemPouzMaterialu(false)); + form.label622.Text = form.label420.Text;// ObjemPouzMaterialu(false).ToString(); + if (l618 == "Ø") + form.label595.Text = l618 + (myNuD156 + myNuD153 + myNuD145).ToString() + "/" + (myNuD155 - myNuD151 - myNuD147).ToString() + "x" + (Convert.ToDecimal(l428) - myNuD143).ToString(); + else + form.label595.Text = l618 + (myNuD156 + myNuD153 + myNuD145).ToString() + "x" + (myNuD155 + myNuD151 + myNuD147).ToString() + "x" + (Convert.ToDecimal(l428) - myNuD143).ToString(); + + if (ObjemPouzMaterialu(false) != 0) decPomer2 = (double)ObjemVyrobku(false) / (double)ObjemPouzMaterialu(false); + else decPomer2 = 0; + form.label594.Text = "Využ. mat.: " + Math.Round(decPomer2 * 100, 4).ToString() + " %"; } } #endregion Refresh @@ -816,21 +1032,42 @@ namespace Mip "`chB11` = " + chB11 + "," + "`myNuD10` = " + myNuD10.ToString().Replace(",", ".") + "," + "`myNuD11` = " + myNuD11.ToString().Replace(",", ".") + "," + - "`chB6` = " + chB6 + "," + "`myNuD1` = " + myNuD1.ToString().Replace(",", ".") + "," + "`myNuD2` = " + myNuD2.ToString().Replace(",", ".") + "," + "`myNuD3` = " + myNuD3.ToString().Replace(",", ".") + "," + "`myNuD7` = " + myNuD7.ToString().Replace(",", ".") + "," + "`myNuD8` = " + myNuD8.ToString().Replace(",", ".") + "," + "`myNuD9` = " + myNuD9.ToString().Replace(",", ".") + "," + - "`chB7` = " + chB7 + "," + "`myNuD4` = " + myNuD4.ToString().Replace(",", ".") + "," + "`myNuD6` = " + myNuD6.ToString().Replace(",", ".") + "," + "`myNuD5` = " + myNuD5.ToString().Replace(",", ".") + "," + "`myNuD12` = " + myNuD12.ToString().Replace(",", ".") + "," + "`myNuD14` = " + myNuD14.ToString().Replace(",", ".") + "," + "`myNuD13` = " + myNuD13.ToString().Replace(",", ".") + "," + - "`chB8` = " + chB8 + "," + + "`chB44` = " + chB44 + "," + + "`myNuD156` = " + myNuD156.ToString().Replace(",", ".") + "," + + "`myNuD155` = " + myNuD155.ToString().Replace(",", ".") + "," + + "`myNuD154` = " + myNuD154.ToString().Replace(",", ".") + "," + + "`chB43` = " + chB43 + "," + + "`chB42` = " + chB42 + "," + + "`myNuD157` = " + myNuD157.ToString().Replace(",", ".") + "," + + "`myNuD158` = " + myNuD158.ToString().Replace(",", ".") + "," + + "`myNuD159` = " + myNuD159.ToString().Replace(",", ".") + "," + + "`chB41` = " + chB41 + "," + + "`myNuD161` = " + myNuD161.ToString().Replace(",", ".") + "," + + "`myNuD160` = " + myNuD160.ToString().Replace(",", ".") + "," + + "`myNuD153` = " + myNuD153.ToString().Replace(",", ".") + "," + + "`myNuD151` = " + myNuD151.ToString().Replace(",", ".") + "," + + "`myNuD152` = " + myNuD152.ToString().Replace(",", ".") + "," + + "`myNuD150` = " + myNuD150.ToString().Replace(",", ".") + "," + + "`myNuD149` = " + myNuD149.ToString().Replace(",", ".") + "," + + "`myNuD148` = " + myNuD148.ToString().Replace(",", ".") + "," + + "`myNuD145` = " + myNuD145.ToString().Replace(",", ".") + "," + + "`myNuD147` = " + myNuD147.ToString().Replace(",", ".") + "," + + "`myNuD146` = " + myNuD146.ToString().Replace(",", ".") + "," + + "`myNuD142` = " + myNuD142.ToString().Replace(",", ".") + "," + + "`myNuD144` = " + myNuD144.ToString().Replace(",", ".") + "," + + "`myNuD143` = " + myNuD143.ToString().Replace(",", ".") + "," + "`chB12` = " + chB12 + " WHERE `IDNacecovaniePolotovar`= " + IDNacenovaniePolotovar.ToString() + ";"; @@ -839,7 +1076,13 @@ namespace Mip { if (myNuD18 != 0) { - cmd = @"INSERT INTO `mip`.`tab-nacenovanie-polotovar` (`IDNacenovanie`, `TvarPolotovaru`, `DatumZaznamu`, `chB5`, `myNuD18`, `myNuD19`, `myNuD20`, `chB9`, `chB10`, `myNuD17`, `myNuD16`, `myNuD15`, `chB11`, `myNuD10`, `myNuD11`, `chB6`, `myNuD1`, `myNuD2`, `myNuD3`, `myNuD7`, `myNuD8`, `myNuD9`, `chB7`, `myNuD4`, `myNuD6`, `myNuD5`, `myNuD12`, `myNuD14`, `myNuD13`, `chB8`, `chB12`) + cmd = @"INSERT INTO `mip`.`tab-nacenovanie-polotovar` (`IDNacenovanie`, `TvarPolotovaru`, `DatumZaznamu`, + `chB5`, `myNuD18`, `myNuD19`, `myNuD20`, `chB9`, `chB10`, `myNuD17`, `myNuD16`, `myNuD15`, + `chB11`, `myNuD10`, `myNuD11`, `myNuD1`, `myNuD2`, `myNuD3`, `myNuD7`, `myNuD8`, `myNuD9`, + `myNuD4`, `myNuD6`, `myNuD5`, `myNuD12`, `myNuD14`, `myNuD13`, `TvarPolotovaru2`, + `chB44`, `myNuD156`, `myNuD155`, `myNuD154`, `chB43`, `chB42`, `myNuD157`, `myNuD158`, `myNuD159`, + `chB41`, `myNuD161`, `myNuD160`, `myNuD153`, `myNuD151`, `myNuD152`, `myNuD150`, `myNuD149`, `myNuD148`, + `myNuD145`, `myNuD147`, `myNuD146`, `myNuD142`, `myNuD144`, `myNuD143`, `chB12`) VALUES (" + IDN.ToString() + ", '" + l27 + "', " @@ -856,32 +1099,51 @@ namespace Mip + chB11 + ", " + myNuD10.ToString().Replace(",", ".") + ", " + myNuD11.ToString().Replace(",", ".") + ", " - + chB6 + ", " + myNuD1.ToString().Replace(",", ".") + ", " + myNuD2.ToString().Replace(",", ".") + ", " + myNuD3.ToString().Replace(",", ".") + ", " + myNuD7.ToString().Replace(",", ".") + ", " + myNuD8.ToString().Replace(",", ".") + ", " + myNuD9.ToString().Replace(",", ".") + ", " - + chB7 + ", " + myNuD4.ToString().Replace(",", ".") + ", " + myNuD6.ToString().Replace(",", ".") + ", " + myNuD5.ToString().Replace(",", ".") + ", " + myNuD12.ToString().Replace(",", ".") + ", " + myNuD14.ToString().Replace(",", ".") + ", " + myNuD13.ToString().Replace(",", ".") + ", " - + chB8 + ", " + + "'" + l618 + "', " + + chB44 + ", " + + myNuD156.ToString().Replace(",", ".") + ", " + + myNuD155.ToString().Replace(",", ".") + ", " + + myNuD154.ToString().Replace(",", ".") + ", " + + chB43 + ", " + + chB42 + ", " + + myNuD157.ToString().Replace(",", ".") + ", " + + myNuD158.ToString().Replace(",", ".") + ", " + + myNuD159.ToString().Replace(",", ".") + ", " + + chB41 + ", " + + myNuD161.ToString().Replace(",", ".") + ", " + + myNuD160.ToString().Replace(",", ".") + ", " + + myNuD153.ToString().Replace(",", ".") + ", " + + myNuD151.ToString().Replace(",", ".") + ", " + + myNuD152.ToString().Replace(",", ".") + ", " + + myNuD150.ToString().Replace(",", ".") + ", " + + myNuD149.ToString().Replace(",", ".") + ", " + + myNuD148.ToString().Replace(",", ".") + ", " + + myNuD145.ToString().Replace(",", ".") + ", " + + myNuD147.ToString().Replace(",", ".") + ", " + + myNuD146.ToString().Replace(",", ".") + ", " + + myNuD142.ToString().Replace(",", ".") + ", " + + myNuD144.ToString().Replace(",", ".") + ", " + + myNuD143.ToString().Replace(",", ".") + ", " + chB12 + ");"; } - } if (cmd != "") classSQL.SQL(cmd); - } #endregion Ulož údaje do MariaDB - } public class ObjectMaterial @@ -896,6 +1158,8 @@ namespace Mip public decimal Material3IMP { get; private set; } public decimal Material4MAT { get; private set; } public decimal Material4IMP { get; private set; } + public decimal NacenovanyPolotovar1Objem { get; set; } + public decimal NacenovanyPolotovar2Objem { get; set; } public decimal decHustota1 = 0; public decimal decHustota2 = 0; @@ -1298,144 +1562,173 @@ namespace Mip #endregion Nastav údaje do formulára #region Refresh - public void RefreshForm(Form inputForm) + public void RefreshForm(frmNacenovanie inputForm) { GetDataFromForm(inputForm); - dynamic form = inputForm as frmNacenovanie; + //var form = inputForm as frmNacenovanie; - if (form != null) + if (inputForm != null) { - form.SuspendLayout(); - form.label222.Text = objObjectSadzby.ImpregnaciaPraca.ToString(); - form.label223.Text = objObjectSadzby.ImpregnaciaMaterial.ToString(); - form.label105.Text = objObjectVyrobok.ObjednanyPocetKusov.ToString() + "Ks:"; + + if (inputForm.comboBox2.Text == "Materiál 1") + { + if (inputForm.checkBox20.Checked) + { + inputForm.label602.Text = "Materiál 2"; + objObjectMaterial.NacenovanyPolotovar2Objem = Convert.ToDecimal(inputForm.label622.Text.Replace(" dm³", "")); + } + else + { + inputForm.label602.Text = "---"; + objObjectMaterial.NacenovanyPolotovar2Objem = 0.0m; + } + objObjectMaterial.NacenovanyPolotovar1Objem = Convert.ToDecimal(inputForm.label217.Text.Replace(" dm³", "")); + } + if (inputForm.comboBox2.Text == "Materiál 2") + { + inputForm.label602.Text = "Materiál 1"; + objObjectMaterial.NacenovanyPolotovar1Objem = Convert.ToDecimal(inputForm.label622.Text.Replace(" dm³", "")); + objObjectMaterial.NacenovanyPolotovar2Objem = Convert.ToDecimal(inputForm.label217.Text.Replace(" dm³", "")); + } + + //inputForm.SuspendLayout(); + inputForm.label222.Text = objObjectSadzby.ImpregnaciaPraca.ToString(); + inputForm.label223.Text = objObjectSadzby.ImpregnaciaMaterial.ToString(); + inputForm.label105.Text = objObjectVyrobok.ObjednanyPocetKusov.ToString() + "Ks:"; + inputForm.label629.Text = inputForm.label105.Text; if (chB1 == true) { - Material1MAT = getMaterialPrice(form.checkBox2, + var selectedMat = inputForm.comboBox1.SelectedIndex > 0 ? Convert.ToDecimal(inputForm.comboBox1.SelectedValue) : 0.0m; + + Material1MAT = getMaterialPrice(inputForm.checkBox2, myNuD21, - Convert.ToDecimal(form.label217.Text), - Convert.ToDecimal(form.comboBox1.SelectedValue), - form.checkBox4, + objObjectMaterial.NacenovanyPolotovar1Objem, + selectedMat, + inputForm.checkBox4, myNuD23, - form.checkBox13, - form.checkBox3, + inputForm.checkBox13, + inputForm.checkBox3, myNuD22, myNuD24); - //Material1IMP = getImpPrice(form.checkBox14, myNuD25, myNuD26, myNuD75); - Material1IMP = getImpPrice(form.checkBox14, Material1MAT, myNuD75); - form.label224.Text = string.Format("{0:F3}", Material1MAT); - form.label225.Text = string.Format("{0:F2}", Material1IMP); + Material1IMP = getImpPrice(inputForm.checkBox14, Material1MAT, myNuD75); + inputForm.label224.Text = string.Format("{0:F2}", Material1MAT); + inputForm.label225.Text = string.Format("{0:F2}", Material1IMP); } if (chB20 == true) { - Material2MAT = getMaterialPrice(form.checkBox19, + var selectedMat = inputForm.comboBox3.SelectedIndex > 0 ? Convert.ToDecimal(inputForm.comboBox3.SelectedValue) : 0.0m; + Material2MAT = getMaterialPrice(inputForm.checkBox19, myNuD32, - Convert.ToDecimal(form.label217.Text), - Convert.ToDecimal(form.comboBox3.SelectedValue), - form.checkBox17, + objObjectMaterial.NacenovanyPolotovar2Objem, + selectedMat, + inputForm.checkBox17, myNuD29, - form.checkBox16, - form.checkBox18, + inputForm.checkBox16, + inputForm.checkBox18, myNuD31, myNuD30); - //Material2IMP = getImpPrice(form.checkBox15, myNuD28, myNuD27, myNuD86); - Material2IMP = getImpPrice(form.checkBox15, Material2MAT, myNuD86); - form.label231.Text = string.Format("{0:F3}", Material2MAT); - form.label230.Text = string.Format("{0:F2}", Material2IMP); + Material2IMP = getImpPrice(inputForm.checkBox15, Material2MAT, myNuD86); + inputForm.label231.Text = string.Format("{0:F2}", Material2MAT); + inputForm.label230.Text = string.Format("{0:F2}", Material2IMP); } if (chB26 == true) { - Material3MAT = getMaterialPrice(form.checkBox25, + Material3MAT = getMaterialPrice(inputForm.checkBox25, myNuD38, - Convert.ToDecimal(form.label217.Text), - Convert.ToDecimal(form.comboBox4.SelectedValue), - form.checkBox23, + Convert.ToDecimal(inputForm.label217.Text.Replace(" dm³", "")), + Convert.ToDecimal(inputForm.comboBox4.SelectedValue ?? 0.0), + inputForm.checkBox23, myNuD35, - form.checkBox22, - form.checkBox24, + inputForm.checkBox22, + inputForm.checkBox24, myNuD37, myNuD36); - //Material3IMP = getImpPrice(form.checkBox21, myNuD34, myNuD33, myNuD87); - Material3IMP = getImpPrice(form.checkBox21, Material3MAT, myNuD87); - form.label235.Text = string.Format("{0:F3}", Material3MAT); - form.label234.Text = string.Format("{0:F2}", Material3IMP); + Material3IMP = getImpPrice(inputForm.checkBox21, Material3MAT, myNuD87); + inputForm.label235.Text = string.Format("{0:F2}", Material3MAT); + inputForm.label234.Text = string.Format("{0:F2}", Material3IMP); } if (chB32 == true) { - Material4MAT = getMaterialPrice(form.checkBox31, + Material4MAT = getMaterialPrice(inputForm.checkBox31, myNuD44, - Convert.ToDecimal(form.label217.Text), - Convert.ToDecimal(form.comboBox5.SelectedValue), - form.checkBox29, + Convert.ToDecimal(inputForm.label217.Text.Replace(" dm³", "")), + Convert.ToDecimal(inputForm.comboBox5.SelectedValue ?? 0.0), + inputForm.checkBox29, myNuD41, - form.checkBox28, - form.checkBox30, + inputForm.checkBox28, + inputForm.checkBox30, myNuD43, myNuD42); - //Material4IMP = getImpPrice(form.checkBox27, myNuD40, myNuD39, myNuD98); - Material4IMP = getImpPrice(form.checkBox27, Material4MAT, myNuD98); - form.label239.Text = string.Format("{0:F3}", Material4MAT); - form.label238.Text = string.Format("{0:F2}", Material4IMP); + Material4IMP = getImpPrice(inputForm.checkBox27, Material4MAT, myNuD98); + inputForm.label239.Text = string.Format("{0:F2}", Material4MAT); + inputForm.label238.Text = string.Format("{0:F2}", Material4IMP); } switch (cb2) { case "": - form.label106.Text = "---"; - form.label32.Text = "---"; - form.label182.Text = string.Format("{0:F3}", 0); //cena materialu - form.label197.Text = string.Format("{0:F3}", 0); //pocet impregnacii - form.label181.Text = string.Format("{0:F3}", 0); //cena impregnacia praca - form.label152.Text = string.Format("{0:F3}", 0); //pocet material - form.label193.Text = string.Format("{0:F3}", 0); //cena impregnacia material + inputForm.label106.Text = "---"; + inputForm.label32.Text = "---"; + inputForm.label182.Text = string.Format("{0:F3}", 0); //cena materialu + inputForm.label197.Text = string.Format("{0:F3}", 0); //pocet impregnacii + inputForm.label181.Text = string.Format("{0:F3}", 0); //cena impregnacia praca + inputForm.label152.Text = string.Format("{0:F3}", 0); //pocet material + inputForm.label193.Text = string.Format("{0:F3}", 0); //cena impregnacia material break; case "Materiál 1": - form.label106.Text = (Convert.ToDecimal(form.label224.Text) + Convert.ToDecimal(form.label225.Text)).ToString(); - form.label32.Text = (Convert.ToDecimal(form.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); - form.label182.Text = string.Format("{0:F3}", form.label224.Text); //cena materialu - form.label197.Text = string.Format("{0:F3}", myNuD25); //pocet impregnacii - //form.label181.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label271.Text)*myNuD25/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia praca - form.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label225.Text), objObjectSadzby.ImpregnaciaPraca)); - form.label152.Text = string.Format("{0:F3}", myNuD26); //pocet material - //form.label193.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label272.Text)*myNuD26/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia material - form.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label225.Text), objObjectSadzby.ImpregnaciaMaterial)); + inputForm.label106.Text = (Convert.ToDecimal(inputForm.label224.Text) + Convert.ToDecimal(inputForm.label225.Text)).ToString(); + inputForm.label32.Text = (Convert.ToDecimal(inputForm.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); + inputForm.label182.Text = string.Format("{0:F3}", inputForm.label224.Text); //cena materialu + inputForm.label197.Text = string.Format("{0:F3}", myNuD25); //pocet impregnacii + inputForm.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label225.Text), objObjectSadzby.ImpregnaciaPraca)); + inputForm.label152.Text = string.Format("{0:F3}", myNuD26); //pocet material + inputForm.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label225.Text), objObjectSadzby.ImpregnaciaMaterial)); break; case "Materiál 2": - form.label106.Text = (Convert.ToDecimal(form.label231.Text) + Convert.ToDecimal(form.label230.Text)).ToString(); - form.label32.Text = (Convert.ToDecimal(form.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); - form.label182.Text = string.Format("{0:F3}", form.label231.Text); //cena materialu - form.label197.Text = string.Format("{0:F3}", myNuD28); //pocet impregnacii - //form.label181.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label271.Text)*myNuD28/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia praca - form.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label230.Text), objObjectSadzby.ImpregnaciaPraca)); - form.label152.Text = string.Format("{0:F3}", myNuD27); //pocet material - //form.label193.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label272.Text)*myNuD27/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia material - form.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label230.Text), objObjectSadzby.ImpregnaciaMaterial)); + inputForm.label106.Text = (Convert.ToDecimal(inputForm.label231.Text) + Convert.ToDecimal(inputForm.label230.Text)).ToString(); + inputForm.label32.Text = (Convert.ToDecimal(inputForm.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); + inputForm.label182.Text = string.Format("{0:F3}", inputForm.label231.Text); //cena materialu + inputForm.label197.Text = string.Format("{0:F3}", myNuD28); //pocet impregnacii + inputForm.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label230.Text), objObjectSadzby.ImpregnaciaPraca)); + inputForm.label152.Text = string.Format("{0:F3}", myNuD27); //pocet material + inputForm.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label230.Text), objObjectSadzby.ImpregnaciaMaterial)); break; case "Materiál 3": - form.label106.Text = (Convert.ToDecimal(form.label235.Text) + Convert.ToDecimal(form.label234.Text)).ToString(); - form.label32.Text = (Convert.ToDecimal(form.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); - form.label182.Text = string.Format("{0:F3}", form.label235.Text); //cena materialu - form.label197.Text = string.Format("{0:F3}", myNuD34); //pocet impregnacii - //form.label181.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label271.Text)*myNuD34/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia praca - form.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label234.Text), objObjectSadzby.ImpregnaciaPraca)); - form.label152.Text = string.Format("{0:F3}", myNuD33); //pocet material - //form.label193.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label272.Text)*myNuD33/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia material - form.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label234.Text), objObjectSadzby.ImpregnaciaMaterial)); + inputForm.label106.Text = (Convert.ToDecimal(inputForm.label235.Text) + Convert.ToDecimal(inputForm.label234.Text)).ToString(); + inputForm.label32.Text = (Convert.ToDecimal(inputForm.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); + inputForm.label182.Text = string.Format("{0:F3}", inputForm.label235.Text); //cena materialu + inputForm.label197.Text = string.Format("{0:F3}", myNuD34); //pocet impregnacii + inputForm.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label234.Text), objObjectSadzby.ImpregnaciaPraca)); + inputForm.label152.Text = string.Format("{0:F3}", myNuD33); //pocet material + inputForm.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label234.Text), objObjectSadzby.ImpregnaciaMaterial)); break; case "Materiál 4": - form.label106.Text = (Convert.ToDecimal(form.label239.Text) + Convert.ToDecimal(form.label238.Text)).ToString(); - form.label32.Text = (Convert.ToDecimal(form.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); - form.label182.Text = string.Format("{0:F3}", form.label239.Text); //cena materialu - form.label197.Text = string.Format("{0:F3}", myNuD40); //pocet impregnacii - //form.label181.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label271.Text)*myNuD40/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia praca - form.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label238.Text), objObjectSadzby.ImpregnaciaPraca)); - form.label152.Text = string.Format("{0:F3}", myNuD39); //pocet material - //form.label193.Text = string.Format("{0:F3}", Convert.ToDecimal(form.label272.Text)*myNuD39/objObjectVyrobok.ObjednanyPocetKusov); //cena impregnacia material - form.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(form.label238.Text), objObjectSadzby.ImpregnaciaMaterial)); + inputForm.label106.Text = (Convert.ToDecimal(inputForm.label239.Text) + Convert.ToDecimal(inputForm.label238.Text)).ToString(); + inputForm.label32.Text = (Convert.ToDecimal(inputForm.label106.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); + inputForm.label182.Text = string.Format("{0:F3}", inputForm.label239.Text); //cena materialu + inputForm.label197.Text = string.Format("{0:F3}", myNuD40); //pocet impregnacii + inputForm.label181.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label238.Text), objObjectSadzby.ImpregnaciaPraca)); + inputForm.label152.Text = string.Format("{0:F3}", myNuD39); //pocet material + inputForm.label193.Text = string.Format("{0:F3}", getImpPracaMatPrice(Convert.ToDecimal(inputForm.label238.Text), objObjectSadzby.ImpregnaciaMaterial)); + break; + } + + switch (inputForm.label602.Text) + { + case "---": + inputForm.label627.Text = "---"; + inputForm.label628.Text = "---"; + break; + case "Materiál 1": + inputForm.label627.Text = (Convert.ToDecimal(inputForm.label224.Text) + Convert.ToDecimal(inputForm.label225.Text)).ToString(); + inputForm.label628.Text = (Convert.ToDecimal(inputForm.label627.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); + break; + case "Materiál 2": + inputForm.label627.Text = (Convert.ToDecimal(inputForm.label231.Text) + Convert.ToDecimal(inputForm.label230.Text)).ToString(); + inputForm.label628.Text = (Convert.ToDecimal(inputForm.label627.Text) * objObjectVyrobok.ObjednanyPocetKusov).ToString(); break; } - form.ResumeLayout(); } } #endregion Refresh @@ -1467,25 +1760,11 @@ namespace Mip { decimal decCenaKusu = 0; - if (_chb5.Checked == true) decCenaKusu = (_cenaMat * _vyuzitieKosa / 100 /* / objObjectVyrobok.ObjednanyPocetKusov*/); + if (_chb5.Checked == true) decCenaKusu = (_cenaMat * _vyuzitieKosa / 100); return decCenaKusu; } - //stara verzia - /* - private decimal getImpPrice(CheckBox _chb5, decimal _mynud5, decimal _mynud6, decimal _vyuzitieKosa) - { - decimal _impPracaSadzba = objObjectSadzby.ImpregnaciaPraca; - decimal _impMatSadzba = objObjectSadzby.ImpregnaciaMaterial; - decimal decCenaKusu = 0; - - if (_chb5.Checked == true) decCenaKusu = (((_impPracaSadzba * _mynud5) + (_impMatSadzba * _mynud6)) * _vyuzitieKosa / 100 / objObjectVyrobok.ObjednanyPocetKusov); - - return decCenaKusu; - } - */ - #endregion Iné funkcie #region Ulož údaje do MariaDB @@ -1924,7 +2203,6 @@ namespace Mip if (form != null) { - form.SuspendLayout(); CenaRezanie = vypocetCeny(objObjectSadzby.Rezanie, myNuD84, myNuD96); form.label191.Text = string.Format("{0:F3}", CenaRezanie); CenaKlasika = vypocetCeny(objObjectSadzby.Klasika, myNuD83, myNuD95); @@ -2008,8 +2286,6 @@ namespace Mip form.label560.Text = objObjectSadzby.NovaPolozka.ToString(); form.label137.Text = objObjectVyrobok.ObjednanyPocetKusov.ToString(); if (objObjectSadzby.Rezia > 0) form.myNumericUpDown72.Value = objObjectSadzby.Rezia; - - form.ResumeLayout(); } } @@ -2286,7 +2562,7 @@ namespace Mip if (form != null) { - form.SuspendLayout(); + //form.SuspendLayout(); form.label490.Text = string.Format( "{0:F3}", vypocetCeny(Convert.ToDecimal(form.label530.Text), form.myNumericUpDown122.Value, form.myNumericUpDown112.Value, PocetKusov)); form.label489.Text = string.Format( @@ -2377,7 +2653,7 @@ namespace Mip //form.label137.Text = objObjectVyrobok.ObjednanyPocetKusov.ToString(); //if (objObjectSadzby.Rezia > 0) form.myNumericUpDown72.Value = objObjectSadzby.Rezia; - form.ResumeLayout(); + //form.ResumeLayout(); } } @@ -2961,32 +3237,42 @@ namespace Mip private void checkBox5_CheckedChanged(object sender, EventArgs e) { - if (checkBox5.Checked == false) panel29.Size = new Size(panel29.Width, panel29.MinimumSize.Height); - else panel29.Size = new Size(panel29.Width, panel29.MaximumSize.Height); - } + if (checkBox5.Checked) + { + label24.Enabled = true; + label27.Enabled = true; + button5.Enabled = true; + button6.Enabled = true; + panel36.Enabled = true; + panel35.Enabled = true; + panel30.Enabled = true; + panel31.Enabled = true; + panel32.Enabled = true; + label19_Click(null, null); + RefreshAll(); + } + else + { + label24.Enabled = false; + label27.Enabled = false; + button5.Enabled = false; + button6.Enabled = false; + panel36.Enabled = false; + panel35.Enabled = false; + panel30.Enabled = false; + panel31.Enabled = false; + panel32.Enabled = false; + label19_Click(null, null); + RefreshAll(); + } - private void checkBox6_CheckedChanged(object sender, EventArgs e) - { - if (checkBox6.Checked == false) panel30.Size = new Size(panel30.Width, panel30.MinimumSize.Height); - else panel30.Size = new Size(panel30.Width, panel30.MaximumSize.Height); - } - - private void checkBox7_CheckedChanged(object sender, EventArgs e) - { - if (checkBox7.Checked == false) panel31.Size = new Size(panel31.Width, panel31.MinimumSize.Height); - else panel31.Size = new Size(panel31.Width, panel31.MaximumSize.Height); - } - - private void checkBox8_CheckedChanged(object sender, EventArgs e) - { - if (checkBox8.Checked == false) panel32.Size = new Size(panel32.Width, panel32.MinimumSize.Height); - else panel32.Size = new Size(panel32.Width, panel32.MaximumSize.Height); + label19_Click(null, null); + RefreshAll(); } private void checkBox9_CheckedChanged(object sender, EventArgs e) { RefreshAll(); - //label61.Text = string.Format("{0:F6} dm³", objNacenovanyObjekt.ObjemVypichu()); } private void checkBox11_CheckedChanged(object sender, EventArgs e) @@ -2994,7 +3280,6 @@ namespace Mip if (checkBox11.Checked == true) checkBox10.Checked = false; else checkBox10.Checked = true; RefreshAll(); - //label61.Text = string.Format("{0:F6} dm³", objNacenovanyObjekt.ObjemVypichu()); } private void checkBox10_CheckedChanged(object sender, EventArgs e) @@ -3002,7 +3287,6 @@ namespace Mip if (checkBox10.Checked == true) checkBox11.Checked = false; else checkBox11.Checked = true; RefreshAll(); - //label61.Text = string.Format("{0:F6} dm³", objNacenovanyObjekt.ObjemVypichu()); } private void myNumericUpDown1_ValueChanged(object sender, EventArgs e) @@ -3223,7 +3507,7 @@ namespace Mip private void button5_Click(object sender, EventArgs e) { - this.SuspendLayout(); + //this.SuspendLayout(); myNumericUpDown18.SuspendLayout(); myNumericUpDown19.SuspendLayout(); @@ -3249,7 +3533,7 @@ namespace Mip myNumericUpDown19.ResumeLayout(); myNumericUpDown20.ResumeLayout(); - this.ResumeLayout(); + //this.ResumeLayout(); RefreshAll(); } @@ -3341,7 +3625,6 @@ namespace Mip { panel47.Size = new Size(panel47.Width, panel47.MinimumSize.Height); comboBox3.Visible = false; - //comboBox3.Items.Clear(); comboBox7.Visible = false; comboBox7.Items.Clear(); button11.Visible = false; @@ -3377,7 +3660,6 @@ namespace Mip { panel54.Size = new Size(panel54.Width, panel54.MinimumSize.Height); comboBox4.Visible = false; - //comboBox4.Items.Clear(); comboBox8.Visible = false; comboBox8.Items.Clear(); button12.Visible = false; @@ -3413,7 +3695,6 @@ namespace Mip { panel63.Size = new Size(panel63.Width, panel63.MinimumSize.Height); comboBox5.Visible = false; - //comboBox5.Items.Clear(); comboBox9.Visible = false; comboBox9.Items.Clear(); button13.Visible = false; @@ -3445,7 +3726,7 @@ namespace Mip void materialFill() { comboBox2.Items.Clear(); - comboBox2.Items.Add(""); + //comboBox2.Items.Add(""); if (checkBox1.Checked == true) comboBox2.Items.Add("Materiál 1"); if (checkBox20.Checked == true) comboBox2.Items.Add("Materiál 2"); if (checkBox26.Checked == true) comboBox2.Items.Add("Materiál 3"); @@ -3992,7 +4273,7 @@ namespace Mip comboBox1.Text = tblMatReset.Rows[0]["cb1"].ToString(); comboBox6.Text = tblMatReset.Rows[0]["cb6"].ToString(); this.ResumeLayout(); - + RefreshAll(); } private void button15_Click(object sender, EventArgs e) @@ -4063,6 +4344,7 @@ namespace Mip comboBox3.Text = tblMatReset.Rows[0]["cb3"].ToString(); comboBox7.Text = tblMatReset.Rows[0]["cb7"].ToString(); this.ResumeLayout(); + RefreshAll(); } private void button12_Click(object sender, EventArgs e) @@ -4413,7 +4695,6 @@ namespace Mip panel105.AutoScrollPosition = new Point(-panel105.AutoScrollPosition.X - changePoint.X, -panel105.AutoScrollPosition.Y - changePoint.Y); } - //label387.Focus(); } private void pictureBox1_MouseDown(object sender, MouseEventArgs e) @@ -4427,12 +4708,11 @@ namespace Mip private void pictureBox1_Click(object sender, EventArgs e) { pictureBox1.Enabled = true; - //label387.Focus(); } private void comboBox1_SelectedValueChanged(object sender, EventArgs e) { - + RefreshAll(); } private void myNumericUpDown75_ValueChanged(object sender, EventArgs e) @@ -5006,5 +5286,300 @@ namespace Mip if (lbl.Text == "0,000") lbl.BackColor = Color.Empty; else lbl.BackColor = Color.Goldenrod; } + + private void label621_Click(object sender, EventArgs e) + { + if (panel107.Size != panel107.MaximumSize && checkBox44.Checked && checkBox5.Checked) + { + panel106.Size = panel106.MinimumSize; + panel107.Size = panel107.MaximumSize; + panel107.Location = new Point(0, 28); + } + } + + private void label19_Click(object sender, EventArgs e) + { + if (panel106.Size != panel106.MaximumSize) + { + panel107.Size = panel107.MinimumSize; + panel106.Size = panel106.MaximumSize; + panel107.Location = new Point(0, panel106.MaximumSize.Height); + } + } + + private void myNumericUpDown156_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown155_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown154_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown157_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown158_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown159_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown160_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown161_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown153_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown151_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown152_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown150_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown149_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown148_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown145_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown147_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown146_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown142_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown144_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void myNumericUpDown143_ValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void label620_Click(object sender, EventArgs e) + { + if (label618.Text == "□") + { + label618.Text = "Ø"; + label612.Text = "Ø povrchu"; + label613.Text = "Ø otvoru"; + label607.Text = "Ø povrchu"; + label601.Text = "Ø otvoru"; + label442.Text = "Ø povrchu"; + label440.Text = "Ø otvoru"; + label438.Text = "Ø povrchu"; + label436.Text = "Ø otvoru"; + label433.Text = "Ø povrchu"; + label431.Text = "Ø otvoru"; + } + else + { + label618.Text = "□"; + label612.Text = "šírka"; + label613.Text = "výška"; + label607.Text = "šírka"; + label601.Text = "výška"; + label442.Text = "šírka"; + label440.Text = "výška"; + label438.Text = "šírka"; + label436.Text = "výška"; + label433.Text = "šírka"; + label431.Text = "výška"; + } + RefreshAll(); + } + + private void checkBox42_CheckedChanged(object sender, EventArgs e) + { + if (checkBox42.Checked == true) checkBox41.Checked = false; + else checkBox41.Checked = true; + RefreshAll(); + } + + private void checkBox43_CheckedChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void button21_Click(object sender, EventArgs e) + { + myNumericUpDown156.SuspendLayout(); + myNumericUpDown155.SuspendLayout(); + myNumericUpDown154.SuspendLayout(); + + myNumericUpDown156.Value = psdRozmer1; + myNumericUpDown155.Value = psdRozmer2; + myNumericUpDown154.Value = psdRozmer3; + + label618.Text = "Ø"; + label612.Text = "Ø povrchu"; + label613.Text = "Ø otvoru"; + label607.Text = "Ø povrchu"; + label601.Text = "Ø otvoru"; + label442.Text = "Ø povrchu"; + label440.Text = "Ø otvoru"; + label438.Text = "Ø povrchu"; + label436.Text = "Ø otvoru"; + label433.Text = "Ø povrchu"; + label431.Text = "Ø otvoru"; + + myNumericUpDown156.ResumeLayout(); + myNumericUpDown155.ResumeLayout(); + myNumericUpDown154.ResumeLayout(); + + RefreshAll(); + } + + private void button20_Click(object sender, EventArgs e) + { + Int32 intPocetSeg = Convert.ToInt32(label6.Text); + double dUhol = Math.PI / intPocetSeg; + + if (intPocetSeg > 1) + { + myNumericUpDown156.Value = Convert.ToDecimal(Convert.ToDouble(psdRozmer1) * Math.Sin(dUhol)); + myNumericUpDown155.Value = Convert.ToDecimal(Convert.ToDouble(psdRozmer1) / 2 - (Convert.ToDouble(psdRozmer2) / 2 * Math.Cos(dUhol))); + myNumericUpDown154.Value = psdRozmer3; + } + + label618.Text = "□"; + label612.Text = "šírka"; + label613.Text = "výška"; + label607.Text = "šírka"; + label601.Text = "výška"; + label442.Text = "šírka"; + label440.Text = "výška"; + label438.Text = "šírka"; + label436.Text = "výška"; + label433.Text = "šírka"; + label431.Text = "výška"; + + RefreshAll(); + } + + private void checkBox44_CheckedChanged(object sender, EventArgs e) + { + if (checkBox44.Checked) + { + label620.Enabled = true; + label618.Enabled = true; + button21.Enabled = true; + button20.Enabled = true; + panel141.Enabled = true; + panel142.Enabled = true; + panel136.Enabled = true; + panel131.Enabled = true; + panel108.Enabled = true; + label621_Click(null, null); + RefreshAll(); + } + else + { + label620.Enabled = false; + label618.Enabled = false; + button21.Enabled = false; + button20.Enabled = false; + myNumericUpDown156.Value = 0; + myNumericUpDown155.Value = 0; + myNumericUpDown154.Value = 0; + checkBox43.Checked = false; + checkBox42.Checked = false; + myNumericUpDown157.Value = 0; + myNumericUpDown158.Value = 0; + myNumericUpDown159.Value = 0; + checkBox41.Checked = true; + myNumericUpDown161.Value = 1; + myNumericUpDown160.Value = 0; + myNumericUpDown153.Value = 0; + myNumericUpDown151.Value = 0; + myNumericUpDown152.Value = 0; + myNumericUpDown150.Value = 1; + myNumericUpDown149.Value = 0; + myNumericUpDown148.Value = 0; + myNumericUpDown145.Value = 0; + myNumericUpDown147.Value = 0; + myNumericUpDown146.Value = 0; + myNumericUpDown142.Value = 0; + myNumericUpDown144.Value = 0; + myNumericUpDown143.Value = 0; + label430.Text = "0"; + label429.Text = "0"; + label428.Text = "0"; + label618.Text = "0"; + panel141.Enabled = false; + panel142.Enabled = false; + panel136.Enabled = false; + panel131.Enabled = false; + panel108.Enabled = false; + label19_Click(null, null); + RefreshAll(); + } + } + + private void comboBox6_SelectedValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void comboBox3_SelectedValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } + + private void comboBox7_SelectedValueChanged(object sender, EventArgs e) + { + RefreshAll(); + } } }