private void radButtonElementEdit_Click(object sender, EventArgs e)
        {
            if (showShedule != null)
            {
                GridViewRowInfo gridInfo = ScheduleGridView.SelectedRows.First();
                string id = gridInfo.Cells[0].Value.ToString();
                VisitaJayaPerkasa.Entities.Schedule tempSchedule = showShedule.Where(c => c.ID.ToString() == id).SingleOrDefault();

                UserControl controllers = new ScheduleEdit(tempSchedule);
                Constant.VisitaJayaPerkasaApplication.mainForm.ShowUserControl(controllers);
            }
        }
 private void radButtonElementCreate_Click(object sender, EventArgs e)
 {
     VisitaJayaPerkasa.Entities.Schedule tempSchedule = null;
     UserControl controllers = new ScheduleEdit(tempSchedule);
     Constant.VisitaJayaPerkasaApplication.mainForm.ShowUserControl(controllers);
 
 }