Example #1
0
        private void button6_Click(object sender, EventArgs e)
        {
            List <string>   type   = new List <string>();
            var             number = TypeList.CurrentCell.RowIndex;
            DataGridViewRow row    = TypeList.Rows[number];
            UpdTP           up     = new UpdTP(row.Cells[0].Value.ToString(),
                                               row.Cells[1].Value.ToString());

            up.ShowDialog();
        }
Example #2
0
        private void upd_manager_Click(object sender, EventArgs e)
        {
            List <string>   type   = new List <string>();
            var             number = manager_list.CurrentCell.RowIndex;
            DataGridViewRow row    = manager_list.Rows[number];
            UpdTP           up     = new UpdTP(row.Cells[0].Value.ToString(),
                                               row.Cells[1].Value.ToString(),
                                               row.Cells[2].Value.ToString(),
                                               row.Cells[3].Value.ToString(),
                                               row.Cells[4].Value.ToString(),
                                               row.Cells[5].Value.ToString(),
                                               row.Cells[6].Value.ToString());

            up.ShowDialog();
        }