From 0ea0415b2ebe01bcc39538bfea8c3540e72bb121 Mon Sep 17 00:00:00 2001 From: roman6791 Date: Tue, 6 Apr 2021 15:21:11 +0200 Subject: [PATCH] ziadanky - multifilter cast 2 --- .vs/Mip_v1/v16/.suo | Bin 159744 -> 182784 bytes Mip/classGlobal.cs | 2 +- Mip/frmMain.Designer.cs | 490 ++++++++++++++++++++++------------------ Mip/frmMain.cs | 127 +++++++++-- 4 files changed, 379 insertions(+), 240 deletions(-) diff --git a/.vs/Mip_v1/v16/.suo b/.vs/Mip_v1/v16/.suo index 3b87f2fe090ac3014268f7e090e2d181889b6ad6..de27a10cfcdc0a04f1645a39a814264de6a08e4f 100644 GIT binary patch delta 7095 zcmd^^4P4Y!y2t;|nE?hEa6ll`0VhBh5n&KSM9_iIP4RuvtVIOOm&_MLXv?=5pz_{I zbLMn8nwB;d-fQlbGseGL?(T?tTkmcenVC1eYNoBNU2k@AQ#0A$nHMA1cJJQ(?CtZp z_wVP+^PKnp|2)rm&N-v~RJi@A$c>gkObI*&MOgqf6kPA=>5;h_&`t=)qlJH;4xJ095Q* z1Zf7@zzD{HXi}7UkORR?Fatz^H1Hs}1N<6PgMPpQ(m@$W0DVBRqD=4&AYW$;GKPXU zFc_=?Rxk?u5Ig|#!4;4Ma>0Hu98`kYJSJqIZ85ZoK)&`=$lF0Y7!6851Q-tnrXMsJHsi_1FlkrtIwT2%ihEP60dF9LOLWl`COv?zqF=a+%Xx3Z|L_+1v2WnmZ~ zXi=H2MPE}uB=Ti?0`v-y0%Te~bD@7@YfR(K#vT)BER8K2NMlPG707?0S7+hKn~b#d zUs*>QTT1D(L1W9beBMM}U7-A(fc)Bmf)z+C0qcP@y)H12Y$Q!Dr8K>iZwHp_=j5o@ zIrUjuX<2U3C;F9%`dNuGN0P;`L_jvk0er9CJRJEwqmT$zlIbylbZJ1|5sIXv)K1F_yXr=+Tuq7Gx8|pV*y>hv3wp!dPA=~2lS0Vezg;l-}y?_ z(4A0T0zUz=(N7^?25xX0=nFhx4|tWoTX5T0*?ccjKLbApzW`pa4|IZ3kOgFK(*siK zBcQ(legI6;fR6eX_?g{CXROI%ies@nrSLhvpXJgB&!xgha+yQj1xDsETF!(xN2c+# z!fm}uoqf|hX|dZ#LvJh2=IoFfbgJW5N>^QOf9J^En z&Jsfv^nM!TyHUV zQTbo(i_JTT5%bXD9_o0Qx*02G{P%~h(>(RkI*RnUsTCh~lbdEgNXONOHqbh9onp@R z2k}l1wO5et2x#4(1!%dvLLeqc{z|4Pyo>0HUe@K@VE5;mA)4AP3iPMM0qJF19yOO zFcyphKLB@v@n8a|029GvAp4mDITcI;(*t>xkO4n-+&ff%lN&o58+&V>l%S z>@N7Hksp8g?yqzYTFR2fFEwTFzAH2w`q-xXR!>>>{@xkeEoFnwC;Y?cg%_`|H9Y0? zIBq{}?e~b?Qugc0=#!Q=vi4R(U%&cf&-BC&YYcz;^c~#z@fp`;<~qY%*O=>q*6r-3 zNnIFhkBo458i71f1)s%82la=c|2@D`xslf&I+lem?c0JJwYSk08PsT1}eg3I74C zUEY0H7B{7*^8I~sd1HE|R!*D0Al)7^7Q5pz(X62{+`{y2{YlTeGAyFAloCbN7>W}c z<4Gs-21hbB9?q*U?dpV0V*K9IPUf>aL>6Asu?QCqmuR zKod3X{Tb_6N%`9FWTXFrmaLYnr3xxZ#@CF)EG~uv&r=$3rD%ebm~q(}jM8sEm1+L= zr!HU<6s2ov2(1;lc1j&`AFh*4=waTs`dfj1%9UF5UW-`QfRXN1W(u2~PTu}qgDk;y zsTLKNsw=0S+m-bWm!G0cJYdNmBQqJg`U(ggE+#-tRG%DJXki- zSJsxnbmGEBGRNlSW#ta@H`a zcN5u#bqh56W(@r&x0;9g;JkKx@Hc_-Zyq33<4bfVp_hO2hzkkg+EmI^t?A?q6P6i& z?A?7kt`X@)l$l-7^>X)Jwv;RXXezjAGwPi}|ikn6SYa_rv#32tlZ7>$A>B zAZiZM6j?JwRKG|rVbZa9HNKP1lla`i;>CcsX{0*&Es7*+6}KOwhgCF4r8eKY-s&~K z&-dC+!qthHc=;eji>f0uGW>jwP!FSFh}MZ)v}%@r|6s6=?*!LoiVB5JakJ}edvpjQ-8AI>(46eAoU$H?Z%vUu@aCv8+m zCb2>itsl^ujt{Ao)aA+SNfOx^tVnD)O9pj9I?G_(aWq5hJcfNE_*sRtW4W0zvC+Z? zh-c4I-FJLtoczl2A`AYl${U_Hth_Kkf2dfV$+pI*@{s9!V!hX)4;9Hn*lB+3Xp)+g z&1O(Sg*i}eAMSNPHz8Rba5BAxeMaJ)A#9M4l?81lTZF7W0td7;irmlAMg3-cfOk9D zDQwm|zEa`XL^+Z9sN=7fCg>T;NYu!d_+e9CBUUK|_*t_IdVwOW1dkTdU@Kv0Qr*W4E-Kw!IkU(M@Gp!dt{bg?BbHsAXl$%_yHgcP5Fy zd^tvx6tOUJs29swAL9GQT2L$oUsWm{?IjgTiwU&N`<>LPC&toy%d_mKa| zlzPL0vv5?yxBo<|YU^01rtNvMO2-pRrm=ohBleZB)S#bo$5#VIeKaNDo|C2cy;K~I zr35zpCa2_vPc7=3^Vlw(+OU{al1&LuQIvx(k}`J+eqp~v$~DNbI9>l3`3La(V)0Xo zvh7i(9KZ$d(r%{wOow0CuQBB}rMP#LXq0`Bdu$rTg{x7W&?r#_NGEEQ1-N5n4Ad&o z3Ao!1*DB|6q%E4GRepy}X4nd?5`+GGdOWsIN=bOJFPXn zW8ddpzqMeIVQ(wIO7q&tVvx&GQR?wqSDie*;+sb>ulnX}R>Xo6xKyt;Ed0Oy!Th4z zBtBWfo=_VW;Y)+j=+91+`<#`y_fzWx-0F6oIGpkB$+wzDq^+I(i*+pyIj{2GD<6S_ zw)joNjWpt(jDLCf!9Ncn5)42-LW-$C;5-z{YrC>H~c#o)oHd~;U;2k}Q?IQ$3^)We=^FqjQ;}}f}_0v delta 6331 zcmds*33wDm7RUR&Oiq%Jo0v>+m_Ra+gGuBF34uvC1i3;uM8!Y|SJ-eE5^hKb5D!pb znoYsS?#d1rP!LH5)2t!}luty|a4ZXom`~AF;d6C2u!1YI|H@1dkq_PV*rVqAO}%eZ`O*R@g`{nuDKC@m>OQH+p%z*U#aCDjDV!4hr1cepboU_IHnB)B0e^~}YD zKT#sCsCI1uFQ9?Wi=0H>lcBj^>tKklkWa9nBp)9L@<9y<2KRzHKqn9bQbA|X9~=R{ z0=I(_FbV{L_Fx7m0Ea;sxD8lATaXL-fYu;EQSMSwAQXY#APq!-j$k3Mfh;frJP5jg z%ODPa+(uF4x=9GD1( z09ofzPwtC677PGGK@OM%#sXPSRg~dM0}6g%CYS|Y19LzOOjLwg**=|0K>r| z&<|9A=|I+5j$GO?@673UzH3LHaEj~UsVS{!fV>z$bb0LS_rvTf@3@tH$K$F0gZ7m} zDD67|Nc;ML7W>`< zjcf>GMbWH*(S{T$3=SL<-3dYxNCxulsh(Wh8)(Vyi9(h~k&V1B=RQv;x3rfz zEuaw!X>vtzUhT|2wW&tdj0s!)Ne=xJP|Jr?f9J(+t*CZZT(=tGUzZ$ z&8a8k72qN8Fc=LU0gr+1przj9kXM5>!0yp&1H#5uZ1)tN@#H&^%gN#dZ9q7X57~|U zIZy|5um?z6y?|U^-;4Z3un)Wh>cJEsugNskBPU;{gWBx+0~B`x6OfbREg)}*M;;9$ zG|F|oc9w-cltSD`P=D&FBCE-C!BhT1)*vr!_=mS^=faJSTGrG(m=$|Yk)w_sd)e_k z+at|RbNyLz>|@6P7UWNn&d8lc8XA3d>UMKh{)w?lM%%)eLb>lJQMauZFo_8t?aP+t*NIqy?z7}ZvT@b ziJLe)7{e3>uD=qFas-I-=-VKdi%-TuvL0rHVuTzAOdg%ow}YIZ6`l*vNrYqp9YG3^ zS6fml%2tmq4S71a19SmhK{s%RNUu&r+^Z&YiO@=7l6~(OljQiRJ7JpsMVc*Ow-5Ny= z^)D=$JtnN7kNPgRdUap+6a60}OT;%fpp*AxjvZ1wYn)IYBei-r8LI5q!PHgwTW+U8 zG*I5$C-mAaErKv<)cCJ?%J1xKqQS_~nwg`2$N=ALtcp6VKXyHP#i#I2eNw1wuL%k9D zCg=$h=xs0i;U>y+UOXH~I+c(s2(d-o0_x)9Z$vDKEmSe;*(!{a5e>NrpBf4gOw303 zRf5QK0!k&&U!PJ@OKvV7#k%jW+RoNUOLOIE*wTuWG9_7Q{LJM_7C9;<(O~gKCB-L6 zeV$T^8grCl)Go(EMxa#Uxku_|C>Hr?LiAor@A+cWvEcKEd`PTrTSmtS5tlMY9BobE z;*(|6M%W&t(O$hTjS%yfQey4NCicWf)X{nIbSu_YP4^RiD=4Emh}w!EiiIj;s``f! zPTi}~sBU6cAo&aR5mKAaInMcKAG+nLxN-VxPhDsu-nEmj_^Oa^)5ibBB=*@Ul=Bs# zhI74p?jN_ge64SpqtifXN_ia=|PWR3Th~DuqqR)~+X2sO!n5tG97I3EKuJ z)mS{;wupCxcEO-5#HW&Ud^PF^H`7J`+Q?oc4-tj#L&OQxmP_^uT}r=3gJwUX1Tm6ZMz!xe|?9%=J~jVVih- zJ)8|qW57G~1@No5km@C#i4%FWn#~lpK!zn@r^QzDV+}uk1 z8R}O;Hi>5j^ZVXEu|pAXD5}1C2$xb+g{kF@e)U@+=c3s6M$>K_#uq54W#%>?GsJ`2 zIIDZ}iQ&;D?h`{smHWi-XdCy5;p;f}iJ^_>#1P^+G5D40bGPxp>rV=L{W8kGwTpvw zDUK7PJ=^S@G`ZW3Eu1wgb$a29;>nXl{YZ?e`ZTLmqZmG8JFB!-r={%jzIK-U9ychC zJ;~|f>J|cEbTZIlkqmzte6W`iN3Uve4>4E9o zUN2b1XMF2oZ~*&(KJ%yYhdHEu<*?`z*6}H?Dru5ic}JWxZ|WWO9y@t<{9 diff --git a/Mip/classGlobal.cs b/Mip/classGlobal.cs index 3e2622b..a037578 100644 --- a/Mip/classGlobal.cs +++ b/Mip/classGlobal.cs @@ -508,7 +508,7 @@ namespace Mip { //IPaddress = "127.0.0.1"; - IPaddress = "192.168.1.11"; + IPaddress = "192.168.1.18"; pingReply = pingIP.Send(IPaddress); if (pingReply.Status.ToString() == "Success") { diff --git a/Mip/frmMain.Designer.cs b/Mip/frmMain.Designer.cs index c3c2764..0e22429 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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); - System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); - System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); - System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series(); - System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); - System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend(); - System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series(); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(1D, 9.5D); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(2D, 9.25D); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(3D, 8.84D); - System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4D, 8.67D); + 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); this.checkBox65 = new System.Windows.Forms.CheckBox(); this.checkBox66 = new System.Windows.Forms.CheckBox(); this.checkBox67 = new System.Windows.Forms.CheckBox(); @@ -742,6 +742,8 @@ this.dataGridView16 = new System.Windows.Forms.DataGridView(); this.label174 = new System.Windows.Forms.Label(); this.textBox38 = new System.Windows.Forms.TextBox(); + this.label227 = new System.Windows.Forms.Label(); + this.textBox52 = new System.Windows.Forms.TextBox(); this.tabPage20 = new System.Windows.Forms.TabPage(); this.panel69 = new System.Windows.Forms.Panel(); this.button198 = new System.Windows.Forms.Button(); @@ -900,6 +902,7 @@ 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(); @@ -1214,8 +1217,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); @@ -1267,7 +1270,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(1306, 519); + this.tabPage1.Size = new System.Drawing.Size(1706, 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"; @@ -1288,7 +1291,7 @@ // this.label19.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(898, 5); + this.label19.Location = new System.Drawing.Point(1298, 5); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(93, 13); this.label19.TabIndex = 28; @@ -1299,7 +1302,7 @@ this.textBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.textBox4.BackColor = System.Drawing.Color.LightGray; this.textBox4.Enabled = false; - this.textBox4.Location = new System.Drawing.Point(921, 24); + this.textBox4.Location = new System.Drawing.Point(1321, 24); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(236, 20); this.textBox4.TabIndex = 2; @@ -1320,7 +1323,7 @@ // numericUpDown1 // this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.numericUpDown1.Location = new System.Drawing.Point(1158, 2); + this.numericUpDown1.Location = new System.Drawing.Point(1558, 2); this.numericUpDown1.Maximum = new decimal(new int[] { 9999, 0, @@ -1344,7 +1347,7 @@ // lblStranka // this.lblStranka.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.lblStranka.Location = new System.Drawing.Point(1206, 3); + this.lblStranka.Location = new System.Drawing.Point(1606, 3); this.lblStranka.Name = "lblStranka"; this.lblStranka.Size = new System.Drawing.Size(95, 18); this.lblStranka.TabIndex = 1; @@ -1381,7 +1384,7 @@ this.panel7.Controls.Add(this.groupBox17); this.panel7.Controls.Add(this.groupBox3); this.panel7.Controls.Add(this.panel8); - this.panel7.Location = new System.Drawing.Point(1118, 45); + this.panel7.Location = new System.Drawing.Point(1518, 45); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(185, 386); this.panel7.TabIndex = 22; @@ -1703,7 +1706,7 @@ // button56 // this.button56.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button56.Location = new System.Drawing.Point(1158, 23); + this.button56.Location = new System.Drawing.Point(1558, 23); this.button56.Name = "button56"; this.button56.Size = new System.Drawing.Size(146, 22); this.button56.TabIndex = 21; @@ -1724,8 +1727,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; @@ -1743,7 +1746,7 @@ // this.splitContainer3.Panel2.Controls.Add(this.splitContainer4); this.splitContainer3.Panel2MinSize = 205; - this.splitContainer3.Size = new System.Drawing.Size(1302, 470); + this.splitContainer3.Size = new System.Drawing.Size(1702, 470); this.splitContainer3.SplitterDistance = 219; this.splitContainer3.TabIndex = 15; // @@ -1871,8 +1874,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); @@ -1882,14 +1885,14 @@ this.dataGridView1.ReadOnly = true; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue; - dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.Green; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Yellow; - this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle1; + 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; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView1.Size = new System.Drawing.Size(1298, 215); + this.dataGridView1.Size = new System.Drawing.Size(1698, 215); this.dataGridView1.TabIndex = 0; this.dataGridView1.Visible = false; this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); @@ -1902,8 +1905,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; @@ -1920,7 +1923,7 @@ // this.splitContainer4.Panel2.Controls.Add(this.dataGridView5); this.splitContainer4.Panel2MinSize = 109; - this.splitContainer4.Size = new System.Drawing.Size(1298, 246); + this.splitContainer4.Size = new System.Drawing.Size(1698, 246); this.splitContainer4.SplitterDistance = 88; this.splitContainer4.TabIndex = 0; // @@ -1929,8 +1932,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); @@ -1941,7 +1944,7 @@ this.dataGridView4.RowHeadersVisible = false; this.dataGridView4.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dataGridView4.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView4.Size = new System.Drawing.Size(1294, 84); + this.dataGridView4.Size = new System.Drawing.Size(1694, 84); this.dataGridView4.TabIndex = 9; this.dataGridView4.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView4_CellFormatting); this.dataGridView4.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView4_Paint); @@ -1951,8 +1954,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); @@ -1963,7 +1966,7 @@ this.dataGridView5.RowHeadersVisible = false; this.dataGridView5.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dataGridView5.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView5.Size = new System.Drawing.Size(1294, 149); + this.dataGridView5.Size = new System.Drawing.Size(1694, 149); this.dataGridView5.TabIndex = 10; this.dataGridView5.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView5_CellFormatting); this.dataGridView5.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView5_Paint); @@ -2006,7 +2009,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(1306, 519); + this.tabPage2.Size = new System.Drawing.Size(1506, 519); this.tabPage2.TabIndex = 13; this.tabPage2.Text = "Zoznam výrobkov"; this.tabPage2.UseVisualStyleBackColor = true; @@ -2162,8 +2165,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); @@ -2203,7 +2206,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(1306, 519); + this.tabPage3.Size = new System.Drawing.Size(1506, 519); this.tabPage3.TabIndex = 3; this.tabPage3.Text = "Výdaj materiálu"; this.tabPage3.UseVisualStyleBackColor = true; @@ -2461,17 +2464,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))); - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dGVVydajMat.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + 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; this.dGVVydajMat.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dGVVydajMat.Location = new System.Drawing.Point(1, 43); this.dGVVydajMat.MultiSelect = false; @@ -2509,7 +2512,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(1306, 519); + this.tabPage4.Size = new System.Drawing.Size(1506, 519); this.tabPage4.TabIndex = 4; this.tabPage4.Text = "Riadenie výroby"; this.tabPage4.UseVisualStyleBackColor = true; @@ -2833,8 +2836,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; @@ -2861,7 +2864,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(1306, 519); + this.tabPage5.Size = new System.Drawing.Size(1506, 519); this.tabPage5.TabIndex = 2; this.tabPage5.Text = "Skladové operácie"; this.tabPage5.UseVisualStyleBackColor = true; @@ -2893,7 +2896,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(1306, 519); + this.splitContainer1.Size = new System.Drawing.Size(1506, 519); this.splitContainer1.SplitterDistance = 254; this.splitContainer1.TabIndex = 0; // @@ -2917,7 +2920,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(1118, 23); + this.panel11.Location = new System.Drawing.Point(1318, 23); this.panel11.Name = "panel11"; this.panel11.Size = new System.Drawing.Size(185, 227); this.panel11.TabIndex = 24; @@ -3085,7 +3088,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(1207, 0); + this.button58.Location = new System.Drawing.Point(1407, 0); this.button58.Name = "button58"; this.button58.Size = new System.Drawing.Size(97, 23); this.button58.TabIndex = 23; @@ -3108,8 +3111,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; @@ -3118,7 +3121,7 @@ this.dGVSkladPrijem.ReadOnly = true; this.dGVSkladPrijem.RowHeadersVisible = false; this.dGVSkladPrijem.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVSkladPrijem.Size = new System.Drawing.Size(1302, 228); + this.dGVSkladPrijem.Size = new System.Drawing.Size(1502, 228); this.dGVSkladPrijem.TabIndex = 0; this.dGVSkladPrijem.Visible = false; this.dGVSkladPrijem.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladPrijem_CellDoubleClick); @@ -3154,7 +3157,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(1118, 23); + this.panel13.Location = new System.Drawing.Point(1318, 23); this.panel13.Name = "panel13"; this.panel13.Size = new System.Drawing.Size(185, 227); this.panel13.TabIndex = 24; @@ -3322,7 +3325,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(1207, 0); + this.button59.Location = new System.Drawing.Point(1407, 0); this.button59.Name = "button59"; this.button59.Size = new System.Drawing.Size(97, 23); this.button59.TabIndex = 23; @@ -3345,8 +3348,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; @@ -3355,7 +3358,7 @@ this.dGVSkladVydaj.ReadOnly = true; this.dGVSkladVydaj.RowHeadersVisible = false; this.dGVSkladVydaj.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVSkladVydaj.Size = new System.Drawing.Size(1302, 235); + this.dGVSkladVydaj.Size = new System.Drawing.Size(1502, 235); this.dGVSkladVydaj.TabIndex = 0; this.dGVSkladVydaj.Visible = false; this.dGVSkladVydaj.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladVydaj_CellDoubleClick); @@ -3377,7 +3380,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(1306, 519); + this.tabPage6.Size = new System.Drawing.Size(1506, 519); this.tabPage6.TabIndex = 5; this.tabPage6.Text = "Expedícia"; this.tabPage6.UseVisualStyleBackColor = true; @@ -3682,8 +3685,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); @@ -3715,7 +3718,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(1306, 519); + this.tabPage7.Size = new System.Drawing.Size(1506, 519); this.tabPage7.TabIndex = 6; this.tabPage7.Text = "Kategorizácia zmätkovitosti"; this.tabPage7.UseVisualStyleBackColor = true; @@ -3736,8 +3739,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); @@ -3863,7 +3866,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(1306, 519); + this.tabPage8.Size = new System.Drawing.Size(1506, 519); this.tabPage8.TabIndex = 14; this.tabPage8.Text = "Zmätkovitosť"; this.tabPage8.UseVisualStyleBackColor = true; @@ -3884,7 +3887,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); @@ -4172,7 +4175,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); @@ -4408,7 +4411,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; @@ -4422,7 +4425,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; @@ -4436,7 +4439,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; @@ -4450,7 +4453,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; @@ -4464,7 +4467,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; @@ -4478,7 +4481,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; @@ -4492,7 +4495,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; @@ -4506,7 +4509,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; @@ -4520,7 +4523,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; @@ -4534,7 +4537,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; @@ -4811,7 +4814,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; @@ -4824,7 +4827,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; @@ -4839,7 +4842,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; @@ -4854,7 +4857,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; @@ -4869,7 +4872,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; @@ -4887,8 +4890,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); @@ -4953,30 +4956,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))); - chartArea1.Area3DStyle.IsRightAngleAxes = false; - chartArea1.Area3DStyle.Perspective = 25; - chartArea1.Name = "ChartArea1"; - this.chart1.ChartAreas.Add(chartArea1); - legend1.DockedToChartArea = "ChartArea1"; - legend1.Name = "Legend1"; - this.chart1.Legends.Add(legend1); + 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); this.chart1.Location = new System.Drawing.Point(4, 4); this.chart1.Name = "chart1"; - series1.ChartArea = "ChartArea1"; - series1.Enabled = false; - series1.IsValueShownAsLabel = true; - series1.Legend = "Legend1"; - series1.Name = "Priemerná zmätkovitosť"; - series2.ChartArea = "ChartArea1"; - series2.Enabled = false; - series2.IsValueShownAsLabel = true; - series2.Legend = "Legend1"; - series2.Name = "Priemer zmätkovitostí"; - this.chart1.Series.Add(series1); - this.chart1.Series.Add(series2); + 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); this.chart1.Size = new System.Drawing.Size(838, 491); this.chart1.TabIndex = 0; this.chart1.Text = "chart1"; @@ -4994,7 +4997,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(1306, 519); + this.tabPage9.Size = new System.Drawing.Size(1506, 519); this.tabPage9.TabIndex = 12; this.tabPage9.Text = "Nastavenia"; this.tabPage9.UseVisualStyleBackColor = true; @@ -5013,8 +5016,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); @@ -5047,8 +5050,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); @@ -5126,8 +5129,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); @@ -5608,8 +5611,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; @@ -5633,7 +5636,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); @@ -5694,8 +5697,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); @@ -5714,7 +5717,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(1306, 519); + this.tabPage10.Size = new System.Drawing.Size(1506, 519); this.tabPage10.TabIndex = 15; this.tabPage10.Text = "Zoznam Strojov"; this.tabPage10.UseVisualStyleBackColor = true; @@ -5749,7 +5752,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(1306, 519); + this.splitContainer2.Size = new System.Drawing.Size(1506, 519); this.splitContainer2.SplitterDistance = 336; this.splitContainer2.TabIndex = 1; // @@ -5983,7 +5986,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(1116, 25); + this.panel21.Location = new System.Drawing.Point(1316, 25); this.panel21.Name = "panel21"; this.panel21.Size = new System.Drawing.Size(185, 190); this.panel21.TabIndex = 24; @@ -6075,7 +6078,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(1207, 0); + this.button67.Location = new System.Drawing.Point(1407, 0); this.button67.Name = "button67"; this.button67.Size = new System.Drawing.Size(97, 23); this.button67.TabIndex = 23; @@ -6098,8 +6101,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; @@ -6108,7 +6111,7 @@ this.dGVStroje.ReadOnly = true; this.dGVStroje.RowHeadersVisible = false; this.dGVStroje.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVStroje.Size = new System.Drawing.Size(1302, 310); + this.dGVStroje.Size = new System.Drawing.Size(1502, 310); this.dGVStroje.TabIndex = 0; this.dGVStroje.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVStroje_RowEnter); // @@ -6294,8 +6297,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; @@ -6304,7 +6307,7 @@ this.dGVPU.ReadOnly = true; this.dGVPU.RowHeadersVisible = false; this.dGVPU.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dGVPU.Size = new System.Drawing.Size(1302, 153); + this.dGVPU.Size = new System.Drawing.Size(1502, 153); this.dGVPU.TabIndex = 0; // // tabPage11 @@ -6321,7 +6324,7 @@ 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(1306, 519); + this.tabPage11.Size = new System.Drawing.Size(1506, 519); this.tabPage11.TabIndex = 16; this.tabPage11.Text = "Údržby a opravy"; this.tabPage11.UseVisualStyleBackColor = true; @@ -7127,8 +7130,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); @@ -7161,7 +7164,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(1306, 519); + this.tabPage12.Size = new System.Drawing.Size(1506, 519); this.tabPage12.TabIndex = 17; this.tabPage12.Text = "Naceňovanie"; this.tabPage12.UseVisualStyleBackColor = true; @@ -7231,8 +7234,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))); @@ -7243,7 +7246,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"; @@ -7255,7 +7258,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"; @@ -7482,8 +7485,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); @@ -7508,7 +7511,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(1306, 519); + this.tabPage13.Size = new System.Drawing.Size(1506, 519); this.tabPage13.TabIndex = 18; this.tabPage13.Text = "Vyhodnocovanie"; this.tabPage13.UseVisualStyleBackColor = true; @@ -7528,8 +7531,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); @@ -7550,7 +7553,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(1306, 519); + this.tabPage14.Size = new System.Drawing.Size(1506, 519); this.tabPage14.TabIndex = 19; this.tabPage14.Text = "Zoznam firiem"; this.tabPage14.UseVisualStyleBackColor = true; @@ -7558,7 +7561,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); @@ -7573,7 +7576,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); @@ -7650,8 +7653,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"; @@ -7665,8 +7668,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; @@ -7680,7 +7683,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); @@ -7724,7 +7727,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; @@ -7811,7 +7814,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); @@ -7849,7 +7852,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); @@ -7873,7 +7876,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); @@ -7888,7 +7891,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); @@ -7921,8 +7924,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; @@ -7951,7 +7954,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); @@ -7973,7 +7976,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(1306, 519); + this.tabPage15.Size = new System.Drawing.Size(1506, 519); this.tabPage15.TabIndex = 20; this.tabPage15.Text = "Nástroje"; this.tabPage15.UseVisualStyleBackColor = true; @@ -7981,7 +7984,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); @@ -8118,7 +8121,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); @@ -8369,8 +8372,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; @@ -8386,7 +8389,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); @@ -8712,22 +8715,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; - chartArea2.Name = "ChartArea1"; - this.chart2.ChartAreas.Add(chartArea2); + chartArea6.Name = "ChartArea1"; + this.chart2.ChartAreas.Add(chartArea6); this.chart2.Dock = System.Windows.Forms.DockStyle.Bottom; - legend2.Name = "Legend1"; - this.chart2.Legends.Add(legend2); + legend6.Name = "Legend1"; + this.chart2.Legends.Add(legend6); this.chart2.Location = new System.Drawing.Point(0, 287); this.chart2.Name = "chart2"; - series3.ChartArea = "ChartArea1"; - series3.IsValueShownAsLabel = true; - series3.Legend = "Legend1"; - series3.Name = "Rozmer"; - series3.Points.Add(dataPoint1); - series3.Points.Add(dataPoint2); - series3.Points.Add(dataPoint3); - series3.Points.Add(dataPoint4); - this.chart2.Series.Add(series3); + 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); this.chart2.Size = new System.Drawing.Size(407, 203); this.chart2.TabIndex = 2; this.chart2.Text = "chart2"; @@ -8766,7 +8769,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(1306, 519); + this.tabPage16.Size = new System.Drawing.Size(1506, 519); this.tabPage16.TabIndex = 21; this.tabPage16.Text = "Výkresy"; this.tabPage16.UseVisualStyleBackColor = true; @@ -8860,8 +8863,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); @@ -8906,7 +8909,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(1306, 519); + this.tabPage17.Size = new System.Drawing.Size(1506, 519); this.tabPage17.TabIndex = 22; this.tabPage17.Text = "Sklad"; this.tabPage17.UseVisualStyleBackColor = true; @@ -8930,7 +8933,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); @@ -9085,8 +9088,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); @@ -9125,7 +9128,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(1306, 519); + this.tabPage18.Size = new System.Drawing.Size(1506, 519); this.tabPage18.TabIndex = 23; this.tabPage18.Text = "Požiadavky/Pripomienky"; this.tabPage18.UseVisualStyleBackColor = true; @@ -9146,8 +9149,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; @@ -9354,8 +9357,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); @@ -9399,6 +9402,9 @@ this.panel59.Controls.Add(this.dataGridView16); this.panel59.Controls.Add(this.label174); this.panel59.Controls.Add(this.textBox38); + this.panel59.Controls.Add(this.label227); + this.panel59.Controls.Add(this.textBox52); + this.panel59.Controls.Add(this.button202); this.panel59.Dock = System.Windows.Forms.DockStyle.Fill; this.panel59.Location = new System.Drawing.Point(0, 0); this.panel59.Name = "panel59"; @@ -9441,7 +9447,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))); @@ -9456,7 +9462,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))); @@ -10005,8 +10011,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; @@ -10028,11 +10034,11 @@ // this.label174.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label174.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label174.Location = new System.Drawing.Point(908, 1); + this.label174.Location = new System.Drawing.Point(983, 1); this.label174.Name = "label174"; - this.label174.Size = new System.Drawing.Size(240, 19); + this.label174.Size = new System.Drawing.Size(165, 19); this.label174.TabIndex = 29; - this.label174.Text = "Stĺpec"; + this.label174.Text = "Stĺpec 2 nevybraný"; this.label174.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label174.TextChanged += new System.EventHandler(this.label174_TextChanged); // @@ -10042,18 +10048,42 @@ this.textBox38.BackColor = System.Drawing.Color.BlanchedAlmond; this.textBox38.Enabled = false; this.textBox38.Font = new System.Drawing.Font("Microsoft Sans Serif", 21F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.textBox38.Location = new System.Drawing.Point(908, 21); + this.textBox38.Location = new System.Drawing.Point(983, 21); this.textBox38.Name = "textBox38"; - this.textBox38.Size = new System.Drawing.Size(240, 39); + this.textBox38.Size = new System.Drawing.Size(165, 39); this.textBox38.TabIndex = 28; this.textBox38.TextChanged += new System.EventHandler(this.textBox38_TextChanged); // + // label227 + // + this.label227.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label227.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.label227.Location = new System.Drawing.Point(817, 1); + this.label227.Name = "label227"; + this.label227.Size = new System.Drawing.Size(165, 19); + this.label227.TabIndex = 31; + this.label227.Text = "Stĺpec 1 nevybraný"; + this.label227.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.label227.TextChanged += new System.EventHandler(this.label227_TextChanged); + // + // textBox52 + // + this.textBox52.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.textBox52.BackColor = System.Drawing.Color.BlanchedAlmond; + this.textBox52.Enabled = false; + this.textBox52.Font = new System.Drawing.Font("Microsoft Sans Serif", 21F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.textBox52.Location = new System.Drawing.Point(817, 21); + this.textBox52.Name = "textBox52"; + this.textBox52.Size = new System.Drawing.Size(165, 39); + this.textBox52.TabIndex = 30; + this.textBox52.TextChanged += new System.EventHandler(this.textBox52_TextChanged); + // // 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(1306, 519); + this.tabPage20.Size = new System.Drawing.Size(1506, 519); this.tabPage20.TabIndex = 25; this.tabPage20.Text = "Evidencia brúsených nástrojov"; this.tabPage20.UseVisualStyleBackColor = true; @@ -10061,8 +10091,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); @@ -10607,7 +10637,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; @@ -11556,7 +11586,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; @@ -11647,8 +11677,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))); @@ -11674,8 +11704,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); @@ -11705,7 +11735,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); @@ -11717,7 +11747,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); @@ -11810,7 +11840,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); @@ -12102,6 +12132,19 @@ 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); @@ -13257,6 +13300,9 @@ private System.Windows.Forms.Button button199; private System.Windows.Forms.Button button200; private System.Windows.Forms.Label labelVsetkyAleboMeskajuce; + private System.Windows.Forms.Label label227; + private System.Windows.Forms.TextBox textBox52; + private System.Windows.Forms.Button button202; } } diff --git a/Mip/frmMain.cs b/Mip/frmMain.cs index 8b2669f..814f2bf 100644 --- a/Mip/frmMain.cs +++ b/Mip/frmMain.cs @@ -28,6 +28,8 @@ namespace Mip public string SelectedZiadankaGridIds { get; private set; } public bool ReloadSelected { get; private set; } = true; + public Queue FilterQueue { get; private set; } = new Queue(2); + public frmMain() { InitializeComponent(); @@ -7073,8 +7075,8 @@ namespace Mip if (dataGridView16.SelectedRows.Count > 0) selectedIndex = Convert.ToInt32(dataGridView16.SelectedRows[0].Index); - string strTextBoxCondition = ""; - if (ZiadankyColorIndex > 0) strTextBoxCondition = " AND INSTR(`" + dataGridView16.Columns[ZiadankyColorIndex].Name + "`, '" + textBox38.Text + "')>0 "; + string strTextBoxCondition = $"{textBox52.Tag} {textBox38.Tag}"; + //if (ZiadankyColorIndex > 0) strTextBoxCondition = " AND INSTR(`" + dataGridView16.Columns[ZiadankyColorIndex].Name + "`, '" + textBox38.Text + "')>0 "; string sqlCommandZiadanky; string strCommandZiadankyWhere = "WHERE (`IDUser` = " + classUser.ID.ToString() + ")"; @@ -9254,25 +9256,26 @@ namespace Mip } - int ZiadankyColorIndex = -1; + private void dataGridView16_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e) { + var pocet = FilterQueue?.Count(); + var nazovStlpca = dataGridView16.Columns[e.ColumnIndex].Name.ToString(); - if (ZiadankyColorIndex != -1) + if (!FilterQueue.Contains(nazovStlpca)) { - ZiadankyColorIndex = -1; - textBox38.Text = ""; - label174.Text = "Stĺpec nevybraný"; - textBox38.Enabled = false; + if (pocet < 2) + { + FilterQueue.Enqueue(nazovStlpca); + } + else + { + FilterQueue.Dequeue(); + FilterQueue.Enqueue(nazovStlpca); + } + ConfigureFilters(pocet.Value); + refreshZiadanky(); } - else - { - ZiadankyColorIndex = e.ColumnIndex; - textBox38.Text = ""; - label174.Text = dataGridView16.Columns[e.ColumnIndex].Name.ToString(); - textBox38.Enabled = true; - } - /* if(NacenovanieColorIndex != e.ColumnIndex && NacenovanieColorIndex != -1) dataGridView7.Columns[NacenovanieColorIndex].DefaultCellStyle.BackColor = Color.Empty; @@ -9293,15 +9296,74 @@ namespace Mip */ } + private void ConfigureFilters(int pocet) + { + var queueList = FilterQueue.ToArray(); + var first = string.Empty; + var second = string.Empty; + + switch (queueList.Length) + { + case 1: + first = queueList[0] == string.Empty ? string.Empty : queueList[0].ToString(); + break; + case 2: + first = queueList[0] == string.Empty ? string.Empty : queueList[0].ToString(); + second = queueList[1] == string.Empty ? string.Empty : queueList[1].ToString(); + break; + case 0: + default: + break; + } + + if (first == string.Empty) + { + label174.Text = "Stĺpec 1 nevybraný"; + textBox38.Text = ""; + textBox38.Enabled = false; + //textBox38.Tag = string.Empty; + } + else + { + label174.Text = first; + if (pocet > 1) textBox38.Text = textBox52.Text; + textBox38.Enabled = true; + //textBox38.Tag = $" AND INSTR(`{first}`, '{textBox38.Text}')>0 "; + } + + if (second == string.Empty) + { + label227.Text = "Stĺpec 2 nevybraný"; + textBox52.Text = ""; + textBox52.Enabled = false; + //textBox52.Tag = $" AND INSTR(`{second}`, '{textBox52.Text}')>0 "; + } + else + { + label227.Text = second; + textBox52.Text = ""; + textBox52.Enabled = true; + } + } + private void textBox38_TextChanged(object sender, EventArgs e) { + if (textBox38.Text == string.Empty) + { + textBox38.Tag = string.Empty; + } + else + { + textBox38.Tag = $" AND INSTR(`{label174.Text}`, '{textBox38.Text}')>0 "; + } + refreshZiadanky(); } private void label174_TextChanged(object sender, EventArgs e) { - if (label174.Text == "Stĺpec nevybraný" || label174.Text == "Stĺpec") label174.BackColor = Color.Empty; + if (label174.Text.Contains("Stĺpec")) label174.BackColor = Color.Empty; else label174.BackColor = Color.Coral; } @@ -10292,5 +10354,36 @@ namespace Mip SelectedZiadankaGridIds = String.Join(", ", grigIds); } } + + private void textBox52_TextChanged(object sender, EventArgs e) + { + if (textBox52.Text == string.Empty) + { + textBox52.Tag = string.Empty; + } + else + { + textBox52.Tag = $" AND INSTR(`{label227.Text}`, '{textBox52.Text}')>0 "; + } + + refreshZiadanky(); + } + + private void label227_TextChanged(object sender, EventArgs e) + { + if (label227.Text.Contains("Stĺpec")) label227.BackColor = Color.Empty; + else label227.BackColor = Color.Coral; + } + + private void button202_Click(object sender, EventArgs e) + { + label174.Text = "Stĺpec 1 nevybraný"; + label227.Text = "Stĺpec 2 nevybraný"; + textBox38.Text = ""; + textBox38.Enabled = false; + textBox52.Text = ""; + textBox52.Enabled = false; + FilterQueue.Clear(); + } } }