Exemple #1
0
        public void Run(IBrowsableCollection selection)
        {
            this.selection = selection;
            dialog         = new CDExportDialog(selection, dest);

            if (dialog.Run() != (int)ResponseType.Ok)
            {
                dialog.Destroy();
                return;
            }

            clean = dialog.RemovePreviousPhotos;

            command_thread      = new System.Threading.Thread(new System.Threading.ThreadStart(Transfer));
            command_thread.Name = Catalog.GetString("Transferring Pictures");

            progress_dialog = new ThreadProgressDialog(command_thread, selection.Count);
            progress_dialog.Start();

            dialog.Destroy();
        }
Exemple #2
0
        public void Run(IBrowsableCollection selection)
        {
            this.selection = selection;
            dialog = new CDExportDialog (selection, dest);

            if (dialog.Run () != (int)ResponseType.Ok) {
                dialog.Destroy ();
                return;
            }

            clean = dialog.RemovePreviousPhotos;

            command_thread = new System.Threading.Thread (new System.Threading.ThreadStart (Transfer));
            command_thread.Name = Catalog.GetString ("Transferring Pictures");

            progress_dialog = new ThreadProgressDialog (command_thread, selection.Count);
            progress_dialog.Start ();

            dialog.Destroy ();
        }