public Form1() { InitializeComponent(); processing init = new processing(); init.initGrid(dataGridView1); init.initData(dataGridView1, label1, comboBox1, ref fileName); }
private void button5_Click(object sender, EventArgs e) { if (selectedName == "") { MessageBox.Show("Выберите процесс!", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Question); } else { processing outputRezTime = new processing(); outputRezTime.sortTime(selectedName, fileName); } } //по названию
private void button3_Click(object sender, EventArgs e) { timer1.Stop(); timer1.Enabled = false; processing initPath = new processing(); fileName = initPath.loadPath(label1, fileName); if (fileName != "") { initPath.initData(dataGridView1, label1, comboBox1, ref fileName); } } //Файл
} //Стоп private void button6_Click(object sender, EventArgs e) { processing outputRezName = new processing(); outputRezName.sortName(fileName); }
} //Закрыть private void timer1_Tick(object sender, EventArgs e) { processing trafTake = new processing(); trafTake.outputScreenCurrentTraffic(dataGridView1, label1, fileName); }