Esempio n. 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            buttonWasClicked = true;
            if (buttonWasClicked == true)
            {
                int rowIndex = CalendarDGV.CurrentCell.RowIndex;

                SetApptId = CalendarDGV.Rows[rowIndex].Cells[0].Value.ToString();

                SetCustName = CalendarDGV.Rows[rowIndex].Cells[4].Value.ToString();
            }

            EditAppointment editAppointment = new EditAppointment();

            editAppointment.mainScreen = this;
            editAppointment.Show();
        }
Esempio n. 2
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            EditAppointment editAppointment = new EditAppointment();

            editAppointment.Show();
        }