From 8bf184c84bfeb1893ba06a6ffa3244f3d646d087 Mon Sep 17 00:00:00 2001 From: roman6791 Date: Wed, 7 Apr 2021 22:24:44 +0200 Subject: [PATCH] udrzby a opravy strojov --- .vs/Mip_v1/v16/.suo | Bin 182784 -> 184832 bytes Mip/frmMain.Designer.cs | 464 +++++++++++++++++++++------------------- Mip/frmMain.cs | 174 ++++++++++++--- 3 files changed, 379 insertions(+), 259 deletions(-) diff --git a/.vs/Mip_v1/v16/.suo b/.vs/Mip_v1/v16/.suo index de27a10cfcdc0a04f1645a39a814264de6a08e4f..29305275a13301b310fa758a23afe75f34aee2e8 100644 GIT binary patch delta 8473 zcmeI13s{ubnaAgS8OA|JLQlmC$^Z2xhF~10rrgv=>MPs+#c# z^|R)Po_!&V0W(3l{+YE;*eOUOz$}mk^oS69{g-%W1|mfu7DR$PkPW(nTY;)~4Z>w$ zEa(wP>xC|=ygLyu0cGGcP-*JPg8W*SxJsKJh|fj%fYO3WtVHB)P^UDX+zk@UW3qzv zU^=J<6F?)l3#ToD=->7Y`hNlCRC%j@*cwOq`YYBU_2oz#4!!^bK{^OV9UU51+8l(dfU<@K@x=(CdD9Z0 ztWgD2BkBnb$UhH+;Rw|dsRc`warBEJVf1KVfqY6kYOHQsvN@bFo1C^N^H3!e*z&D6 zLl|PDmPDmFA*6zIkOtI(8-;LqKpq(gGXmjN@B6k%K{uk-0YUC~hu0BtzNfAYiPz%? zpQX{>&qpSa*B<{XHsm4XjZUZILZ16As?nX6 zzg?q^`kCP19W_xmPeNzx0DUnY)%h?q9fzpLqH-J3WkAXpqf&{PY=jO(}6Vo<)!wJtUyMNY7!2v^x^=TsZW1DDR>rg z=0h5E^8!f4U?C_0s={)F9hIrD0`VoFKi;@yM~&0{K`kZgb+wH&+51IpH}W)F+zqv~ zP_JufqhWeo<9(i^hWc;COC9Rp#-3L8w6NzSk07Ko2m)r113h(4HppM6&%S6puAkEA zV!Y80B!Nynws+0iF9nGmeNTn#1S0`fcpv@T#fXyZK!LFc#{n0}4Wx}nmD5c-1Iw@|@t-eV546UWNC{ zI~Mh}u04_HOYBeQf^==B-D~$>2x>hM&A#aVbg?su+Vd`5AkXvc`6Ihuy+qT!pTF7z z8NJ}T|MNU~PP6CDE*Xfs&t2j|lkf6_)Iba$y8irDa=*8h7W&rhp_pK+X<7A>)oG>_ z{b0r*{h8nA)|=2<{Fx%az+0>BDaYqpLe@HSx73&1`}q6EPhY&#nfv0#yfZ1KKToS! zooIg->`QHtlfRh$GJ2 z4>ujKJ`&dQijp1i|59*v!l@D^PpDhAp>XA|>1kcN>>50~*_r$5tk8FyPbEKHtT}TN zKJNR&u}eSuf;T#I-#eE4qu)Nc^ZsH@FTU)cyY$yC4{-k>+UGh*el>p2Rdf5Oy_e5* z4{EUx^gATp7jLJxg5>pX6fI+g`%00Gtg^o^b(bfWaF}n_!}Mr~`~2DtCAFNO7(-Fs zb?@Cx;uuG7ioceuzVmtH2=RQ%Ek$I}wZy@`!HeiOL6VzH4xi&aI^X+bHJz}^qZ26F zcea+C)UuYWt^XnP6EZjr!^>Ep^iHLy|(Rr zy>Y*%ZS@x?MM#lG(Gk}V?7}B)ZK7!u5j4u=l-(L7G&N8}uT?n8tv1=AlA+MVFnL#_ z7|Cg%x5bXKJ!1p9R^dn)*GM@nJBg2Ijl@k`$tBudq#f~ZB^K9K(&%=bW{;F(HVP5# zUecP@v)|_rXN|;lzbfsfLK*r1MatQ14wjGHG|VQxT;!0bmGt4swKUxNH=P8%uG5ts%aJ!si9V&o8=*Ykph%8o z$yH`)5UQ6pq0QoQBkJEpnz%$+U^i(eo5)4qT+XNUV?T+ui(Ec!05ghj;7un7vWu@z zY#GSZG=nwKqS@v1Ln84*6ivu1TV`;UxMs1|bQDQ`2;Co!$H@e9Ey5%#$M8mZdobTk z+hm7>r%Cb<&Jce*2h%-9Leo^X$+JT^6(cbU6sdW0!Olq%7RP3xY`$CWj^zSr&S!JC z@-<~EYu44u^mG(Jy@l55j-=!H?37Q^xUg4gS=r+9>Xmoa)vTjbDld7^owmW!>uQ`r0|M!lMszuvEZgFp+6mi`}b2t;{tHp`pdWrof*K=Z!wEhD} ziEAVK<)EE2rT<_a?fXRnhm#yH;0I+xIyZ$pb$C>1%&rx#uUNq*`$zEaFnN^nuPIaM zcVcM8s;X(_Yx0!FQx>m|zAbb9)MYgb?@Uv{{J%C+VyE-O-fql?_9wxwJ`qfkQ^Yf` zHK=Sf@1{Sk(|$)@`RZj$suv`DQ_G#D{(S$WcRr6-+W7jpQ5A!BbIQub8dv#qf9t-nfe>ew*ON{^9qP+kMHQPZ+jun zq2QfJ%9ZD;I7v?`?kg#C*#f85tBF(P%{e%*)Xe2P{o~1@(mV%82J;-AEW_t=78OWu z5091uI)!&@zyDb;KbXsX#9zU~{zttFuoGl}XMXUMQ|mc+{dYWSv;R88lz8&PEJ}Ku=DJka?`c3C+r)1V@PL`ToY?bvDP>g#iFH(JR>ZzZE zqRXN3?h>w&L$#c&C(Rlx=a;|;v*g`M80C@qiMV*nLO*7h^vw@uip#?hQZka0{_aEm zXMBjYs&v_E*dsv>*78tgkM4S^-67gCOruLnvAGqi$(1HoZKN(wm!RzJYK0|8@p9w_ z44agbh)i`v?67opq7NE=JlJ!bm6%*ueJOH&1tc|J+Go|% zl^iejDxNPFD%nLD@?1Gu+q81^rYX_4ACX&@YSr$V2gZuZdQfwi^AtJup+3M^Ux0_ba!0hV+~X zedW_tD3IUoE4J5S=9+7HhH@kEYLz*fYS~N`?Q1E$jz_97&1+w#57u#5Q#xm>6HKVw zn$EZQ?ikHB{%+n{;H{tUQGrAGYUB1aM&7REROQ$(ICUpnc5QGUdorMt*mlJmtM)=2 zTt;=LRW0IL0~ZLRLd}LgR^+ANl|gdA1HJdo=5g|l1E-^c@!a?=b_fr4h+*i<*XRLLYv^VF*B08_^ZhF;o%$55quNcoYU$0j4#!a8?rH^ zOXz%@n6RhJ`#;d|X2xt@Gjc z;J{<(dn`&Hu8-!>4eI4_zD+siWZAbDgNi>4M{I03XfsMS?dSY}3s>hAs6&0+XDO$j zCidNI!+joZQ6;vDZ;>nep^I6~Tx+OC|H&u)Wm+?~fPi~BeSnMg)F&ONq`-KoqY{gh z9OP(q3hR0~6>|_bR4*Ll0^C*@+W&Y;r2O6G&ap}lW-Ozzc(suJ0 zV{emv9xkSNQrdz9^wnr4N}3X-v(Wcf-;t$8}>>2DUtPT0&Tj9S}+1H*FlhgQ(AHVx} delta 7700 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 diff --git a/Mip/frmMain.Designer.cs b/Mip/frmMain.Designer.cs index 0e22429..6ab1267 100644 --- a/Mip/frmMain.Designer.cs +++ b/Mip/frmMain.Designer.cs @@ -29,19 +29,19 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea5 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); - System.Windows.Forms.DataVisualization.Charting.Legend legend5 = new System.Windows.Forms.DataVisualization.Charting.Legend(); - System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series(); - System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series(); - System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea6 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); - System.Windows.Forms.DataVisualization.Charting.Legend legend6 = new System.Windows.Forms.DataVisualization.Charting.Legend(); - System.Windows.Forms.DataVisualization.Charting.Series series9 = new System.Windows.Forms.DataVisualization.Charting.Series(); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1D, 9.5D); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2D, 9.25D); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3D, 8.84D); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4D, 8.67D); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea7 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); + System.Windows.Forms.DataVisualization.Charting.Legend legend7 = new System.Windows.Forms.DataVisualization.Charting.Legend(); + System.Windows.Forms.DataVisualization.Charting.Series series10 = new System.Windows.Forms.DataVisualization.Charting.Series(); + System.Windows.Forms.DataVisualization.Charting.Series series11 = new System.Windows.Forms.DataVisualization.Charting.Series(); + System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea8 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); + System.Windows.Forms.DataVisualization.Charting.Legend legend8 = new System.Windows.Forms.DataVisualization.Charting.Legend(); + System.Windows.Forms.DataVisualization.Charting.Series series12 = new System.Windows.Forms.DataVisualization.Charting.Series(); + System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1D, 9.5D); + System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2D, 9.25D); + System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3D, 8.84D); + System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint16 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4D, 8.67D); this.checkBox65 = new System.Windows.Forms.CheckBox(); this.checkBox66 = new System.Windows.Forms.CheckBox(); this.checkBox67 = new System.Windows.Forms.CheckBox(); @@ -447,6 +447,7 @@ this.button71 = new System.Windows.Forms.Button(); this.dGVPU = new System.Windows.Forms.DataGridView(); this.tabPage11 = new System.Windows.Forms.TabPage(); + this.button203 = new System.Windows.Forms.Button(); this.button150 = new System.Windows.Forms.Button(); this.panel56 = new System.Windows.Forms.Panel(); this.comboBox13 = new System.Windows.Forms.ComboBox(); @@ -744,6 +745,7 @@ this.textBox38 = new System.Windows.Forms.TextBox(); this.label227 = new System.Windows.Forms.Label(); this.textBox52 = new System.Windows.Forms.TextBox(); + this.button202 = new System.Windows.Forms.Button(); this.tabPage20 = new System.Windows.Forms.TabPage(); this.panel69 = new System.Windows.Forms.Panel(); this.button198 = new System.Windows.Forms.Button(); @@ -902,7 +904,6 @@ this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.label175 = new System.Windows.Forms.Label(); this.label182 = new System.Windows.Forms.Label(); - this.button202 = new System.Windows.Forms.Button(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); @@ -1217,8 +1218,8 @@ // // tabControl1 // - this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.tabControl1.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.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); @@ -1270,7 +1271,7 @@ this.tabPage1.Margin = new System.Windows.Forms.Padding(1); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(2); - this.tabPage1.Size = new System.Drawing.Size(1706, 519); + this.tabPage1.Size = new System.Drawing.Size(1306, 519); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Dopyty"; this.tabPage1.ToolTipText = "Práca so všetkými cenovými ponukami, objednávkami a kontraktmi"; @@ -1727,8 +1728,8 @@ // // splitContainer3 // - this.splitContainer3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.splitContainer3.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.splitContainer3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; @@ -1874,8 +1875,8 @@ this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.AllowUserToResizeRows = false; - this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView1.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.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Location = new System.Drawing.Point(1, 1); @@ -1885,12 +1886,12 @@ this.dataGridView1.ReadOnly = true; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - dataGridViewCellStyle5.BackColor = System.Drawing.Color.AliceBlue; - dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.Green; - dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Yellow; - this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle7.BackColor = System.Drawing.Color.AliceBlue; + dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + dataGridViewCellStyle7.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.Green; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.Color.Yellow; + this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle7; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(1698, 215); this.dataGridView1.TabIndex = 0; @@ -1905,8 +1906,8 @@ // // splitContainer4 // - this.splitContainer4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.splitContainer4.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.splitContainer4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; @@ -1932,8 +1933,8 @@ this.dataGridView4.AllowUserToAddRows = false; this.dataGridView4.AllowUserToDeleteRows = false; this.dataGridView4.AllowUserToResizeRows = false; - this.dataGridView4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView4.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.dataGridView4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView4.Location = new System.Drawing.Point(1, 1); @@ -1954,8 +1955,8 @@ this.dataGridView5.AllowUserToAddRows = false; this.dataGridView5.AllowUserToDeleteRows = false; this.dataGridView5.AllowUserToResizeRows = false; - this.dataGridView5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView5.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.dataGridView5.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView5.Location = new System.Drawing.Point(1, 1); @@ -2009,7 +2010,7 @@ this.tabPage2.Controls.Add(this.panel10); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; - this.tabPage2.Size = new System.Drawing.Size(1506, 519); + this.tabPage2.Size = new System.Drawing.Size(1306, 519); this.tabPage2.TabIndex = 13; this.tabPage2.Text = "Zoznam výrobkov"; this.tabPage2.UseVisualStyleBackColor = true; @@ -2165,8 +2166,8 @@ this.dGVZoznamVyrobkov.AllowUserToAddRows = false; this.dGVZoznamVyrobkov.AllowUserToDeleteRows = false; this.dGVZoznamVyrobkov.AllowUserToResizeRows = false; - this.dGVZoznamVyrobkov.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVZoznamVyrobkov.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.dGVZoznamVyrobkov.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVZoznamVyrobkov.Location = new System.Drawing.Point(1, 43); @@ -2206,7 +2207,7 @@ this.tabPage3.Controls.Add(this.dGVVydajMat); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; - this.tabPage3.Size = new System.Drawing.Size(1506, 519); + this.tabPage3.Size = new System.Drawing.Size(1306, 519); this.tabPage3.TabIndex = 3; this.tabPage3.Text = "Výdaj materiálu"; this.tabPage3.UseVisualStyleBackColor = true; @@ -2464,17 +2465,17 @@ this.dGVVydajMat.AllowUserToAddRows = false; this.dGVVydajMat.AllowUserToDeleteRows = false; this.dGVVydajMat.AllowUserToResizeRows = false; - this.dGVVydajMat.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVVydajMat.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))); - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dGVVydajMat.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dGVVydajMat.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8; this.dGVVydajMat.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVVydajMat.Location = new System.Drawing.Point(1, 43); this.dGVVydajMat.MultiSelect = false; @@ -2512,7 +2513,7 @@ this.tabPage4.Controls.Add(this.dGVRV); this.tabPage4.Location = new System.Drawing.Point(4, 22); this.tabPage4.Name = "tabPage4"; - this.tabPage4.Size = new System.Drawing.Size(1506, 519); + this.tabPage4.Size = new System.Drawing.Size(1306, 519); this.tabPage4.TabIndex = 4; this.tabPage4.Text = "Riadenie výroby"; this.tabPage4.UseVisualStyleBackColor = true; @@ -2836,8 +2837,8 @@ this.dGVRV.AllowUserToDeleteRows = false; this.dGVRV.AllowUserToResizeColumns = false; this.dGVRV.AllowUserToResizeRows = false; - this.dGVRV.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVRV.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.dGVRV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVRV.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -2864,7 +2865,7 @@ this.tabPage5.Controls.Add(this.splitContainer1); this.tabPage5.Location = new System.Drawing.Point(4, 22); this.tabPage5.Name = "tabPage5"; - this.tabPage5.Size = new System.Drawing.Size(1506, 519); + this.tabPage5.Size = new System.Drawing.Size(1306, 519); this.tabPage5.TabIndex = 2; this.tabPage5.Text = "Skladové operácie"; this.tabPage5.UseVisualStyleBackColor = true; @@ -2896,7 +2897,7 @@ this.splitContainer1.Panel2.Controls.Add(this.button59); this.splitContainer1.Panel2.Controls.Add(this.btnPridajInvVydaj); this.splitContainer1.Panel2.Controls.Add(this.dGVSkladVydaj); - this.splitContainer1.Size = new System.Drawing.Size(1506, 519); + this.splitContainer1.Size = new System.Drawing.Size(1306, 519); this.splitContainer1.SplitterDistance = 254; this.splitContainer1.TabIndex = 0; // @@ -2920,7 +2921,7 @@ this.panel11.Controls.Add(this.groupBox8); this.panel11.Controls.Add(this.groupBox9); this.panel11.Controls.Add(this.groupBox10); - this.panel11.Location = new System.Drawing.Point(1318, 23); + this.panel11.Location = new System.Drawing.Point(1118, 23); this.panel11.Name = "panel11"; this.panel11.Size = new System.Drawing.Size(185, 227); this.panel11.TabIndex = 24; @@ -3088,7 +3089,7 @@ // button58 // this.button58.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button58.Location = new System.Drawing.Point(1407, 0); + this.button58.Location = new System.Drawing.Point(1207, 0); this.button58.Name = "button58"; this.button58.Size = new System.Drawing.Size(97, 23); this.button58.TabIndex = 23; @@ -3111,8 +3112,8 @@ this.dGVSkladPrijem.AllowUserToAddRows = false; this.dGVSkladPrijem.AllowUserToDeleteRows = false; this.dGVSkladPrijem.AllowUserToResizeRows = false; - this.dGVSkladPrijem.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVSkladPrijem.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.dGVSkladPrijem.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVSkladPrijem.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -3121,7 +3122,7 @@ this.dGVSkladPrijem.ReadOnly = true; this.dGVSkladPrijem.RowHeadersVisible = false; this.dGVSkladPrijem.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVSkladPrijem.Size = new System.Drawing.Size(1502, 228); + this.dGVSkladPrijem.Size = new System.Drawing.Size(1302, 228); this.dGVSkladPrijem.TabIndex = 0; this.dGVSkladPrijem.Visible = false; this.dGVSkladPrijem.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladPrijem_CellDoubleClick); @@ -3157,7 +3158,7 @@ this.panel13.Controls.Add(this.panel14); this.panel13.Controls.Add(this.groupBox11); this.panel13.Controls.Add(this.groupBox13); - this.panel13.Location = new System.Drawing.Point(1318, 23); + this.panel13.Location = new System.Drawing.Point(1118, 23); this.panel13.Name = "panel13"; this.panel13.Size = new System.Drawing.Size(185, 227); this.panel13.TabIndex = 24; @@ -3325,7 +3326,7 @@ // button59 // this.button59.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button59.Location = new System.Drawing.Point(1407, 0); + this.button59.Location = new System.Drawing.Point(1207, 0); this.button59.Name = "button59"; this.button59.Size = new System.Drawing.Size(97, 23); this.button59.TabIndex = 23; @@ -3348,8 +3349,8 @@ this.dGVSkladVydaj.AllowUserToAddRows = false; this.dGVSkladVydaj.AllowUserToDeleteRows = false; this.dGVSkladVydaj.AllowUserToResizeRows = false; - this.dGVSkladVydaj.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVSkladVydaj.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.dGVSkladVydaj.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVSkladVydaj.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -3358,7 +3359,7 @@ this.dGVSkladVydaj.ReadOnly = true; this.dGVSkladVydaj.RowHeadersVisible = false; this.dGVSkladVydaj.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVSkladVydaj.Size = new System.Drawing.Size(1502, 235); + this.dGVSkladVydaj.Size = new System.Drawing.Size(1302, 235); this.dGVSkladVydaj.TabIndex = 0; this.dGVSkladVydaj.Visible = false; this.dGVSkladVydaj.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladVydaj_CellDoubleClick); @@ -3380,7 +3381,7 @@ this.tabPage6.Controls.Add(this.dGVExpedicia); this.tabPage6.Location = new System.Drawing.Point(4, 22); this.tabPage6.Name = "tabPage6"; - this.tabPage6.Size = new System.Drawing.Size(1506, 519); + this.tabPage6.Size = new System.Drawing.Size(1306, 519); this.tabPage6.TabIndex = 5; this.tabPage6.Text = "Expedícia"; this.tabPage6.UseVisualStyleBackColor = true; @@ -3685,8 +3686,8 @@ this.dGVExpedicia.AllowUserToAddRows = false; this.dGVExpedicia.AllowUserToDeleteRows = false; this.dGVExpedicia.AllowUserToResizeRows = false; - this.dGVExpedicia.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVExpedicia.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.dGVExpedicia.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVExpedicia.Location = new System.Drawing.Point(1, 43); @@ -3718,7 +3719,7 @@ this.tabPage7.Controls.Add(this.panel24); this.tabPage7.Location = new System.Drawing.Point(4, 22); this.tabPage7.Name = "tabPage7"; - this.tabPage7.Size = new System.Drawing.Size(1506, 519); + this.tabPage7.Size = new System.Drawing.Size(1306, 519); this.tabPage7.TabIndex = 6; this.tabPage7.Text = "Kategorizácia zmätkovitosti"; this.tabPage7.UseVisualStyleBackColor = true; @@ -3739,8 +3740,8 @@ this.dataGridView3.AllowUserToAddRows = false; this.dataGridView3.AllowUserToDeleteRows = false; this.dataGridView3.AllowUserToResizeRows = false; - this.dataGridView3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView3.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.dataGridView3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView3.Location = new System.Drawing.Point(1, 43); @@ -3866,7 +3867,7 @@ this.tabPage8.Controls.Add(this.chart1); this.tabPage8.Location = new System.Drawing.Point(4, 22); this.tabPage8.Name = "tabPage8"; - this.tabPage8.Size = new System.Drawing.Size(1506, 519); + this.tabPage8.Size = new System.Drawing.Size(1306, 519); this.tabPage8.TabIndex = 14; this.tabPage8.Text = "Zmätkovitosť"; this.tabPage8.UseVisualStyleBackColor = true; @@ -3887,7 +3888,7 @@ // // panel58 // - this.panel58.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.panel58.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel58.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel58.Controls.Add(this.label180); @@ -4175,7 +4176,7 @@ // // panel65 // - this.panel65.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panel65.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel65.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel65.Controls.Add(this.button179); @@ -4411,7 +4412,7 @@ // // label156 // - this.label156.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label156.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label156.BackColor = System.Drawing.Color.MistyRose; this.label156.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4425,7 +4426,7 @@ // // label157 // - this.label157.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label157.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label157.BackColor = System.Drawing.Color.LightGoldenrodYellow; this.label157.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4439,7 +4440,7 @@ // // label154 // - this.label154.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label154.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label154.BackColor = System.Drawing.Color.Lavender; this.label154.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4453,7 +4454,7 @@ // // label155 // - this.label155.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label155.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label155.BackColor = System.Drawing.Color.Honeydew; this.label155.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4467,7 +4468,7 @@ // // label152 // - this.label152.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label152.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label152.BackColor = System.Drawing.Color.Lavender; this.label152.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4481,7 +4482,7 @@ // // label153 // - this.label153.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label153.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label153.BackColor = System.Drawing.Color.Lavender; this.label153.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4495,7 +4496,7 @@ // // label150 // - this.label150.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label150.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label150.BackColor = System.Drawing.Color.Lavender; this.label150.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4509,7 +4510,7 @@ // // label151 // - this.label151.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label151.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label151.BackColor = System.Drawing.Color.Lavender; this.label151.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4523,7 +4524,7 @@ // // label148 // - this.label148.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label148.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label148.BackColor = System.Drawing.Color.Lavender; this.label148.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4537,7 +4538,7 @@ // // label149 // - this.label149.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label149.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label149.BackColor = System.Drawing.Color.Lavender; this.label149.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4814,7 +4815,7 @@ // // label126 // - this.label126.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label126.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label126.BackColor = System.Drawing.Color.PaleTurquoise; this.label126.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4827,7 +4828,7 @@ // // label125 // - this.label125.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label125.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label125.BackColor = System.Drawing.Color.Beige; this.label125.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4842,7 +4843,7 @@ // // label124 // - this.label124.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label124.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label124.BackColor = System.Drawing.Color.Beige; this.label124.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4857,7 +4858,7 @@ // // label123 // - this.label123.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label123.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label123.BackColor = System.Drawing.Color.Beige; this.label123.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4872,7 +4873,7 @@ // // label122 // - this.label122.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label122.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label122.BackColor = System.Drawing.Color.Coral; this.label122.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -4890,8 +4891,8 @@ this.dataGridView18.AllowUserToAddRows = false; this.dataGridView18.AllowUserToDeleteRows = false; this.dataGridView18.AllowUserToResizeRows = false; - this.dataGridView18.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView18.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.dataGridView18.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView18.Location = new System.Drawing.Point(1, 457); @@ -4956,30 +4957,30 @@ // // chart1 // - this.chart1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.chart1.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))); - chartArea5.Area3DStyle.IsRightAngleAxes = false; - chartArea5.Area3DStyle.Perspective = 25; - chartArea5.Name = "ChartArea1"; - this.chart1.ChartAreas.Add(chartArea5); - legend5.DockedToChartArea = "ChartArea1"; - legend5.Name = "Legend1"; - this.chart1.Legends.Add(legend5); + chartArea7.Area3DStyle.IsRightAngleAxes = false; + chartArea7.Area3DStyle.Perspective = 25; + chartArea7.Name = "ChartArea1"; + this.chart1.ChartAreas.Add(chartArea7); + legend7.DockedToChartArea = "ChartArea1"; + legend7.Name = "Legend1"; + this.chart1.Legends.Add(legend7); this.chart1.Location = new System.Drawing.Point(4, 4); this.chart1.Name = "chart1"; - series7.ChartArea = "ChartArea1"; - series7.Enabled = false; - series7.IsValueShownAsLabel = true; - series7.Legend = "Legend1"; - series7.Name = "Priemerná zmätkovitosť"; - series8.ChartArea = "ChartArea1"; - series8.Enabled = false; - series8.IsValueShownAsLabel = true; - series8.Legend = "Legend1"; - series8.Name = "Priemer zmätkovitostí"; - this.chart1.Series.Add(series7); - this.chart1.Series.Add(series8); + series10.ChartArea = "ChartArea1"; + series10.Enabled = false; + series10.IsValueShownAsLabel = true; + series10.Legend = "Legend1"; + series10.Name = "Priemerná zmätkovitosť"; + series11.ChartArea = "ChartArea1"; + series11.Enabled = false; + series11.IsValueShownAsLabel = true; + series11.Legend = "Legend1"; + series11.Name = "Priemer zmätkovitostí"; + this.chart1.Series.Add(series10); + this.chart1.Series.Add(series11); this.chart1.Size = new System.Drawing.Size(838, 491); this.chart1.TabIndex = 0; this.chart1.Text = "chart1"; @@ -4997,7 +4998,7 @@ this.tabPage9.Controls.Add(this.grboxFormulare); this.tabPage9.Location = new System.Drawing.Point(4, 22); this.tabPage9.Name = "tabPage9"; - this.tabPage9.Size = new System.Drawing.Size(1506, 519); + this.tabPage9.Size = new System.Drawing.Size(1306, 519); this.tabPage9.TabIndex = 12; this.tabPage9.Text = "Nastavenia"; this.tabPage9.UseVisualStyleBackColor = true; @@ -5016,8 +5017,8 @@ // // textBox50 // - this.textBox50.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.textBox50.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.textBox50.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.textBox50.Location = new System.Drawing.Point(123, 2); @@ -5050,8 +5051,8 @@ // // textBox45 // - this.textBox45.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.textBox45.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.textBox45.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.textBox45.Location = new System.Drawing.Point(119, 2); @@ -5129,8 +5130,8 @@ // // groupBox1 // - this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.groupBox1.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.groupBox1.Controls.Add(this.panel73); this.groupBox1.Controls.Add(this.btnPridatUzivatela); @@ -5611,8 +5612,8 @@ this.dataGridView2.AllowUserToDeleteRows = false; this.dataGridView2.AllowUserToResizeColumns = false; this.dataGridView2.AllowUserToResizeRows = false; - this.dataGridView2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView2.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.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -5636,7 +5637,7 @@ // // grboxFormulare // - this.grboxFormulare.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.grboxFormulare.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.grboxFormulare.Controls.Add(this.btnTlacitForm); this.grboxFormulare.Controls.Add(this.btnExportFrm); @@ -5697,8 +5698,8 @@ // // dataGridView9 // - this.dataGridView9.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView9.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.dataGridView9.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView9.Location = new System.Drawing.Point(6, 19); @@ -5717,7 +5718,7 @@ this.tabPage10.Controls.Add(this.splitContainer2); this.tabPage10.Location = new System.Drawing.Point(4, 22); this.tabPage10.Name = "tabPage10"; - this.tabPage10.Size = new System.Drawing.Size(1506, 519); + this.tabPage10.Size = new System.Drawing.Size(1306, 519); this.tabPage10.TabIndex = 15; this.tabPage10.Text = "Zoznam Strojov"; this.tabPage10.UseVisualStyleBackColor = true; @@ -5752,7 +5753,7 @@ this.splitContainer2.Panel2.Controls.Add(this.button69); this.splitContainer2.Panel2.Controls.Add(this.button71); this.splitContainer2.Panel2.Controls.Add(this.dGVPU); - this.splitContainer2.Size = new System.Drawing.Size(1506, 519); + this.splitContainer2.Size = new System.Drawing.Size(1306, 519); this.splitContainer2.SplitterDistance = 336; this.splitContainer2.TabIndex = 1; // @@ -5986,7 +5987,7 @@ this.panel21.Controls.Add(this.panel22); this.panel21.Controls.Add(this.groupBox27); this.panel21.Controls.Add(this.groupBox29); - this.panel21.Location = new System.Drawing.Point(1316, 25); + this.panel21.Location = new System.Drawing.Point(1116, 25); this.panel21.Name = "panel21"; this.panel21.Size = new System.Drawing.Size(185, 190); this.panel21.TabIndex = 24; @@ -6078,7 +6079,7 @@ // button67 // this.button67.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button67.Location = new System.Drawing.Point(1407, 0); + this.button67.Location = new System.Drawing.Point(1207, 0); this.button67.Name = "button67"; this.button67.Size = new System.Drawing.Size(97, 23); this.button67.TabIndex = 23; @@ -6101,8 +6102,8 @@ this.dGVStroje.AllowUserToAddRows = false; this.dGVStroje.AllowUserToDeleteRows = false; this.dGVStroje.AllowUserToResizeRows = false; - this.dGVStroje.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVStroje.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.dGVStroje.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVStroje.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -6111,7 +6112,7 @@ this.dGVStroje.ReadOnly = true; this.dGVStroje.RowHeadersVisible = false; this.dGVStroje.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVStroje.Size = new System.Drawing.Size(1502, 310); + this.dGVStroje.Size = new System.Drawing.Size(1302, 310); this.dGVStroje.TabIndex = 0; this.dGVStroje.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVStroje_RowEnter); // @@ -6297,8 +6298,8 @@ this.dGVPU.AllowUserToAddRows = false; this.dGVPU.AllowUserToDeleteRows = false; this.dGVPU.AllowUserToResizeRows = false; - this.dGVPU.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dGVPU.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.dGVPU.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVPU.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -6307,12 +6308,13 @@ this.dGVPU.ReadOnly = true; this.dGVPU.RowHeadersVisible = false; this.dGVPU.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVPU.Size = new System.Drawing.Size(1502, 153); + this.dGVPU.Size = new System.Drawing.Size(1302, 153); this.dGVPU.TabIndex = 0; // // tabPage11 // this.tabPage11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tabPage11.Controls.Add(this.button203); this.tabPage11.Controls.Add(this.button150); this.tabPage11.Controls.Add(this.panel56); this.tabPage11.Controls.Add(this.button145); @@ -6324,20 +6326,31 @@ this.tabPage11.Controls.Add(this.dataGridView8); this.tabPage11.Location = new System.Drawing.Point(4, 22); this.tabPage11.Name = "tabPage11"; - this.tabPage11.Size = new System.Drawing.Size(1506, 519); + this.tabPage11.Size = new System.Drawing.Size(1306, 519); this.tabPage11.TabIndex = 16; this.tabPage11.Text = "Údržby a opravy"; this.tabPage11.UseVisualStyleBackColor = true; this.tabPage11.Enter += new System.EventHandler(this.tabPage11_Enter_1); // + // button203 + // + this.button203.Location = new System.Drawing.Point(392, 0); + this.button203.Name = "button203"; + this.button203.Size = new System.Drawing.Size(99, 34); + this.button203.TabIndex = 35; + this.button203.Text = "Zmazať údržbu/opravu"; + this.button203.UseVisualStyleBackColor = true; + this.button203.Click += new System.EventHandler(this.button203_Click); + // // button150 // this.button150.Location = new System.Drawing.Point(294, 0); this.button150.Name = "button150"; this.button150.Size = new System.Drawing.Size(99, 34); this.button150.TabIndex = 34; - this.button150.Text = "Doplniť fakturačné údaje"; + this.button150.Text = "Editovať údržbu/opravu"; this.button150.UseVisualStyleBackColor = true; + this.button150.Click += new System.EventHandler(this.button150_Click); // // panel56 // @@ -6910,6 +6923,7 @@ this.textBox21.Name = "textBox21"; this.textBox21.Size = new System.Drawing.Size(166, 20); this.textBox21.TabIndex = 14; + this.textBox21.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox21_KeyPress); // // label26 // @@ -7031,7 +7045,7 @@ this.panel25.Controls.Add(this.panel26); this.panel25.Controls.Add(this.groupBox28); this.panel25.Controls.Add(this.groupBox31); - this.panel25.Location = new System.Drawing.Point(988, 25); + this.panel25.Location = new System.Drawing.Point(1117, 27); this.panel25.Name = "panel25"; this.panel25.Size = new System.Drawing.Size(184, 190); this.panel25.TabIndex = 28; @@ -7118,7 +7132,7 @@ // button73 // this.button73.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button73.Location = new System.Drawing.Point(1078, 0); + this.button73.Location = new System.Drawing.Point(1204, 3); this.button73.Name = "button73"; this.button73.Size = new System.Drawing.Size(97, 23); this.button73.TabIndex = 27; @@ -7130,8 +7144,8 @@ this.dataGridView8.AllowUserToAddRows = false; this.dataGridView8.AllowUserToDeleteRows = false; this.dataGridView8.AllowUserToResizeRows = false; - this.dataGridView8.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView8.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.dataGridView8.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView8.Location = new System.Drawing.Point(1, 34); @@ -7139,8 +7153,9 @@ this.dataGridView8.ReadOnly = true; this.dataGridView8.RowHeadersVisible = false; this.dataGridView8.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView8.Size = new System.Drawing.Size(1173, 457); + this.dataGridView8.Size = new System.Drawing.Size(1301, 482); this.dataGridView8.TabIndex = 26; + this.dataGridView8.SelectionChanged += new System.EventHandler(this.dataGridView8_SelectionChanged); // // tabPage12 // @@ -7164,7 +7179,7 @@ this.tabPage12.Controls.Add(this.dataGridView7); this.tabPage12.Location = new System.Drawing.Point(4, 22); this.tabPage12.Name = "tabPage12"; - this.tabPage12.Size = new System.Drawing.Size(1506, 519); + this.tabPage12.Size = new System.Drawing.Size(1306, 519); this.tabPage12.TabIndex = 17; this.tabPage12.Text = "Naceňovanie"; this.tabPage12.UseVisualStyleBackColor = true; @@ -7234,8 +7249,8 @@ // // textBox51 // - this.textBox51.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.textBox51.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.textBox51.BackColor = System.Drawing.Color.Gainsboro; this.textBox51.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -7246,7 +7261,7 @@ // // button199 // - this.button199.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.button199.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.button199.Location = new System.Drawing.Point(357, 0); this.button199.Name = "button199"; @@ -7258,7 +7273,7 @@ // // button200 // - this.button200.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.button200.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.button200.Location = new System.Drawing.Point(259, 0); this.button200.Name = "button200"; @@ -7485,8 +7500,8 @@ this.dataGridView7.AllowUserToAddRows = false; this.dataGridView7.AllowUserToDeleteRows = false; this.dataGridView7.AllowUserToResizeRows = false; - this.dataGridView7.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView7.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.dataGridView7.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView7.Location = new System.Drawing.Point(1, 43); @@ -7511,7 +7526,7 @@ this.tabPage13.Controls.Add(this.dataGridView10); this.tabPage13.Location = new System.Drawing.Point(4, 22); this.tabPage13.Name = "tabPage13"; - this.tabPage13.Size = new System.Drawing.Size(1506, 519); + this.tabPage13.Size = new System.Drawing.Size(1306, 519); this.tabPage13.TabIndex = 18; this.tabPage13.Text = "Vyhodnocovanie"; this.tabPage13.UseVisualStyleBackColor = true; @@ -7531,8 +7546,8 @@ this.dataGridView10.AllowUserToAddRows = false; this.dataGridView10.AllowUserToDeleteRows = false; this.dataGridView10.AllowUserToResizeRows = false; - this.dataGridView10.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView10.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.dataGridView10.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView10.Location = new System.Drawing.Point(1, 43); @@ -7553,7 +7568,7 @@ this.tabPage14.Controls.Add(this.trackBar1); this.tabPage14.Location = new System.Drawing.Point(4, 22); this.tabPage14.Name = "tabPage14"; - this.tabPage14.Size = new System.Drawing.Size(1506, 519); + this.tabPage14.Size = new System.Drawing.Size(1306, 519); this.tabPage14.TabIndex = 19; this.tabPage14.Text = "Zoznam firiem"; this.tabPage14.UseVisualStyleBackColor = true; @@ -7561,7 +7576,7 @@ // // flowLayoutPanel1 // - this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.flowLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.flowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.flowLayoutPanel1.Controls.Add(this.panel28); @@ -7576,7 +7591,7 @@ // // panel28 // - this.panel28.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panel28.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel28.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel28.Controls.Add(this.label115); @@ -7653,8 +7668,8 @@ // // textBox32 // - this.textBox32.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.textBox32.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.textBox32.Location = new System.Drawing.Point(1, 25); this.textBox32.Name = "textBox32"; @@ -7668,8 +7683,8 @@ this.dataGridView11.AllowUserToDeleteRows = false; this.dataGridView11.AllowUserToResizeColumns = false; this.dataGridView11.AllowUserToResizeRows = false; - this.dataGridView11.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView11.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.dataGridView11.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView11.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -7683,7 +7698,7 @@ // // label53 // - this.label53.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label53.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label53.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label53.Location = new System.Drawing.Point(-1, -1); @@ -7727,7 +7742,7 @@ // // label54 // - this.label54.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label54.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label54.BackColor = System.Drawing.Color.Transparent; this.label54.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -7814,7 +7829,7 @@ // // label55 // - this.label55.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label55.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label55.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label55.Location = new System.Drawing.Point(-1, -1); @@ -7852,7 +7867,7 @@ // // label56 // - this.label56.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label56.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label56.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label56.Location = new System.Drawing.Point(-1, -1); @@ -7876,7 +7891,7 @@ // // panel33 // - this.panel33.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.panel33.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel33.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel33.Controls.Add(this.label57); @@ -7891,7 +7906,7 @@ // // label57 // - this.label57.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.label57.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label57.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label57.Location = new System.Drawing.Point(-1, -1); @@ -7924,8 +7939,8 @@ // // gMapControl1 // - this.gMapControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.gMapControl1.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.gMapControl1.Bearing = 0F; this.gMapControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -7954,7 +7969,7 @@ // // trackBar1 // - this.trackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.trackBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.trackBar1.BackColor = System.Drawing.SystemColors.Window; this.trackBar1.Location = new System.Drawing.Point(270, 0); @@ -7976,7 +7991,7 @@ this.tabPage15.Controls.Add(this.panel53); this.tabPage15.Location = new System.Drawing.Point(4, 22); this.tabPage15.Name = "tabPage15"; - this.tabPage15.Size = new System.Drawing.Size(1506, 519); + this.tabPage15.Size = new System.Drawing.Size(1306, 519); this.tabPage15.TabIndex = 20; this.tabPage15.Text = "Nástroje"; this.tabPage15.UseVisualStyleBackColor = true; @@ -7984,7 +7999,7 @@ // // panel55 // - this.panel55.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.panel55.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel55.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel55.Controls.Add(this.button142); @@ -8121,7 +8136,7 @@ // // panel54 // - this.panel54.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panel54.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.panel54.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel54.Controls.Add(this.numericUpDown9); @@ -8372,8 +8387,8 @@ this.dataGridView17.AllowUserToDeleteRows = false; this.dataGridView17.AllowUserToResizeColumns = false; this.dataGridView17.AllowUserToResizeRows = false; - this.dataGridView17.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView17.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.dataGridView17.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells; this.dataGridView17.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; @@ -8389,7 +8404,7 @@ // // panel53 // - this.panel53.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.panel53.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.panel53.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel53.Controls.Add(this.label106); @@ -8715,22 +8730,22 @@ this.chart2.BackColor = System.Drawing.Color.DarkGray; this.chart2.BorderlineColor = System.Drawing.Color.Black; this.chart2.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; - chartArea6.Name = "ChartArea1"; - this.chart2.ChartAreas.Add(chartArea6); + chartArea8.Name = "ChartArea1"; + this.chart2.ChartAreas.Add(chartArea8); this.chart2.Dock = System.Windows.Forms.DockStyle.Bottom; - legend6.Name = "Legend1"; - this.chart2.Legends.Add(legend6); + legend8.Name = "Legend1"; + this.chart2.Legends.Add(legend8); this.chart2.Location = new System.Drawing.Point(0, 287); this.chart2.Name = "chart2"; - series9.ChartArea = "ChartArea1"; - series9.IsValueShownAsLabel = true; - series9.Legend = "Legend1"; - series9.Name = "Rozmer"; - series9.Points.Add(dataPoint9); - series9.Points.Add(dataPoint10); - series9.Points.Add(dataPoint11); - series9.Points.Add(dataPoint12); - this.chart2.Series.Add(series9); + series12.ChartArea = "ChartArea1"; + series12.IsValueShownAsLabel = true; + series12.Legend = "Legend1"; + series12.Name = "Rozmer"; + series12.Points.Add(dataPoint13); + series12.Points.Add(dataPoint14); + series12.Points.Add(dataPoint15); + series12.Points.Add(dataPoint16); + this.chart2.Series.Add(series12); this.chart2.Size = new System.Drawing.Size(407, 203); this.chart2.TabIndex = 2; this.chart2.Text = "chart2"; @@ -8769,7 +8784,7 @@ this.tabPage16.Controls.Add(this.textBox5); this.tabPage16.Location = new System.Drawing.Point(4, 22); this.tabPage16.Name = "tabPage16"; - this.tabPage16.Size = new System.Drawing.Size(1506, 519); + this.tabPage16.Size = new System.Drawing.Size(1306, 519); this.tabPage16.TabIndex = 21; this.tabPage16.Text = "Výkresy"; this.tabPage16.UseVisualStyleBackColor = true; @@ -8863,8 +8878,8 @@ this.dataGridView12.AllowUserToDeleteRows = false; this.dataGridView12.AllowUserToResizeColumns = false; this.dataGridView12.AllowUserToResizeRows = false; - this.dataGridView12.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView12.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.dataGridView12.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView12.Location = new System.Drawing.Point(1, 66); @@ -8909,7 +8924,7 @@ this.tabPage17.Controls.Add(this.textBox34); this.tabPage17.Location = new System.Drawing.Point(4, 22); this.tabPage17.Name = "tabPage17"; - this.tabPage17.Size = new System.Drawing.Size(1506, 519); + this.tabPage17.Size = new System.Drawing.Size(1306, 519); this.tabPage17.TabIndex = 22; this.tabPage17.Text = "Sklad"; this.tabPage17.UseVisualStyleBackColor = true; @@ -8933,7 +8948,7 @@ this.dataGridView15.AllowUserToDeleteRows = false; this.dataGridView15.AllowUserToResizeColumns = false; this.dataGridView15.AllowUserToResizeRows = false; - this.dataGridView15.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.dataGridView15.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridView15.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView15.Location = new System.Drawing.Point(1103, 98); @@ -9088,8 +9103,8 @@ this.dataGridView13.AllowUserToDeleteRows = false; this.dataGridView13.AllowUserToResizeColumns = false; this.dataGridView13.AllowUserToResizeRows = false; - this.dataGridView13.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView13.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.dataGridView13.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView13.Location = new System.Drawing.Point(1, 66); @@ -9128,7 +9143,7 @@ this.tabPage18.Controls.Add(this.dataGridView14); this.tabPage18.Location = new System.Drawing.Point(4, 22); this.tabPage18.Name = "tabPage18"; - this.tabPage18.Size = new System.Drawing.Size(1506, 519); + this.tabPage18.Size = new System.Drawing.Size(1306, 519); this.tabPage18.TabIndex = 23; this.tabPage18.Text = "Požiadavky/Pripomienky"; this.tabPage18.UseVisualStyleBackColor = true; @@ -9149,8 +9164,8 @@ // // textBox36 // - this.textBox36.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.textBox36.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.textBox36.Location = new System.Drawing.Point(1, 1); this.textBox36.MaxLength = 250; @@ -9357,8 +9372,8 @@ this.dataGridView14.AllowUserToAddRows = false; this.dataGridView14.AllowUserToDeleteRows = false; this.dataGridView14.AllowUserToResizeRows = false; - this.dataGridView14.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView14.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.dataGridView14.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView14.Location = new System.Drawing.Point(1, 43); @@ -9447,7 +9462,7 @@ // // labelVsetkyAleboMeskajuce // - this.labelVsetkyAleboMeskajuce.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.labelVsetkyAleboMeskajuce.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.labelVsetkyAleboMeskajuce.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.labelVsetkyAleboMeskajuce.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -9462,7 +9477,7 @@ // // label119 // - this.label119.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.label119.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label119.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label119.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -10011,8 +10026,8 @@ this.dataGridView16.AllowUserToAddRows = false; this.dataGridView16.AllowUserToDeleteRows = false; this.dataGridView16.AllowUserToResizeRows = false; - this.dataGridView16.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dataGridView16.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.dataGridView16.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView16.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; @@ -10078,12 +10093,25 @@ this.textBox52.TabIndex = 30; this.textBox52.TextChanged += new System.EventHandler(this.textBox52_TextChanged); // + // button202 + // + this.button202.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.button202.BackColor = System.Drawing.Color.Coral; + this.button202.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.button202.Location = new System.Drawing.Point(742, 1); + this.button202.Name = "button202"; + this.button202.Size = new System.Drawing.Size(75, 59); + this.button202.TabIndex = 32; + this.button202.Text = "Zrušiť filtre"; + this.button202.UseVisualStyleBackColor = false; + this.button202.Click += new System.EventHandler(this.button202_Click); + // // tabPage20 // this.tabPage20.Controls.Add(this.panel69); this.tabPage20.Location = new System.Drawing.Point(4, 22); this.tabPage20.Name = "tabPage20"; - this.tabPage20.Size = new System.Drawing.Size(1506, 519); + this.tabPage20.Size = new System.Drawing.Size(1306, 519); this.tabPage20.TabIndex = 25; this.tabPage20.Text = "Evidencia brúsených nástrojov"; this.tabPage20.UseVisualStyleBackColor = true; @@ -10091,8 +10119,8 @@ // // panel69 // - this.panel69.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.panel69.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.panel69.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel69.Controls.Add(this.button198); @@ -10637,7 +10665,7 @@ this.dataGridView21.AllowUserToDeleteRows = false; this.dataGridView21.AllowUserToResizeColumns = false; this.dataGridView21.AllowUserToResizeRows = false; - this.dataGridView21.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.dataGridView21.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.dataGridView21.BackgroundColor = System.Drawing.Color.Azure; this.dataGridView21.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; @@ -11586,7 +11614,7 @@ // // textBox2 // - this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBox2.Location = new System.Drawing.Point(1, 20); this.textBox2.MaxLength = 100; @@ -11677,8 +11705,8 @@ // lblNovaSprava // this.lblNovaSprava.AllowDrop = true; - this.lblNovaSprava.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.lblNovaSprava.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.lblNovaSprava.BackColor = System.Drawing.Color.LightSalmon; this.lblNovaSprava.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); @@ -11704,8 +11732,8 @@ // label4 // this.label4.AllowDrop = true; - this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.label4.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.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label4.Location = new System.Drawing.Point(1, 1); @@ -11735,7 +11763,7 @@ // // lblZobrazenyPocet // - this.lblZobrazenyPocet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.lblZobrazenyPocet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblZobrazenyPocet.Font = new System.Drawing.Font("Calibri", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.lblZobrazenyPocet.Location = new System.Drawing.Point(1, 101); @@ -11747,7 +11775,7 @@ // // label23 // - this.label23.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.label23.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label23.Font = new System.Drawing.Font("Calibri", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.label23.Location = new System.Drawing.Point(1, 81); @@ -11840,7 +11868,7 @@ // // checkBox60 // - this.checkBox60.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.checkBox60.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.checkBox60.AutoSize = true; this.checkBox60.Location = new System.Drawing.Point(1, 131); @@ -12132,19 +12160,6 @@ this.label182.Text = "↗"; this.label182.Click += new System.EventHandler(this.label182_Click); // - // button202 - // - this.button202.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button202.BackColor = System.Drawing.Color.Coral; - this.button202.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.button202.Location = new System.Drawing.Point(742, 1); - this.button202.Name = "button202"; - this.button202.Size = new System.Drawing.Size(75, 59); - this.button202.TabIndex = 32; - this.button202.Text = "Zrušiť filtre"; - this.button202.UseVisualStyleBackColor = false; - this.button202.Click += new System.EventHandler(this.button202_Click); - // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -13303,6 +13318,7 @@ private System.Windows.Forms.Label label227; private System.Windows.Forms.TextBox textBox52; private System.Windows.Forms.Button button202; + private System.Windows.Forms.Button button203; } } diff --git a/Mip/frmMain.cs b/Mip/frmMain.cs index 814f2bf..c82e9c5 100644 --- a/Mip/frmMain.cs +++ b/Mip/frmMain.cs @@ -5065,14 +5065,13 @@ namespace Mip { if (panelPridatUdrzbu.Visible == false) panelPridatUdrzbu.Visible = true; else panelPridatUdrzbu.Visible = false; - - } private void panelPridatUdrzbu_Leave(object sender, EventArgs e) { comboBox6.DataSource = null; comboBox6.Enabled = false; + comboBox15.Enabled = false; label45.Enabled = false; panelPridatUdrzbu.Visible = false; comboBox5.Enabled = false; button79.Enabled = false; label44.Enabled = false; @@ -5089,6 +5088,7 @@ namespace Mip private void comboBox8_SelectedValueChanged(object sender, EventArgs e) { + comboBox6.DataSource = null; comboBox6.Items.Clear(); string cmd = "SELECT CONCAT (`Vyrobca`, ' - ', `ModelStroja`) AS `Stroj`, `IDStroj` FROM `mip`.tabstroje WHERE `Dielna` = '" + comboBox8.Text + "';"; DataTable tblStroje = new DataTable(); @@ -5159,6 +5159,7 @@ namespace Mip label43.Enabled = true; if (comboBox5.Text == "Plánovaná údržba") { + comboBox15.DataSource = null; comboBox15.Items.Clear(); string cmd = "select `popisPU`, `IDUdrzba` from `tabudrzba` where IDstroja =" + comboBox6.SelectedValue.ToString() + ";"; DataTable tblPU = new DataTable(); @@ -7414,7 +7415,7 @@ namespace Mip if (comboBox15.Text != "" & comboBox15.Enabled == true) { - strUdrzbaValue = comboBox15.SelectedValue.ToString() + ", "; + strUdrzbaValue = comboBox15.SelectedValue.ToString(); strUdrzbaTXT = " `IDUdrzba`,"; } else @@ -7423,40 +7424,48 @@ namespace Mip strUdrzbaTXT = ""; } + var strCenaValue = textBox21.Text == string.Empty ? "null" : $"'{textBox21.Text.Replace(",", ".")}'"; + string cmd; string format = "yyyy-MM-dd"; - cmd = @"INSERT INTO `mip`.`tabudrzbyaopravy` (`Datum`, `Operacia`," + strUdrzbaTXT + @" `IDStroja`, `NazovFirmy`, `CasZacatia`, `CasUkoncenia`, `Cena`, `Poznamka`, `CisloDokladu`) - VALUES ( DATE(NOW()), '" - + comboBox5.Text + "', " - + strUdrzbaValue - + comboBox6.SelectedValue.ToString() + ", '" - + comboBox7.Text + "', '" - + dateTimePicker5.Value.ToString(format) + " " + numericUpDown22.Value.ToString() + ":" + numericUpDown21.Value.ToString() + ":00', '" - + dateTimePicker2.Value.ToString(format) + " " + numericUpDown17.Value.ToString() + ":" + numericUpDown18.Value.ToString() + ":00', " - + textBox21.Text + ", '" - + textBox20.Text + "', '" - + textBox3.Text + "');"; + if (button70.Text == "Pridať opravu") + { + cmd = $@"INSERT INTO `mip`.`tabudrzbyaopravy` (`Datum`, `Operacia`,{strUdrzbaTXT} `IDStroja`, `NazovFirmy`, `CasZacatia`, `CasUkoncenia`, `Cena`, `Poznamka`, `CisloDokladu`) + VALUES ( DATE(NOW()), + '{comboBox5.Text}', + '{strUdrzbaValue}', + {comboBox6.SelectedValue.ToString()}, + '{comboBox7.Text}', + '{dateTimePicker5.Value.ToString(format)} {numericUpDown22.Value.ToString()}:{numericUpDown21.Value.ToString()}:00', + '{dateTimePicker2.Value.ToString(format)} {numericUpDown17.Value.ToString()}:{numericUpDown18.Value.ToString()}:00', + {strCenaValue}, + '{textBox20.Text}', + '{textBox3.Text}');"; - classSQL.SQL(cmd); - panelPridatUdrzbu.Visible = false; + classSQL.SQL(cmd); + panelPridatUdrzbu.Visible = false; + } + else + { + strUdrzbaTXT = strUdrzbaTXT == string.Empty ? string.Empty : strUdrzbaTXT.Replace(",", ""); - /* + cmd = $@"UPDATE `mip`.`tabudrzbyaopravy` SET + `Operacia` = '{comboBox5.Text}', + {strUdrzbaTXT} = '{strUdrzbaValue}', + `IDStroja` = {comboBox6.SelectedValue.ToString()}, + `NazovFirmy` = '{comboBox7.Text}', + `CasZacatia` = '{dateTimePicker5.Value.ToString(format)} {numericUpDown22.Value.ToString()}:{numericUpDown21.Value.ToString()}:00', + `CasUkoncenia` = '{dateTimePicker2.Value.ToString(format)} {numericUpDown17.Value.ToString()}:{numericUpDown18.Value.ToString()}:00', + `Cena` = {strCenaValue}, + `Poznamka` = '{textBox20.Text}', + `CisloDokladu` = '{textBox3.Text}' + WHERE `IDPUOPR` = {button70.Tag.ToString()};"; - INSERT INTO `mip`.`tabudrzbyaopravy` (`Datum`, `Operacia`, `IDStroja`, `NazovFirmy`, `CasZacatia`, `CasUkoncenia`, `Cena`, `Poznamka`, `CisloDokladu`) - VALUES ( DATE(NOW()), 'Plánovaná údržba', 4, 'Kompozitum', '2015-10-22 10:27:45', '2015-10-22 10:27:45', 100, 'aa', '1258f'); - - DateTime dt; - dt = DateTime.Now; - string format = "yyyy-MM-dd"; - - - string TypDopytu = "", StatusDopytu = "", PotvrdDatum = ""; - PotvrdDatum = dateTimePicker1.Value.ToString(format); - - - - */ + classSQL.SQL(cmd); + panelPridatUdrzbu.Visible = false; + } + refreshUdrzby(); } private void panelPridatUdrzbu_VisibleChanged(object sender, EventArgs e) @@ -7472,6 +7481,8 @@ namespace Mip comboBox6.Items.Clear(); comboBox5.Items.Clear(); comboBox7.Items.Clear(); + comboBox15.DataSource = null; + comboBox15.Items.Clear(); textBox21.Text = ""; textBox20.Text = ""; textBox3.Text = ""; @@ -7538,7 +7549,6 @@ namespace Mip button147.Text = "Zahájiť odstávku"; } else panel56.Visible = false; - } private void panel56_Leave(object sender, EventArgs e) @@ -7547,13 +7557,28 @@ namespace Mip } private void tabPage11_Enter_1(object sender, EventArgs e) + { + refreshUdrzby(); + } + + private void refreshUdrzby() { string cmd; DataTable tabUdrzby = new DataTable(); - cmd = "select * from `pohladudrzby`;"; + cmd = "select * from `pohladudrzby` ORDER BY `Datum` desc;"; classSQL.SQL(cmd, out tabUdrzby); dataGridView8.DataSource = tabUdrzby; + formatDGVUdrzby(); + } + + private void formatDGVUdrzby() + { + dataGridView8.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft; + dataGridView8.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.DisplayedCells; + dataGridView8.Columns["IDStroj"].Visible = false; + dataGridView8.Columns["IDUdrzba"].Visible = false; + dataGridView8.Columns["IDPUOPR"].Visible = false; } private void button148_Click(object sender, EventArgs e) @@ -7684,7 +7709,6 @@ namespace Mip panel56.Visible = false; MessageBox.Show("Odstávka je už ukončená!"); } - } private void button147_Click(object sender, EventArgs e) @@ -7731,7 +7755,7 @@ namespace Mip break; } panel56.Visible = false; - + refreshUdrzby(); } private void toolStripStatusLabel6_Click(object sender, EventArgs e) @@ -10385,5 +10409,85 @@ namespace Mip textBox52.Enabled = false; FilterQueue.Clear(); } + + private void button150_Click(object sender, EventArgs e) + { + if (dataGridView8.SelectedRows.Count == 1) + { + DateTime dtZacatie = Convert.ToDateTime(dataGridView8.SelectedRows[0].Cells["CasZacatia"].Value); + DateTime dtUkoncenie = Convert.ToDateTime(dataGridView8.SelectedRows[0].Cells["CasUkoncenia"].Value); + + var IdUdrzbaSelected = Convert.ToInt32(dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["IDUdrzba"].Value).ToString(); + + + panelPridatUdrzbu.Visible = true; + + comboBox8.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["Dielna"].Value.ToString(); + comboBox6.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["Stroj"].Value.ToString(); + comboBox5.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["Operacia"].Value.ToString(); + + comboBox15.SelectedValue = IdUdrzbaSelected; + comboBox7.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["NazovFirmy"].Value.ToString(); + dateTimePicker5.Value = dtZacatie.Date; + numericUpDown22.Value = dtZacatie.Hour; + numericUpDown21.Value = dtZacatie.Minute; + dateTimePicker2.Value = dtUkoncenie.Date; + numericUpDown17.Value = dtUkoncenie.Hour; + numericUpDown18.Value = dtUkoncenie.Minute; + textBox21.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["Cena"].Value.ToString(); + textBox20.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["Poznamka"].Value.ToString(); + textBox3.Text = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["CisloDokladu"].Value.ToString(); + button70.Tag = dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["IDPUOPR"].Value.ToString(); + button70.Text = "Uložiť záznam"; + } + + else + { + panel56.Visible = false; + MessageBox.Show("Musí byť vybraný presne jeden záznam na editáciu!"); + } + + refreshUdrzby(); + } + + private void button203_Click(object sender, EventArgs e) + { + if (dataGridView8.SelectedRows.Count == 1) + { + if (MessageBox.Show("Naozaj vymazať vybraný záznam údržby/opravy?", $"Vymazanie záznamu pre stroj : {dataGridView8.Rows[dataGridView8.SelectedRows[0].Index].Cells["Stroj"].Value.ToString()}", MessageBoxButtons.YesNo) == DialogResult.Yes) + { + string cmdDelete = $"DELETE FROM `mip`.`tabudrzbyaopravy` WHERE `IDPUOPR` = {dataGridView8.SelectedRows[0].Cells["IDPUOPR"].Value.ToString()};"; + classSQL.SQL(cmdDelete); + } + refreshUdrzby(); + } + else + { + panel56.Visible = false; + MessageBox.Show("Musí byť vybraný presne jeden záznam na editáciu!"); + } + } + + private void dataGridView8_SelectionChanged(object sender, EventArgs e) + { + if (dataGridView8.SelectedRows.Count == 1) + { + if (dataGridView8.SelectedRows[0].Cells["CasUkoncenia"].Value.ToString() == string.Empty) + { + button150.Enabled = false; + } + else + { + button150.Enabled = true; + } + } + } + + private void textBox21_KeyPress(object sender, KeyPressEventArgs e) + { + float floatResult; + if (e.KeyChar == '.') e.KeyChar = ','; + if (!(float.TryParse(textBox21.Text + e.KeyChar, out floatResult)) && (int)e.KeyChar != 8) e.KeyChar = '\0'; + } } }