Example #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            RunnerControl2 RC2 = new RunnerControl2();

            RC2.Show();
            Hide();
        }
Example #2
0
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            int d = e.RowIndex;

            try
            {
                DataStorage.rEmail  = dataGridView1[1, d].Value.ToString();
                DataStorage.rFName  = dataGridView1[2, d].Value.ToString();
                DataStorage.rLName  = dataGridView1[3, d].Value.ToString();
                DataStorage.rStatus = dataGridView1[4, d].Value.ToString();
                RunnerControl2 RC2 = new RunnerControl2();
                RC2.Show();
                Hide();
            }
            catch
            {
                MessageBox.Show("Данной ячейки не существует!");
            }
        }