|
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;
using System.Diagnostics;
namespace DashboardBusiness
{
public sealed partial class NewUserSetupWorkflow: SequentialWorkflowActivity
{
public NewUserSetupWorkflow()
{
InitializeComponent();
}
public static DependencyProperty UserNameProperty = DependencyProperty.Register("UserName", typeof(System.String), typeof(DashboardBusiness.NewUserSetupWorkflow));
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[BrowsableAttribute(true)]
[CategoryAttribute("Misc")]
public String UserName
{
get
{
return ((string)(base.GetValue(DashboardBusiness.NewUserSetupWorkflow.UserNameProperty)));
}
set
{
base.SetValue(DashboardBusiness.NewUserSetupWorkflow.UserNameProperty, value);
}
}
public static DependencyProperty UserPageSetupProperty = DependencyProperty.Register("UserPageSetup", typeof(DashboardBusiness.UserPageSetup), typeof(DashboardBusiness.NewUserSetupWorkflow));
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[BrowsableAttribute(true)]
[CategoryAttribute("Parameters")]
public UserPageSetup UserPageSetup
{
get
{
return ((DashboardBusiness.UserPageSetup)(base.GetValue(DashboardBusiness.NewUserSetupWorkflow.UserPageSetupProperty)));
}
set
{
base.SetValue(DashboardBusiness.NewUserSetupWorkflow.UserPageSetupProperty, value);
}
}
public static DependencyProperty ExceptionProperty = DependencyProperty.Register("Exception", typeof(System.ApplicationException), typeof(DashboardBusiness.NewUserSetupWorkflow));
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[BrowsableAttribute(true)]
[CategoryAttribute("Handlers")]
public ApplicationException Exception
{
get
{
return ((System.ApplicationException)(base.GetValue(DashboardBusiness.NewUserSetupWorkflow.ExceptionProperty)));
}
set
{
base.SetValue(DashboardBusiness.NewUserSetupWorkflow.ExceptionProperty, value);
}
}
private void SetException_ExecuteCode(object sender, EventArgs e)
{
this.Exception = new ApplicationException("First page creation failed");
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.