void InitializeTask(ProgressDialogOption progressOption) { ProgressDialogOption = progressOption; InitializeTask(); if (ProgressDialogOption == ProgressDialogOption.StandardProgress || ProgressDialogOption == ProgressDialogOption.StandardProgressNoClose) { InitializeProgressDialog(new BackgroundTaskProgressDialog()); } }
public BackgroundTask(BackgroundTask task) { if (task == null) { InitializeTask(ProgressDialogOption.StandardProgress); } else { ProgressDialogOption = PlannerNameSpace.ProgressDialogOption.InheritedProgress; InitializeTask(); InitializeProgressDialog(task.ProgressDialog); } }
public BackgroundTask(ProgressDialogOption progressOption) { InitializeTask(progressOption); }