Exemplo n.º 1
0
        public static DialogResult Execute(Form parentForm, BackgroundTask initTask)
        {
            Type[] pages = new Type[]
                {
                    typeof(WizTagStep1Ctl),
                    typeof(WizTagStep2Ctl)
                };

            return WizardHostForm.CreateWizard("TXT_TAGGINGWIZARD", pages, true, initTask, Resources.Tagging16.ToIcon());
        }
Exemplo n.º 2
0
        public TaskRunner(BackgroundTask task)
            : base()
        {
            _task = task;

            _worker = new BackgroundWorker();
            _worker.WorkerSupportsCancellation = true;
            
            _worker.DoWork += new DoWorkEventHandler(_worker_DoWork);
            _worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_worker_RunWorkerCompleted);
        }
Exemplo n.º 3
0
        public static DialogResult Execute(BackgroundTask initTask)
        {
            Type[] pages = new Type[]
                {
                    typeof(WizMCSearchStep1Ctl),
                };

            return WizardHostForm.CreateWizard("TXT_SEARCHWIZARD_MC", pages, true, initTask, Resources.Search16.ToIcon());
        }
Exemplo n.º 4
0
        public static DialogResult Execute(BackgroundTask initTask)
        {
            Type[] pages = new Type[]
                {
                    typeof(WizCdRipperStep1),
                    typeof(WizCdRipperStep2),
                };

            return WizardHostForm.CreateWizard("TXT_CDRIPPERWIZARD", pages, true, initTask, 
                Resources.blank_cd.ToIcon());
        }