示例#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());
        }
示例#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);
        }
示例#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());
        }
示例#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());
        }