Esempio n. 1
0
        private void muImport_Click(object sender, System.EventArgs e)
        {
            ImportIconDialog theDialog = new ImportIconDialog();

            if (theDialog.ShowDialog(this) == DialogResult.OK)
            {
                if (File.Exists(theDialog.FileName))
                {
                    ImportData(theDialog.FileName);
                }
            }

            UpdateThumbnail();
        }
Esempio n. 2
0
        private void muImport_Click(object sender, System.EventArgs e)
        {
            if (mFileName == null)
            {
                MessageBox.Show("Please Open a File First (usually ROM\\119\\57.DAT)");
                return;
            }

            ImportIconDialog theDialog = new ImportIconDialog();

            if (theDialog.ShowDialog(this) == DialogResult.OK)
            {
                if (File.Exists(theDialog.FileName))
                {
                    ImportData(theDialog.FileName, theDialog.Options, theDialog.IncludeList);
                }
            }

            UpdateThumbnail();
        }