Beispiel #1
0
        private void Update_Master_Click(object sender, EventArgs e)
        {
            List <string>   master = new List <string>();
            var             number = MasterList.CurrentCell.RowIndex;
            DataGridViewRow row    = MasterList.Rows[number];
            UpdMaster       um     = new UpdMaster(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());

            um.ShowDialog();
        }
Beispiel #2
0
        private void upd_customers_Click(object sender, EventArgs e)
        {
            List <string>   customers = new List <string>();
            var             number    = customer_list.CurrentCell.RowIndex;
            DataGridViewRow row       = customer_list.Rows[number];
            UpdMaster       ac        = new UpdMaster(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());

            ac.ShowDialog();
        }