private void OpenReportProperties() { BiWeeklyForm form = new BiWeeklyForm(listViewBiWeeklies.SelectedItem); form.Saved += form_Saved; form.ShowDialog(); }
private void AddReport() { OpenFileDialog dialog = new OpenFileDialog(); dialog.Filter = "Adobe PDF Files|*.pdf"; if (dialog.ShowDialog() == DialogResult.OK) { BiWeeklyForm form = new BiWeeklyForm(dialog.FileName); form.Saved += form_Saved; form.ShowDialog(); } }