示例#1
0
        public void LoadBinaryFromPaths(IEnumerable <string> paths)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            loadBackgroundWorker.RunWorkerAsync(paths);
        }
示例#2
0
        public void ExtractAllToDirectory(string directory)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            extractAllBackgroundWorker.RunWorkerAsync(directory);
        }
示例#3
0
        public void LoadFromFileNames(IEnumerable <string> fileNames)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            BackgroundWorker loadBackgroundWorker = createLoadBackgroundWorker();

            loadBackgroundWorker.RunWorkerAsync(fileNames);
        }
示例#4
0
        public void ExtractByAssetsToDirectoryAsync(IEnumerable <Asset> assets, string directory)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            object[] args = new object[] { assets, directory };

            extractSelectionBackgroundWorker.RunWorkerAsync(args);
        }
示例#5
0
        public void ExtractToDirectoryAsync(IEnumerable <Asset> assets, string directory, EventHandler completedHandler)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            object[] args = new object[] { assets, directory, completedHandler };

            BackgroundWorker extractBackgroundWorker = createExtractBackgroundWorker();

            extractBackgroundWorker.RunWorkerAsync(args);
        }
示例#6
0
        private void exportButton_Click(object sender, EventArgs e)
        {
            applyCurrentStateToExportOptions();

            if (exportFolderBrowserDialog.ShowDialog() == DialogResult.OK)
            {
                List<object> argument = new List<object>()
                {
                    exportFolderBrowserDialog.SelectedPath,
                    FileNames,
                    exportOptions
                };

                loadingForm = new GenericLoadingForm();
                loadingForm.Show();

                exportBackgroundWorker.RunWorkerAsync(argument);
            }
        }
示例#7
0
        private void exportButton_Click(object sender, EventArgs e)
        {
            applyCurrentStateToExportOptions();

            if (exportFolderBrowserDialog.ShowDialog() == DialogResult.OK)
            {
                List <object> argument = new List <object>()
                {
                    exportFolderBrowserDialog.SelectedPath,
                    FileNames,
                    exportOptions
                };

                loadingForm = new GenericLoadingForm();
                loadingForm.Show();

                exportBackgroundWorker.RunWorkerAsync(argument);
            }
        }
示例#8
0
        public void LoadFromFileNames(IEnumerable<string> fileNames)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            BackgroundWorker loadBackgroundWorker = createLoadBackgroundWorker();
            loadBackgroundWorker.RunWorkerAsync(fileNames);
        }
示例#9
0
        public void ExtractToDirectoryAsync(IEnumerable<Asset> assets, string directory, EventHandler completedHandler)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            object[] args = new object[] { assets, directory, completedHandler };

            BackgroundWorker extractBackgroundWorker = createExtractBackgroundWorker();
            extractBackgroundWorker.RunWorkerAsync(args);
        }
示例#10
0
        public void LoadBinaryFromPaths(IEnumerable<string> paths)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            loadBackgroundWorker.RunWorkerAsync(paths);
        }
示例#11
0
        public void ExtractByAssetsToDirectoryAsync(IEnumerable<Asset> assets, string directory)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            object[] args = new object[] { assets, directory };

            extractSelectionBackgroundWorker.RunWorkerAsync(args);
        }
示例#12
0
        public void ExtractAllToDirectory(string directory)
        {
            loadingForm = new GenericLoadingForm();
            loadingForm.Show();

            extractAllBackgroundWorker.RunWorkerAsync(directory);
        }