Example #1
0
        private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
        {
            CorrectiveActionReportForm reportForm = new CorrectiveActionReportForm();

            reportForm.anEvent    = new AnEvent();
            reportForm.anEvent.Id = int.Parse(comboBox3.SelectedItem.ToString());
            reportForm.Closed    += addEventForm_Closed;
            reportForm.ShowDialog();
        }
Example #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            CorrectiveActionReportForm correctiveActionReportForm = new CorrectiveActionReportForm();

            correctiveActionReportForm.ShowDialog();
        }