private void FileExistsMessage(object sender, EventArgs e) { InstructorBriefcaseExtractor.Model.FileInformation FE = (InstructorBriefcaseExtractor.Model.FileInformation)e; FileExistsDialog myDialog = new FileExistsDialog(FE); myDialog.ShowDialog(this); myDialog.Dispose(); }
public FileExistsDialog(InstructorBriefcaseExtractor.Model.FileInformation FE) { InitializeComponent(); myFE = FE; try { txtFilename.Text = myFE.OldFileName; txtDirectory.Text = myFE.OldDirectory; this.Text = myFE.DialogBoxTitle; myFE.CancelALLExport = false; myFE.CancelExport = false; myFE.OverWriteAll = false; } catch { } }