Add files via upload
This commit is contained in:
parent
7d765f964e
commit
ed5bf8a2f7
9 changed files with 137 additions and 20 deletions
96
Tariffs/Form1.Designer.cs
generated
96
Tariffs/Form1.Designer.cs
generated
|
@ -88,10 +88,19 @@
|
||||||
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
|
this.numericUpDown5 = new System.Windows.Forms.NumericUpDown();
|
||||||
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
|
this.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
|
||||||
this.button7 = new System.Windows.Forms.Button();
|
this.button7 = new System.Windows.Forms.Button();
|
||||||
|
this.dataGridView2 = new System.Windows.Forms.DataGridView();
|
||||||
|
this.OperatorCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.TariffCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.MinsCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.SmsCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.MmsCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.InetCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.PayCmpCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
this.tabControl1.SuspendLayout();
|
this.tabControl1.SuspendLayout();
|
||||||
this.tabPage1.SuspendLayout();
|
this.tabPage1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
this.tabPage2.SuspendLayout();
|
||||||
this.tabPage3.SuspendLayout();
|
this.tabPage3.SuspendLayout();
|
||||||
this.tableLayoutPanel1.SuspendLayout();
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).BeginInit();
|
||||||
|
@ -102,6 +111,7 @@
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// menuStrip1
|
// menuStrip1
|
||||||
|
@ -259,6 +269,7 @@
|
||||||
this.dataGridView1.Name = "dataGridView1";
|
this.dataGridView1.Name = "dataGridView1";
|
||||||
this.dataGridView1.Size = new System.Drawing.Size(764, 287);
|
this.dataGridView1.Size = new System.Drawing.Size(764, 287);
|
||||||
this.dataGridView1.TabIndex = 0;
|
this.dataGridView1.TabIndex = 0;
|
||||||
|
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.CheckColComparing);
|
||||||
//
|
//
|
||||||
// toCompare
|
// toCompare
|
||||||
//
|
//
|
||||||
|
@ -311,6 +322,7 @@
|
||||||
//
|
//
|
||||||
// tabPage2
|
// tabPage2
|
||||||
//
|
//
|
||||||
|
this.tabPage2.Controls.Add(this.dataGridView2);
|
||||||
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.Padding = new System.Windows.Forms.Padding(3);
|
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||||
|
@ -334,7 +346,7 @@
|
||||||
this.tableLayoutPanel1.ColumnCount = 3;
|
this.tableLayoutPanel1.ColumnCount = 3;
|
||||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 47.62886F));
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 47.62886F));
|
||||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 52.37114F));
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 52.37114F));
|
||||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 240F));
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 241F));
|
||||||
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 0);
|
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 0);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 0);
|
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 0);
|
||||||
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 0);
|
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 0);
|
||||||
|
@ -357,7 +369,7 @@
|
||||||
this.button1.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
|
this.button1.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||||
this.button1.Location = new System.Drawing.Point(3, 3);
|
this.button1.Location = new System.Drawing.Point(3, 3);
|
||||||
this.button1.Name = "button1";
|
this.button1.Name = "button1";
|
||||||
this.button1.Size = new System.Drawing.Size(227, 139);
|
this.button1.Size = new System.Drawing.Size(226, 139);
|
||||||
this.button1.TabIndex = 0;
|
this.button1.TabIndex = 0;
|
||||||
this.button1.Text = "MegaFon";
|
this.button1.Text = "MegaFon";
|
||||||
this.button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
this.button1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||||
|
@ -369,7 +381,7 @@
|
||||||
this.button2.BackgroundImage = global::Tariffs.Properties.Resources.logotip_mts;
|
this.button2.BackgroundImage = global::Tariffs.Properties.Resources.logotip_mts;
|
||||||
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
this.button2.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
this.button2.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.button2.Location = new System.Drawing.Point(236, 3);
|
this.button2.Location = new System.Drawing.Point(235, 3);
|
||||||
this.button2.Name = "button2";
|
this.button2.Name = "button2";
|
||||||
this.button2.Size = new System.Drawing.Size(250, 139);
|
this.button2.Size = new System.Drawing.Size(250, 139);
|
||||||
this.button2.TabIndex = 1;
|
this.button2.TabIndex = 1;
|
||||||
|
@ -384,7 +396,7 @@
|
||||||
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
this.button3.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
this.button3.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.button3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
this.button3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
|
||||||
this.button3.Location = new System.Drawing.Point(492, 3);
|
this.button3.Location = new System.Drawing.Point(491, 3);
|
||||||
this.button3.Name = "button3";
|
this.button3.Name = "button3";
|
||||||
this.button3.Size = new System.Drawing.Size(233, 139);
|
this.button3.Size = new System.Drawing.Size(233, 139);
|
||||||
this.button3.TabIndex = 2;
|
this.button3.TabIndex = 2;
|
||||||
|
@ -400,7 +412,7 @@
|
||||||
this.button4.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
this.button4.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.button4.Location = new System.Drawing.Point(3, 148);
|
this.button4.Location = new System.Drawing.Point(3, 148);
|
||||||
this.button4.Name = "button4";
|
this.button4.Name = "button4";
|
||||||
this.button4.Size = new System.Drawing.Size(227, 136);
|
this.button4.Size = new System.Drawing.Size(226, 136);
|
||||||
this.button4.TabIndex = 3;
|
this.button4.TabIndex = 3;
|
||||||
this.button4.Text = "Tele2";
|
this.button4.Text = "Tele2";
|
||||||
this.button4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
this.button4.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||||
|
@ -412,7 +424,7 @@
|
||||||
this.button5.BackgroundImage = global::Tariffs.Properties.Resources.logotip_tinkoff_mobile;
|
this.button5.BackgroundImage = global::Tariffs.Properties.Resources.logotip_tinkoff_mobile;
|
||||||
this.button5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
this.button5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
||||||
this.button5.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
this.button5.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.button5.Location = new System.Drawing.Point(236, 148);
|
this.button5.Location = new System.Drawing.Point(235, 148);
|
||||||
this.button5.Name = "button5";
|
this.button5.Name = "button5";
|
||||||
this.button5.Size = new System.Drawing.Size(250, 136);
|
this.button5.Size = new System.Drawing.Size(250, 136);
|
||||||
this.button5.TabIndex = 4;
|
this.button5.TabIndex = 4;
|
||||||
|
@ -424,7 +436,7 @@
|
||||||
// button6
|
// button6
|
||||||
//
|
//
|
||||||
this.button6.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
this.button6.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
||||||
this.button6.Location = new System.Drawing.Point(492, 148);
|
this.button6.Location = new System.Drawing.Point(491, 148);
|
||||||
this.button6.Name = "button6";
|
this.button6.Name = "button6";
|
||||||
this.button6.Size = new System.Drawing.Size(233, 136);
|
this.button6.Size = new System.Drawing.Size(233, 136);
|
||||||
this.button6.TabIndex = 5;
|
this.button6.TabIndex = 5;
|
||||||
|
@ -709,10 +721,10 @@
|
||||||
//
|
//
|
||||||
this.checkedListBox1.FormattingEnabled = true;
|
this.checkedListBox1.FormattingEnabled = true;
|
||||||
this.checkedListBox1.Items.AddRange(new object[] {
|
this.checkedListBox1.Items.AddRange(new object[] {
|
||||||
"Мегафон",
|
"MegaFon",
|
||||||
"Билайн",
|
"BeeLine",
|
||||||
"МТС",
|
"MTS",
|
||||||
"Теле2"});
|
"Tele2"});
|
||||||
this.checkedListBox1.Location = new System.Drawing.Point(74, 27);
|
this.checkedListBox1.Location = new System.Drawing.Point(74, 27);
|
||||||
this.checkedListBox1.Name = "checkedListBox1";
|
this.checkedListBox1.Name = "checkedListBox1";
|
||||||
this.checkedListBox1.Size = new System.Drawing.Size(120, 64);
|
this.checkedListBox1.Size = new System.Drawing.Size(120, 64);
|
||||||
|
@ -728,6 +740,58 @@
|
||||||
this.button7.UseVisualStyleBackColor = true;
|
this.button7.UseVisualStyleBackColor = true;
|
||||||
this.button7.Click += new System.EventHandler(this.button7_Click);
|
this.button7.Click += new System.EventHandler(this.button7_Click);
|
||||||
//
|
//
|
||||||
|
// dataGridView2
|
||||||
|
//
|
||||||
|
this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
|
this.OperatorCmpCol,
|
||||||
|
this.TariffCmpCol,
|
||||||
|
this.MinsCmpCol,
|
||||||
|
this.SmsCmpCol,
|
||||||
|
this.MmsCmpCol,
|
||||||
|
this.InetCmpCol,
|
||||||
|
this.PayCmpCol});
|
||||||
|
this.dataGridView2.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.dataGridView2.Name = "dataGridView2";
|
||||||
|
this.dataGridView2.Size = new System.Drawing.Size(760, 287);
|
||||||
|
this.dataGridView2.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// OperatorCmpCol
|
||||||
|
//
|
||||||
|
this.OperatorCmpCol.HeaderText = "Оператор";
|
||||||
|
this.OperatorCmpCol.Name = "OperatorCmpCol";
|
||||||
|
//
|
||||||
|
// TariffCmpCol
|
||||||
|
//
|
||||||
|
this.TariffCmpCol.HeaderText = "Тариф";
|
||||||
|
this.TariffCmpCol.Name = "TariffCmpCol";
|
||||||
|
this.TariffCmpCol.Width = 130;
|
||||||
|
//
|
||||||
|
// MinsCmpCol
|
||||||
|
//
|
||||||
|
this.MinsCmpCol.HeaderText = "Звонки (мин)";
|
||||||
|
this.MinsCmpCol.Name = "MinsCmpCol";
|
||||||
|
//
|
||||||
|
// SmsCmpCol
|
||||||
|
//
|
||||||
|
this.SmsCmpCol.HeaderText = "SMS";
|
||||||
|
this.SmsCmpCol.Name = "SmsCmpCol";
|
||||||
|
//
|
||||||
|
// MmsCmpCol
|
||||||
|
//
|
||||||
|
this.MmsCmpCol.HeaderText = "MMS";
|
||||||
|
this.MmsCmpCol.Name = "MmsCmpCol";
|
||||||
|
//
|
||||||
|
// InetCmpCol
|
||||||
|
//
|
||||||
|
this.InetCmpCol.HeaderText = "Интернет (МБ/ГБ)";
|
||||||
|
this.InetCmpCol.Name = "InetCmpCol";
|
||||||
|
//
|
||||||
|
// PayCmpCol
|
||||||
|
//
|
||||||
|
this.PayCmpCol.HeaderText = "Абон. плата";
|
||||||
|
this.PayCmpCol.Name = "PayCmpCol";
|
||||||
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
@ -768,6 +832,7 @@
|
||||||
this.tabControl1.ResumeLayout(false);
|
this.tabControl1.ResumeLayout(false);
|
||||||
this.tabPage1.ResumeLayout(false);
|
this.tabPage1.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
this.tabPage2.ResumeLayout(false);
|
||||||
this.tabPage3.ResumeLayout(false);
|
this.tabPage3.ResumeLayout(false);
|
||||||
this.tableLayoutPanel1.ResumeLayout(false);
|
this.tableLayoutPanel1.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown8)).EndInit();
|
||||||
|
@ -778,6 +843,7 @@
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown6)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown5)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
@ -844,6 +910,14 @@
|
||||||
private System.Windows.Forms.CheckedListBox checkedListBox1;
|
private System.Windows.Forms.CheckedListBox checkedListBox1;
|
||||||
private System.Windows.Forms.Button button7;
|
private System.Windows.Forms.Button button7;
|
||||||
private System.Windows.Forms.ToolStripMenuItem фильтрацияToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem фильтрацияToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.DataGridView dataGridView2;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn OperatorCmpCol;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn TariffCmpCol;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn MinsCmpCol;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn SmsCmpCol;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn MmsCmpCol;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn InetCmpCol;
|
||||||
|
private System.Windows.Forms.DataGridViewTextBoxColumn PayCmpCol;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -150,6 +150,8 @@ namespace Tariffs
|
||||||
{
|
{
|
||||||
dataGridView1.Rows.Clear();
|
dataGridView1.Rows.Clear();
|
||||||
dataGridView1.RowCount = 1;
|
dataGridView1.RowCount = 1;
|
||||||
|
dataGridView2.Rows.Clear();
|
||||||
|
dataGridView2.RowCount = 1;
|
||||||
StreamReader listfile = new StreamReader("list.txt");
|
StreamReader listfile = new StreamReader("list.txt");
|
||||||
String firststr = listfile.ReadLine();
|
String firststr = listfile.ReadLine();
|
||||||
String[,] tariffsArr = new String[arrlenght, 8];
|
String[,] tariffsArr = new String[arrlenght, 8];
|
||||||
|
@ -208,23 +210,21 @@ namespace Tariffs
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
//operators
|
//operators
|
||||||
/*for (int curOperInd = 0; curOperInd < opersQuan; curOperInd++)
|
bool myOperatorChecked = false;
|
||||||
|
for (int curOperInd = 0; curOperInd < opersQuan; curOperInd++)
|
||||||
{
|
{
|
||||||
if (filt_params.operators != null &&
|
if (filt_params.operators != null &&
|
||||||
rowsArray[1] != null &&
|
rowsArray[1] != null &&
|
||||||
rowsArray[1] == filt_params.operators[curOperInd])
|
rowsArray[1] == filt_params.operators[curOperInd])
|
||||||
{
|
{
|
||||||
operMatch[curOperInd] = true;
|
myOperatorChecked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int curOperInd = 0; curOperInd < opersQuan; curOperInd++)
|
if (!myOperatorChecked && filt_params.operators != null)
|
||||||
{
|
{
|
||||||
if (operMatch[curOperInd])
|
needToAdd = false;
|
||||||
{
|
|
||||||
needToAdd = true;
|
|
||||||
}
|
}
|
||||||
}*/
|
|
||||||
|
|
||||||
//mins
|
//mins
|
||||||
if (filt_params.min_minutes > 0 &&
|
if (filt_params.min_minutes > 0 &&
|
||||||
|
@ -342,6 +342,13 @@ namespace Tariffs
|
||||||
{
|
{
|
||||||
Filter filt = new Filter();
|
Filter filt = new Filter();
|
||||||
|
|
||||||
|
//operators
|
||||||
|
filt.operators = new String[opersQuan];
|
||||||
|
for (int i = 0; i < checkedListBox1.CheckedItems.Count; i++)
|
||||||
|
{
|
||||||
|
filt.operators[i] = checkedListBox1.CheckedItems[i].ToString();
|
||||||
|
}
|
||||||
|
|
||||||
//minutes
|
//minutes
|
||||||
filt.min_minutes = Convert.ToInt32(numericUpDown1.Value);
|
filt.min_minutes = Convert.ToInt32(numericUpDown1.Value);
|
||||||
filt.max_minutes = Convert.ToInt32(numericUpDown2.Value);
|
filt.max_minutes = Convert.ToInt32(numericUpDown2.Value);
|
||||||
|
@ -360,5 +367,20 @@ namespace Tariffs
|
||||||
|
|
||||||
ReadListFile(filt);
|
ReadListFile(filt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void CheckColComparing(object sender, DataGridViewCellEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.ColumnIndex == 0)
|
||||||
|
{
|
||||||
|
String[] myRow = new String[8];
|
||||||
|
|
||||||
|
for (int i = 1; i < 8; i++)
|
||||||
|
{
|
||||||
|
myRow[i - 1] = dataGridView1.Rows[e.RowIndex].Cells[i].Value.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
dataGridView2.Rows.Add(myRow);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -147,6 +147,27 @@
|
||||||
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="OperatorCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="TariffCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="MinsCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="SmsCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="MmsCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="InetCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="PayCmpCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>37</value>
|
<value>37</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue