Exemple #1
0
        private void MenuDateApointment_Click(object sender, EventArgs e)
        {
            RegistrationUpdate rs = new RegistrationUpdate(int.Parse(dataGridView1.SelectedRows[0].Cells[0].Value.ToString()), 0);

            rs.ShowDialog();
            LoadDefault();
        }
Exemple #2
0
        private void MenuUpdateRegistration_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count <= 0)
            {
                return;
            }
            RegistrationUpdate rp = new RegistrationUpdate(int.Parse(dataGridView1.SelectedRows[0].Cells[0].Value.ToString()));

            rp.ShowDialog();
            LoadDefault();
        }