private void AddNewCommandExecuted(WorkflowInfo info)
        {
            if (info == null)
            {
                throw new ArgumentNullException("WorkflowInfo不能为空");
            }
            WorkflowUtils.ProcessDatetime(info);
            DiagramPageViewModel vw = new DiagramPageViewModel(info);

            vw.RequestClose += this.Item_RequestClose;
            this.DiagramDataSource.Add(vw);

            this.OnPropertyChanged("DiagramDataSource");
        }
        /// <summary>
        /// Tab关闭时触发
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Item_RequestClose(object sender, EventArgs e)
        {
            DiagramPageViewModel item = sender as DiagramPageViewModel;

            DiagramDataSource.Remove(item);
        }
		private void AddNewCommandExecuted(WorkflowInfo info)
		{
			if (info == null) throw new ArgumentNullException("WorkflowInfo不能为空");
			WorkflowUtils.ProcessDatetime(info);
			DiagramPageViewModel vw = new DiagramPageViewModel(info);

			vw.RequestClose += this.Item_RequestClose;
			this.DiagramDataSource.Add(vw);

			this.OnPropertyChanged("DiagramDataSource");
		}