コード例 #1
0
        public Form1()
        {
            InitializeComponent();
            processing init = new processing();

            init.initGrid(dataGridView1);
            init.initData(dataGridView1, label1, comboBox1, ref fileName);
        }
コード例 #2
0
 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);
     }
 }  //по названию
コード例 #3
0
        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);
            }
        }  //Файл
コード例 #4
0
        }  //Стоп

        private void button6_Click(object sender, EventArgs e)
        {
            processing outputRezName = new processing();

            outputRezName.sortName(fileName);
        }
コード例 #5
0
        }  //Закрыть

        private void timer1_Tick(object sender, EventArgs e)
        {
            processing trafTake = new processing();

            trafTake.outputScreenCurrentTraffic(dataGridView1, label1, fileName);
        }