ziadanky - multifilter cast 2
This commit is contained in:
Binary file not shown.
@@ -508,7 +508,7 @@ namespace Mip
|
|||||||
{
|
{
|
||||||
|
|
||||||
//IPaddress = "127.0.0.1";
|
//IPaddress = "127.0.0.1";
|
||||||
IPaddress = "192.168.1.11";
|
IPaddress = "192.168.1.18";
|
||||||
pingReply = pingIP.Send(IPaddress);
|
pingReply = pingIP.Send(IPaddress);
|
||||||
if (pingReply.Status.ToString() == "Success")
|
if (pingReply.Status.ToString() == "Success")
|
||||||
{
|
{
|
||||||
|
|||||||
258
Mip/frmMain.Designer.cs
generated
258
Mip/frmMain.Designer.cs
generated
@@ -29,19 +29,19 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea5 = 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.Legend legend5 = 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 series7 = 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.Series series8 = 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.ChartArea chartArea6 = 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.Legend legend6 = 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.Series series9 = 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 dataPoint9 = 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 dataPoint10 = 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 dataPoint11 = 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.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(4D, 8.67D);
|
||||||
this.checkBox65 = new System.Windows.Forms.CheckBox();
|
this.checkBox65 = new System.Windows.Forms.CheckBox();
|
||||||
this.checkBox66 = new System.Windows.Forms.CheckBox();
|
this.checkBox66 = new System.Windows.Forms.CheckBox();
|
||||||
this.checkBox67 = new System.Windows.Forms.CheckBox();
|
this.checkBox67 = new System.Windows.Forms.CheckBox();
|
||||||
@@ -742,6 +742,8 @@
|
|||||||
this.dataGridView16 = new System.Windows.Forms.DataGridView();
|
this.dataGridView16 = new System.Windows.Forms.DataGridView();
|
||||||
this.label174 = new System.Windows.Forms.Label();
|
this.label174 = new System.Windows.Forms.Label();
|
||||||
this.textBox38 = new System.Windows.Forms.TextBox();
|
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.tabPage20 = new System.Windows.Forms.TabPage();
|
||||||
this.panel69 = new System.Windows.Forms.Panel();
|
this.panel69 = new System.Windows.Forms.Panel();
|
||||||
this.button198 = new System.Windows.Forms.Button();
|
this.button198 = new System.Windows.Forms.Button();
|
||||||
@@ -900,6 +902,7 @@
|
|||||||
this.pictureBox4 = new System.Windows.Forms.PictureBox();
|
this.pictureBox4 = new System.Windows.Forms.PictureBox();
|
||||||
this.label175 = new System.Windows.Forms.Label();
|
this.label175 = new System.Windows.Forms.Label();
|
||||||
this.label182 = new System.Windows.Forms.Label();
|
this.label182 = new System.Windows.Forms.Label();
|
||||||
|
this.button202 = new System.Windows.Forms.Button();
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.tabPage1.SuspendLayout();
|
this.tabPage1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||||
@@ -1267,7 +1270,7 @@
|
|||||||
this.tabPage1.Margin = new System.Windows.Forms.Padding(1);
|
this.tabPage1.Margin = new System.Windows.Forms.Padding(1);
|
||||||
this.tabPage1.Name = "tabPage1";
|
this.tabPage1.Name = "tabPage1";
|
||||||
this.tabPage1.Padding = new System.Windows.Forms.Padding(2);
|
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.TabIndex = 0;
|
||||||
this.tabPage1.Text = "Dopyty";
|
this.tabPage1.Text = "Dopyty";
|
||||||
this.tabPage1.ToolTipText = "Práca so všetkými cenovými ponukami, objednávkami a kontraktmi";
|
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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.label19.AutoSize = true;
|
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.Name = "label19";
|
||||||
this.label19.Size = new System.Drawing.Size(93, 13);
|
this.label19.Size = new System.Drawing.Size(93, 13);
|
||||||
this.label19.TabIndex = 28;
|
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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.textBox4.BackColor = System.Drawing.Color.LightGray;
|
this.textBox4.BackColor = System.Drawing.Color.LightGray;
|
||||||
this.textBox4.Enabled = false;
|
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.Name = "textBox4";
|
||||||
this.textBox4.Size = new System.Drawing.Size(236, 20);
|
this.textBox4.Size = new System.Drawing.Size(236, 20);
|
||||||
this.textBox4.TabIndex = 2;
|
this.textBox4.TabIndex = 2;
|
||||||
@@ -1320,7 +1323,7 @@
|
|||||||
// numericUpDown1
|
// numericUpDown1
|
||||||
//
|
//
|
||||||
this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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[] {
|
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||||
9999,
|
9999,
|
||||||
0,
|
0,
|
||||||
@@ -1344,7 +1347,7 @@
|
|||||||
// lblStranka
|
// lblStranka
|
||||||
//
|
//
|
||||||
this.lblStranka.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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.Name = "lblStranka";
|
||||||
this.lblStranka.Size = new System.Drawing.Size(95, 18);
|
this.lblStranka.Size = new System.Drawing.Size(95, 18);
|
||||||
this.lblStranka.TabIndex = 1;
|
this.lblStranka.TabIndex = 1;
|
||||||
@@ -1381,7 +1384,7 @@
|
|||||||
this.panel7.Controls.Add(this.groupBox17);
|
this.panel7.Controls.Add(this.groupBox17);
|
||||||
this.panel7.Controls.Add(this.groupBox3);
|
this.panel7.Controls.Add(this.groupBox3);
|
||||||
this.panel7.Controls.Add(this.panel8);
|
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.Name = "panel7";
|
||||||
this.panel7.Size = new System.Drawing.Size(185, 386);
|
this.panel7.Size = new System.Drawing.Size(185, 386);
|
||||||
this.panel7.TabIndex = 22;
|
this.panel7.TabIndex = 22;
|
||||||
@@ -1703,7 +1706,7 @@
|
|||||||
// button56
|
// button56
|
||||||
//
|
//
|
||||||
this.button56.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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.Name = "button56";
|
||||||
this.button56.Size = new System.Drawing.Size(146, 22);
|
this.button56.Size = new System.Drawing.Size(146, 22);
|
||||||
this.button56.TabIndex = 21;
|
this.button56.TabIndex = 21;
|
||||||
@@ -1743,7 +1746,7 @@
|
|||||||
//
|
//
|
||||||
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
|
||||||
this.splitContainer3.Panel2MinSize = 205;
|
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.SplitterDistance = 219;
|
||||||
this.splitContainer3.TabIndex = 15;
|
this.splitContainer3.TabIndex = 15;
|
||||||
//
|
//
|
||||||
@@ -1882,14 +1885,14 @@
|
|||||||
this.dataGridView1.ReadOnly = true;
|
this.dataGridView1.ReadOnly = true;
|
||||||
this.dataGridView1.RowHeadersVisible = false;
|
this.dataGridView1.RowHeadersVisible = false;
|
||||||
this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
||||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.AliceBlue;
|
dataGridViewCellStyle5.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)));
|
dataGridViewCellStyle5.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;
|
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
|
||||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.Green;
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.Green;
|
||||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Yellow;
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Yellow;
|
||||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle1;
|
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle5;
|
||||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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.TabIndex = 0;
|
||||||
this.dataGridView1.Visible = false;
|
this.dataGridView1.Visible = false;
|
||||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||||
@@ -1920,7 +1923,7 @@
|
|||||||
//
|
//
|
||||||
this.splitContainer4.Panel2.Controls.Add(this.dataGridView5);
|
this.splitContainer4.Panel2.Controls.Add(this.dataGridView5);
|
||||||
this.splitContainer4.Panel2MinSize = 109;
|
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.SplitterDistance = 88;
|
||||||
this.splitContainer4.TabIndex = 0;
|
this.splitContainer4.TabIndex = 0;
|
||||||
//
|
//
|
||||||
@@ -1941,7 +1944,7 @@
|
|||||||
this.dataGridView4.RowHeadersVisible = false;
|
this.dataGridView4.RowHeadersVisible = false;
|
||||||
this.dataGridView4.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
this.dataGridView4.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
||||||
this.dataGridView4.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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.TabIndex = 9;
|
||||||
this.dataGridView4.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView4_CellFormatting);
|
this.dataGridView4.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView4_CellFormatting);
|
||||||
this.dataGridView4.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView4_Paint);
|
this.dataGridView4.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView4_Paint);
|
||||||
@@ -1963,7 +1966,7 @@
|
|||||||
this.dataGridView5.RowHeadersVisible = false;
|
this.dataGridView5.RowHeadersVisible = false;
|
||||||
this.dataGridView5.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
this.dataGridView5.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
||||||
this.dataGridView5.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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.TabIndex = 10;
|
||||||
this.dataGridView5.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView5_CellFormatting);
|
this.dataGridView5.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView5_CellFormatting);
|
||||||
this.dataGridView5.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView5_Paint);
|
this.dataGridView5.Paint += new System.Windows.Forms.PaintEventHandler(this.dataGridView5_Paint);
|
||||||
@@ -2006,7 +2009,7 @@
|
|||||||
this.tabPage2.Controls.Add(this.panel10);
|
this.tabPage2.Controls.Add(this.panel10);
|
||||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage2.Name = "tabPage2";
|
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.TabIndex = 13;
|
||||||
this.tabPage2.Text = "Zoznam výrobkov";
|
this.tabPage2.Text = "Zoznam výrobkov";
|
||||||
this.tabPage2.UseVisualStyleBackColor = true;
|
this.tabPage2.UseVisualStyleBackColor = true;
|
||||||
@@ -2203,7 +2206,7 @@
|
|||||||
this.tabPage3.Controls.Add(this.dGVVydajMat);
|
this.tabPage3.Controls.Add(this.dGVVydajMat);
|
||||||
this.tabPage3.Location = new System.Drawing.Point(4, 22);
|
this.tabPage3.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage3.Name = "tabPage3";
|
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.TabIndex = 3;
|
||||||
this.tabPage3.Text = "Výdaj materiálu";
|
this.tabPage3.Text = "Výdaj materiálu";
|
||||||
this.tabPage3.UseVisualStyleBackColor = true;
|
this.tabPage3.UseVisualStyleBackColor = true;
|
||||||
@@ -2464,14 +2467,14 @@
|
|||||||
this.dGVVydajMat.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
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.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
dataGridViewCellStyle6.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)));
|
dataGridViewCellStyle6.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;
|
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.dGVVydajMat.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
this.dGVVydajMat.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
||||||
this.dGVVydajMat.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.dGVVydajMat.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.dGVVydajMat.Location = new System.Drawing.Point(1, 43);
|
this.dGVVydajMat.Location = new System.Drawing.Point(1, 43);
|
||||||
this.dGVVydajMat.MultiSelect = false;
|
this.dGVVydajMat.MultiSelect = false;
|
||||||
@@ -2509,7 +2512,7 @@
|
|||||||
this.tabPage4.Controls.Add(this.dGVRV);
|
this.tabPage4.Controls.Add(this.dGVRV);
|
||||||
this.tabPage4.Location = new System.Drawing.Point(4, 22);
|
this.tabPage4.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage4.Name = "tabPage4";
|
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.TabIndex = 4;
|
||||||
this.tabPage4.Text = "Riadenie výroby";
|
this.tabPage4.Text = "Riadenie výroby";
|
||||||
this.tabPage4.UseVisualStyleBackColor = true;
|
this.tabPage4.UseVisualStyleBackColor = true;
|
||||||
@@ -2861,7 +2864,7 @@
|
|||||||
this.tabPage5.Controls.Add(this.splitContainer1);
|
this.tabPage5.Controls.Add(this.splitContainer1);
|
||||||
this.tabPage5.Location = new System.Drawing.Point(4, 22);
|
this.tabPage5.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage5.Name = "tabPage5";
|
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.TabIndex = 2;
|
||||||
this.tabPage5.Text = "Skladové operácie";
|
this.tabPage5.Text = "Skladové operácie";
|
||||||
this.tabPage5.UseVisualStyleBackColor = true;
|
this.tabPage5.UseVisualStyleBackColor = true;
|
||||||
@@ -2893,7 +2896,7 @@
|
|||||||
this.splitContainer1.Panel2.Controls.Add(this.button59);
|
this.splitContainer1.Panel2.Controls.Add(this.button59);
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.btnPridajInvVydaj);
|
this.splitContainer1.Panel2.Controls.Add(this.btnPridajInvVydaj);
|
||||||
this.splitContainer1.Panel2.Controls.Add(this.dGVSkladVydaj);
|
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.SplitterDistance = 254;
|
||||||
this.splitContainer1.TabIndex = 0;
|
this.splitContainer1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
@@ -2917,7 +2920,7 @@
|
|||||||
this.panel11.Controls.Add(this.groupBox8);
|
this.panel11.Controls.Add(this.groupBox8);
|
||||||
this.panel11.Controls.Add(this.groupBox9);
|
this.panel11.Controls.Add(this.groupBox9);
|
||||||
this.panel11.Controls.Add(this.groupBox10);
|
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.Name = "panel11";
|
||||||
this.panel11.Size = new System.Drawing.Size(185, 227);
|
this.panel11.Size = new System.Drawing.Size(185, 227);
|
||||||
this.panel11.TabIndex = 24;
|
this.panel11.TabIndex = 24;
|
||||||
@@ -3085,7 +3088,7 @@
|
|||||||
// button58
|
// button58
|
||||||
//
|
//
|
||||||
this.button58.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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.Name = "button58";
|
||||||
this.button58.Size = new System.Drawing.Size(97, 23);
|
this.button58.Size = new System.Drawing.Size(97, 23);
|
||||||
this.button58.TabIndex = 23;
|
this.button58.TabIndex = 23;
|
||||||
@@ -3118,7 +3121,7 @@
|
|||||||
this.dGVSkladPrijem.ReadOnly = true;
|
this.dGVSkladPrijem.ReadOnly = true;
|
||||||
this.dGVSkladPrijem.RowHeadersVisible = false;
|
this.dGVSkladPrijem.RowHeadersVisible = false;
|
||||||
this.dGVSkladPrijem.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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.TabIndex = 0;
|
||||||
this.dGVSkladPrijem.Visible = false;
|
this.dGVSkladPrijem.Visible = false;
|
||||||
this.dGVSkladPrijem.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladPrijem_CellDoubleClick);
|
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.panel14);
|
||||||
this.panel13.Controls.Add(this.groupBox11);
|
this.panel13.Controls.Add(this.groupBox11);
|
||||||
this.panel13.Controls.Add(this.groupBox13);
|
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.Name = "panel13";
|
||||||
this.panel13.Size = new System.Drawing.Size(185, 227);
|
this.panel13.Size = new System.Drawing.Size(185, 227);
|
||||||
this.panel13.TabIndex = 24;
|
this.panel13.TabIndex = 24;
|
||||||
@@ -3322,7 +3325,7 @@
|
|||||||
// button59
|
// button59
|
||||||
//
|
//
|
||||||
this.button59.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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.Name = "button59";
|
||||||
this.button59.Size = new System.Drawing.Size(97, 23);
|
this.button59.Size = new System.Drawing.Size(97, 23);
|
||||||
this.button59.TabIndex = 23;
|
this.button59.TabIndex = 23;
|
||||||
@@ -3355,7 +3358,7 @@
|
|||||||
this.dGVSkladVydaj.ReadOnly = true;
|
this.dGVSkladVydaj.ReadOnly = true;
|
||||||
this.dGVSkladVydaj.RowHeadersVisible = false;
|
this.dGVSkladVydaj.RowHeadersVisible = false;
|
||||||
this.dGVSkladVydaj.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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.TabIndex = 0;
|
||||||
this.dGVSkladVydaj.Visible = false;
|
this.dGVSkladVydaj.Visible = false;
|
||||||
this.dGVSkladVydaj.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladVydaj_CellDoubleClick);
|
this.dGVSkladVydaj.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVSkladVydaj_CellDoubleClick);
|
||||||
@@ -3377,7 +3380,7 @@
|
|||||||
this.tabPage6.Controls.Add(this.dGVExpedicia);
|
this.tabPage6.Controls.Add(this.dGVExpedicia);
|
||||||
this.tabPage6.Location = new System.Drawing.Point(4, 22);
|
this.tabPage6.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage6.Name = "tabPage6";
|
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.TabIndex = 5;
|
||||||
this.tabPage6.Text = "Expedícia";
|
this.tabPage6.Text = "Expedícia";
|
||||||
this.tabPage6.UseVisualStyleBackColor = true;
|
this.tabPage6.UseVisualStyleBackColor = true;
|
||||||
@@ -3715,7 +3718,7 @@
|
|||||||
this.tabPage7.Controls.Add(this.panel24);
|
this.tabPage7.Controls.Add(this.panel24);
|
||||||
this.tabPage7.Location = new System.Drawing.Point(4, 22);
|
this.tabPage7.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage7.Name = "tabPage7";
|
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.TabIndex = 6;
|
||||||
this.tabPage7.Text = "Kategorizácia zmätkovitosti";
|
this.tabPage7.Text = "Kategorizácia zmätkovitosti";
|
||||||
this.tabPage7.UseVisualStyleBackColor = true;
|
this.tabPage7.UseVisualStyleBackColor = true;
|
||||||
@@ -3863,7 +3866,7 @@
|
|||||||
this.tabPage8.Controls.Add(this.chart1);
|
this.tabPage8.Controls.Add(this.chart1);
|
||||||
this.tabPage8.Location = new System.Drawing.Point(4, 22);
|
this.tabPage8.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage8.Name = "tabPage8";
|
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.TabIndex = 14;
|
||||||
this.tabPage8.Text = "Zmätkovitosť";
|
this.tabPage8.Text = "Zmätkovitosť";
|
||||||
this.tabPage8.UseVisualStyleBackColor = true;
|
this.tabPage8.UseVisualStyleBackColor = true;
|
||||||
@@ -4956,27 +4959,27 @@
|
|||||||
this.chart1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
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.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
chartArea1.Area3DStyle.IsRightAngleAxes = false;
|
chartArea5.Area3DStyle.IsRightAngleAxes = false;
|
||||||
chartArea1.Area3DStyle.Perspective = 25;
|
chartArea5.Area3DStyle.Perspective = 25;
|
||||||
chartArea1.Name = "ChartArea1";
|
chartArea5.Name = "ChartArea1";
|
||||||
this.chart1.ChartAreas.Add(chartArea1);
|
this.chart1.ChartAreas.Add(chartArea5);
|
||||||
legend1.DockedToChartArea = "ChartArea1";
|
legend5.DockedToChartArea = "ChartArea1";
|
||||||
legend1.Name = "Legend1";
|
legend5.Name = "Legend1";
|
||||||
this.chart1.Legends.Add(legend1);
|
this.chart1.Legends.Add(legend5);
|
||||||
this.chart1.Location = new System.Drawing.Point(4, 4);
|
this.chart1.Location = new System.Drawing.Point(4, 4);
|
||||||
this.chart1.Name = "chart1";
|
this.chart1.Name = "chart1";
|
||||||
series1.ChartArea = "ChartArea1";
|
series7.ChartArea = "ChartArea1";
|
||||||
series1.Enabled = false;
|
series7.Enabled = false;
|
||||||
series1.IsValueShownAsLabel = true;
|
series7.IsValueShownAsLabel = true;
|
||||||
series1.Legend = "Legend1";
|
series7.Legend = "Legend1";
|
||||||
series1.Name = "Priemerná zmätkovitosť";
|
series7.Name = "Priemerná zmätkovitosť";
|
||||||
series2.ChartArea = "ChartArea1";
|
series8.ChartArea = "ChartArea1";
|
||||||
series2.Enabled = false;
|
series8.Enabled = false;
|
||||||
series2.IsValueShownAsLabel = true;
|
series8.IsValueShownAsLabel = true;
|
||||||
series2.Legend = "Legend1";
|
series8.Legend = "Legend1";
|
||||||
series2.Name = "Priemer zmätkovitostí";
|
series8.Name = "Priemer zmätkovitostí";
|
||||||
this.chart1.Series.Add(series1);
|
this.chart1.Series.Add(series7);
|
||||||
this.chart1.Series.Add(series2);
|
this.chart1.Series.Add(series8);
|
||||||
this.chart1.Size = new System.Drawing.Size(838, 491);
|
this.chart1.Size = new System.Drawing.Size(838, 491);
|
||||||
this.chart1.TabIndex = 0;
|
this.chart1.TabIndex = 0;
|
||||||
this.chart1.Text = "chart1";
|
this.chart1.Text = "chart1";
|
||||||
@@ -4994,7 +4997,7 @@
|
|||||||
this.tabPage9.Controls.Add(this.grboxFormulare);
|
this.tabPage9.Controls.Add(this.grboxFormulare);
|
||||||
this.tabPage9.Location = new System.Drawing.Point(4, 22);
|
this.tabPage9.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage9.Name = "tabPage9";
|
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.TabIndex = 12;
|
||||||
this.tabPage9.Text = "Nastavenia";
|
this.tabPage9.Text = "Nastavenia";
|
||||||
this.tabPage9.UseVisualStyleBackColor = true;
|
this.tabPage9.UseVisualStyleBackColor = true;
|
||||||
@@ -5714,7 +5717,7 @@
|
|||||||
this.tabPage10.Controls.Add(this.splitContainer2);
|
this.tabPage10.Controls.Add(this.splitContainer2);
|
||||||
this.tabPage10.Location = new System.Drawing.Point(4, 22);
|
this.tabPage10.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage10.Name = "tabPage10";
|
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.TabIndex = 15;
|
||||||
this.tabPage10.Text = "Zoznam Strojov";
|
this.tabPage10.Text = "Zoznam Strojov";
|
||||||
this.tabPage10.UseVisualStyleBackColor = true;
|
this.tabPage10.UseVisualStyleBackColor = true;
|
||||||
@@ -5749,7 +5752,7 @@
|
|||||||
this.splitContainer2.Panel2.Controls.Add(this.button69);
|
this.splitContainer2.Panel2.Controls.Add(this.button69);
|
||||||
this.splitContainer2.Panel2.Controls.Add(this.button71);
|
this.splitContainer2.Panel2.Controls.Add(this.button71);
|
||||||
this.splitContainer2.Panel2.Controls.Add(this.dGVPU);
|
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.SplitterDistance = 336;
|
||||||
this.splitContainer2.TabIndex = 1;
|
this.splitContainer2.TabIndex = 1;
|
||||||
//
|
//
|
||||||
@@ -5983,7 +5986,7 @@
|
|||||||
this.panel21.Controls.Add(this.panel22);
|
this.panel21.Controls.Add(this.panel22);
|
||||||
this.panel21.Controls.Add(this.groupBox27);
|
this.panel21.Controls.Add(this.groupBox27);
|
||||||
this.panel21.Controls.Add(this.groupBox29);
|
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.Name = "panel21";
|
||||||
this.panel21.Size = new System.Drawing.Size(185, 190);
|
this.panel21.Size = new System.Drawing.Size(185, 190);
|
||||||
this.panel21.TabIndex = 24;
|
this.panel21.TabIndex = 24;
|
||||||
@@ -6075,7 +6078,7 @@
|
|||||||
// button67
|
// button67
|
||||||
//
|
//
|
||||||
this.button67.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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.Name = "button67";
|
||||||
this.button67.Size = new System.Drawing.Size(97, 23);
|
this.button67.Size = new System.Drawing.Size(97, 23);
|
||||||
this.button67.TabIndex = 23;
|
this.button67.TabIndex = 23;
|
||||||
@@ -6108,7 +6111,7 @@
|
|||||||
this.dGVStroje.ReadOnly = true;
|
this.dGVStroje.ReadOnly = true;
|
||||||
this.dGVStroje.RowHeadersVisible = false;
|
this.dGVStroje.RowHeadersVisible = false;
|
||||||
this.dGVStroje.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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.TabIndex = 0;
|
||||||
this.dGVStroje.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVStroje_RowEnter);
|
this.dGVStroje.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dGVStroje_RowEnter);
|
||||||
//
|
//
|
||||||
@@ -6304,7 +6307,7 @@
|
|||||||
this.dGVPU.ReadOnly = true;
|
this.dGVPU.ReadOnly = true;
|
||||||
this.dGVPU.RowHeadersVisible = false;
|
this.dGVPU.RowHeadersVisible = false;
|
||||||
this.dGVPU.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
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;
|
this.dGVPU.TabIndex = 0;
|
||||||
//
|
//
|
||||||
// tabPage11
|
// tabPage11
|
||||||
@@ -6321,7 +6324,7 @@
|
|||||||
this.tabPage11.Controls.Add(this.dataGridView8);
|
this.tabPage11.Controls.Add(this.dataGridView8);
|
||||||
this.tabPage11.Location = new System.Drawing.Point(4, 22);
|
this.tabPage11.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage11.Name = "tabPage11";
|
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.TabIndex = 16;
|
||||||
this.tabPage11.Text = "Údržby a opravy";
|
this.tabPage11.Text = "Údržby a opravy";
|
||||||
this.tabPage11.UseVisualStyleBackColor = true;
|
this.tabPage11.UseVisualStyleBackColor = true;
|
||||||
@@ -7161,7 +7164,7 @@
|
|||||||
this.tabPage12.Controls.Add(this.dataGridView7);
|
this.tabPage12.Controls.Add(this.dataGridView7);
|
||||||
this.tabPage12.Location = new System.Drawing.Point(4, 22);
|
this.tabPage12.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage12.Name = "tabPage12";
|
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.TabIndex = 17;
|
||||||
this.tabPage12.Text = "Naceňovanie";
|
this.tabPage12.Text = "Naceňovanie";
|
||||||
this.tabPage12.UseVisualStyleBackColor = true;
|
this.tabPage12.UseVisualStyleBackColor = true;
|
||||||
@@ -7508,7 +7511,7 @@
|
|||||||
this.tabPage13.Controls.Add(this.dataGridView10);
|
this.tabPage13.Controls.Add(this.dataGridView10);
|
||||||
this.tabPage13.Location = new System.Drawing.Point(4, 22);
|
this.tabPage13.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage13.Name = "tabPage13";
|
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.TabIndex = 18;
|
||||||
this.tabPage13.Text = "Vyhodnocovanie";
|
this.tabPage13.Text = "Vyhodnocovanie";
|
||||||
this.tabPage13.UseVisualStyleBackColor = true;
|
this.tabPage13.UseVisualStyleBackColor = true;
|
||||||
@@ -7550,7 +7553,7 @@
|
|||||||
this.tabPage14.Controls.Add(this.trackBar1);
|
this.tabPage14.Controls.Add(this.trackBar1);
|
||||||
this.tabPage14.Location = new System.Drawing.Point(4, 22);
|
this.tabPage14.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage14.Name = "tabPage14";
|
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.TabIndex = 19;
|
||||||
this.tabPage14.Text = "Zoznam firiem";
|
this.tabPage14.Text = "Zoznam firiem";
|
||||||
this.tabPage14.UseVisualStyleBackColor = true;
|
this.tabPage14.UseVisualStyleBackColor = true;
|
||||||
@@ -7973,7 +7976,7 @@
|
|||||||
this.tabPage15.Controls.Add(this.panel53);
|
this.tabPage15.Controls.Add(this.panel53);
|
||||||
this.tabPage15.Location = new System.Drawing.Point(4, 22);
|
this.tabPage15.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage15.Name = "tabPage15";
|
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.TabIndex = 20;
|
||||||
this.tabPage15.Text = "Nástroje";
|
this.tabPage15.Text = "Nástroje";
|
||||||
this.tabPage15.UseVisualStyleBackColor = true;
|
this.tabPage15.UseVisualStyleBackColor = true;
|
||||||
@@ -8712,22 +8715,22 @@
|
|||||||
this.chart2.BackColor = System.Drawing.Color.DarkGray;
|
this.chart2.BackColor = System.Drawing.Color.DarkGray;
|
||||||
this.chart2.BorderlineColor = System.Drawing.Color.Black;
|
this.chart2.BorderlineColor = System.Drawing.Color.Black;
|
||||||
this.chart2.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
|
this.chart2.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
|
||||||
chartArea2.Name = "ChartArea1";
|
chartArea6.Name = "ChartArea1";
|
||||||
this.chart2.ChartAreas.Add(chartArea2);
|
this.chart2.ChartAreas.Add(chartArea6);
|
||||||
this.chart2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.chart2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
legend2.Name = "Legend1";
|
legend6.Name = "Legend1";
|
||||||
this.chart2.Legends.Add(legend2);
|
this.chart2.Legends.Add(legend6);
|
||||||
this.chart2.Location = new System.Drawing.Point(0, 287);
|
this.chart2.Location = new System.Drawing.Point(0, 287);
|
||||||
this.chart2.Name = "chart2";
|
this.chart2.Name = "chart2";
|
||||||
series3.ChartArea = "ChartArea1";
|
series9.ChartArea = "ChartArea1";
|
||||||
series3.IsValueShownAsLabel = true;
|
series9.IsValueShownAsLabel = true;
|
||||||
series3.Legend = "Legend1";
|
series9.Legend = "Legend1";
|
||||||
series3.Name = "Rozmer";
|
series9.Name = "Rozmer";
|
||||||
series3.Points.Add(dataPoint1);
|
series9.Points.Add(dataPoint9);
|
||||||
series3.Points.Add(dataPoint2);
|
series9.Points.Add(dataPoint10);
|
||||||
series3.Points.Add(dataPoint3);
|
series9.Points.Add(dataPoint11);
|
||||||
series3.Points.Add(dataPoint4);
|
series9.Points.Add(dataPoint12);
|
||||||
this.chart2.Series.Add(series3);
|
this.chart2.Series.Add(series9);
|
||||||
this.chart2.Size = new System.Drawing.Size(407, 203);
|
this.chart2.Size = new System.Drawing.Size(407, 203);
|
||||||
this.chart2.TabIndex = 2;
|
this.chart2.TabIndex = 2;
|
||||||
this.chart2.Text = "chart2";
|
this.chart2.Text = "chart2";
|
||||||
@@ -8766,7 +8769,7 @@
|
|||||||
this.tabPage16.Controls.Add(this.textBox5);
|
this.tabPage16.Controls.Add(this.textBox5);
|
||||||
this.tabPage16.Location = new System.Drawing.Point(4, 22);
|
this.tabPage16.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage16.Name = "tabPage16";
|
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.TabIndex = 21;
|
||||||
this.tabPage16.Text = "Výkresy";
|
this.tabPage16.Text = "Výkresy";
|
||||||
this.tabPage16.UseVisualStyleBackColor = true;
|
this.tabPage16.UseVisualStyleBackColor = true;
|
||||||
@@ -8906,7 +8909,7 @@
|
|||||||
this.tabPage17.Controls.Add(this.textBox34);
|
this.tabPage17.Controls.Add(this.textBox34);
|
||||||
this.tabPage17.Location = new System.Drawing.Point(4, 22);
|
this.tabPage17.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage17.Name = "tabPage17";
|
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.TabIndex = 22;
|
||||||
this.tabPage17.Text = "Sklad";
|
this.tabPage17.Text = "Sklad";
|
||||||
this.tabPage17.UseVisualStyleBackColor = true;
|
this.tabPage17.UseVisualStyleBackColor = true;
|
||||||
@@ -9125,7 +9128,7 @@
|
|||||||
this.tabPage18.Controls.Add(this.dataGridView14);
|
this.tabPage18.Controls.Add(this.dataGridView14);
|
||||||
this.tabPage18.Location = new System.Drawing.Point(4, 22);
|
this.tabPage18.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage18.Name = "tabPage18";
|
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.TabIndex = 23;
|
||||||
this.tabPage18.Text = "Požiadavky/Pripomienky";
|
this.tabPage18.Text = "Požiadavky/Pripomienky";
|
||||||
this.tabPage18.UseVisualStyleBackColor = true;
|
this.tabPage18.UseVisualStyleBackColor = true;
|
||||||
@@ -9399,6 +9402,9 @@
|
|||||||
this.panel59.Controls.Add(this.dataGridView16);
|
this.panel59.Controls.Add(this.dataGridView16);
|
||||||
this.panel59.Controls.Add(this.label174);
|
this.panel59.Controls.Add(this.label174);
|
||||||
this.panel59.Controls.Add(this.textBox38);
|
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.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.panel59.Location = new System.Drawing.Point(0, 0);
|
this.panel59.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel59.Name = "panel59";
|
this.panel59.Name = "panel59";
|
||||||
@@ -10028,11 +10034,11 @@
|
|||||||
//
|
//
|
||||||
this.label174.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
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.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.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.TabIndex = 29;
|
||||||
this.label174.Text = "Stĺpec";
|
this.label174.Text = "Stĺpec 2 nevybraný";
|
||||||
this.label174.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
this.label174.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
this.label174.TextChanged += new System.EventHandler(this.label174_TextChanged);
|
this.label174.TextChanged += new System.EventHandler(this.label174_TextChanged);
|
||||||
//
|
//
|
||||||
@@ -10042,18 +10048,42 @@
|
|||||||
this.textBox38.BackColor = System.Drawing.Color.BlanchedAlmond;
|
this.textBox38.BackColor = System.Drawing.Color.BlanchedAlmond;
|
||||||
this.textBox38.Enabled = false;
|
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.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.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.TabIndex = 28;
|
||||||
this.textBox38.TextChanged += new System.EventHandler(this.textBox38_TextChanged);
|
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
|
// tabPage20
|
||||||
//
|
//
|
||||||
this.tabPage20.Controls.Add(this.panel69);
|
this.tabPage20.Controls.Add(this.panel69);
|
||||||
this.tabPage20.Location = new System.Drawing.Point(4, 22);
|
this.tabPage20.Location = new System.Drawing.Point(4, 22);
|
||||||
this.tabPage20.Name = "tabPage20";
|
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.TabIndex = 25;
|
||||||
this.tabPage20.Text = "Evidencia brúsených nástrojov";
|
this.tabPage20.Text = "Evidencia brúsených nástrojov";
|
||||||
this.tabPage20.UseVisualStyleBackColor = true;
|
this.tabPage20.UseVisualStyleBackColor = true;
|
||||||
@@ -12102,6 +12132,19 @@
|
|||||||
this.label182.Text = "↗";
|
this.label182.Text = "↗";
|
||||||
this.label182.Click += new System.EventHandler(this.label182_Click);
|
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
|
// frmMain
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@@ -13257,6 +13300,9 @@
|
|||||||
private System.Windows.Forms.Button button199;
|
private System.Windows.Forms.Button button199;
|
||||||
private System.Windows.Forms.Button button200;
|
private System.Windows.Forms.Button button200;
|
||||||
private System.Windows.Forms.Label labelVsetkyAleboMeskajuce;
|
private System.Windows.Forms.Label labelVsetkyAleboMeskajuce;
|
||||||
|
private System.Windows.Forms.Label label227;
|
||||||
|
private System.Windows.Forms.TextBox textBox52;
|
||||||
|
private System.Windows.Forms.Button button202;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
127
Mip/frmMain.cs
127
Mip/frmMain.cs
@@ -28,6 +28,8 @@ namespace Mip
|
|||||||
public string SelectedZiadankaGridIds { get; private set; }
|
public string SelectedZiadankaGridIds { get; private set; }
|
||||||
public bool ReloadSelected { get; private set; } = true;
|
public bool ReloadSelected { get; private set; } = true;
|
||||||
|
|
||||||
|
public Queue<string> FilterQueue { get; private set; } = new Queue<string>(2);
|
||||||
|
|
||||||
public frmMain()
|
public frmMain()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -7073,8 +7075,8 @@ namespace Mip
|
|||||||
if (dataGridView16.SelectedRows.Count > 0) selectedIndex = Convert.ToInt32(dataGridView16.SelectedRows[0].Index);
|
if (dataGridView16.SelectedRows.Count > 0) selectedIndex = Convert.ToInt32(dataGridView16.SelectedRows[0].Index);
|
||||||
|
|
||||||
|
|
||||||
string strTextBoxCondition = "";
|
string strTextBoxCondition = $"{textBox52.Tag} {textBox38.Tag}";
|
||||||
if (ZiadankyColorIndex > 0) strTextBoxCondition = " AND INSTR(`" + dataGridView16.Columns[ZiadankyColorIndex].Name + "`, '" + textBox38.Text + "')>0 ";
|
//if (ZiadankyColorIndex > 0) strTextBoxCondition = " AND INSTR(`" + dataGridView16.Columns[ZiadankyColorIndex].Name + "`, '" + textBox38.Text + "')>0 ";
|
||||||
|
|
||||||
string sqlCommandZiadanky;
|
string sqlCommandZiadanky;
|
||||||
string strCommandZiadankyWhere = "WHERE (`IDUser` = " + classUser.ID.ToString() + ")";
|
string strCommandZiadankyWhere = "WHERE (`IDUser` = " + classUser.ID.ToString() + ")";
|
||||||
@@ -9254,25 +9256,26 @@ namespace Mip
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
int ZiadankyColorIndex = -1;
|
|
||||||
private void dataGridView16_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
|
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;
|
if (pocet < 2)
|
||||||
textBox38.Text = "";
|
{
|
||||||
label174.Text = "Stĺpec nevybraný";
|
FilterQueue.Enqueue(nazovStlpca);
|
||||||
textBox38.Enabled = false;
|
}
|
||||||
|
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;
|
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)
|
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();
|
refreshZiadanky();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void label174_TextChanged(object sender, EventArgs e)
|
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;
|
else label174.BackColor = Color.Coral;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -10292,5 +10354,36 @@ namespace Mip
|
|||||||
SelectedZiadankaGridIds = String.Join(", ", grigIds);
|
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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user