Exemplo n.º 1
0
        private void metroButton3_Click(object sender, EventArgs e)
        {
            ProvinceModel.id   = provinceGrid.Rows[provinceGrid.SelectedRows[0].Index].Cells[0].Value.ToString();
            ProvinceModel.name = provinceGrid.Rows[provinceGrid.SelectedRows[0].Index].Cells[1].Value.ToString();

            add_province update = new add_province(true);

            update.ShowDialog();
        }
Exemplo n.º 2
0
        private void metroButton4_Click(object sender, EventArgs e)
        {
            add_province add = new add_province();

            add.ShowDialog();
        }