示例#1
0
        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();
        }
示例#2
0
        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
            { }
        }