static public void MOGGlobalToolsLoadReport(MogMainForm mainForm) { string ReportDir = MOG_ControllerProject.GetUser().GetUserPath() + "\\Reports"; ListForm report = new ListForm("Load custom user report"); report.ListListView.SmallImageList = MogUtil_AssetIcons.Images; mainForm.MOGOpenFileDialog.Filter = "Mog Reports | *.rep"; mainForm.MOGOpenFileDialog.InitialDirectory = ReportDir; if (mainForm.MOGOpenFileDialog.ShowDialog(mainForm) == DialogResult.OK) { report.Show(mainForm); report.LoadReportList(mainForm.MOGOpenFileDialog.FileName); } }