//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.42
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace de.WWWings.Workflow {
    using System;
    using System.ComponentModel;
    using System.Workflow.Activities;
    using System.Workflow.ComponentModel;
    using System.Workflow.ComponentModel.Design;
    using System.Workflow.ComponentModel.Compiler;
    
    
    [ToolboxItemAttribute(typeof(ActivityToolboxItem))]
    public partial class FlugDaten_Bereit : HandleExternalEventActivity {
        
        public static DependencyProperty FlugNrProperty = DependencyProperty.Register("FlugNr", typeof(long), typeof(FlugDaten_Bereit));
        
        public static DependencyProperty PlaetzeProperty = DependencyProperty.Register("Plaetze", typeof(byte), typeof(FlugDaten_Bereit));
        
        public FlugDaten_Bereit() {
            base.InterfaceType = typeof(de.WWWings.Workflow.IBuchungsdienst);
            base.EventName = "FlugDaten_Bereit";
        }
        
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
        public override System.Type InterfaceType {
            get {
                return base.InterfaceType;
            }
            set {
                throw new InvalidOperationException("Cannot set InterfaceType on a derived HandleExternalEventActivity.");
            }
        }
        
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
        public override string EventName {
            get {
                return base.EventName;
            }
            set {
                throw new InvalidOperationException("Cannot set EventName on a derived HandleExternalEventActivity.");
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public long FlugNr {
            get {
                return ((long)(this.GetValue(FlugDaten_Bereit.FlugNrProperty)));
            }
            set {
                this.SetValue(FlugDaten_Bereit.FlugNrProperty, value);
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public byte Plaetze {
            get {
                return ((byte)(this.GetValue(FlugDaten_Bereit.PlaetzeProperty)));
            }
            set {
                this.SetValue(FlugDaten_Bereit.PlaetzeProperty, value);
            }
        }
        
        protected override void OnInvoked(System.EventArgs e) {
            de.WWWings.Workflow.FlugDaten castedE = ((de.WWWings.Workflow.FlugDaten)(e));
            this.FlugNr = ((long)(castedE.FlugNr));
            this.Plaetze = ((byte)(castedE.Plaetze));
        }

     private void InitializeComponent()
     {
      // 
      // FlugDaten_Bereit
      // 
      this.Name = "FlugDaten_Bereit";
      this.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.FlugDaten_Bereit_Invoked);

     }

     private void FlugDaten_Bereit_Invoked(object sender, ExternalDataEventArgs e)
     {

     }
    }
    
    [ToolboxItemAttribute(typeof(ActivityToolboxItem))]
    public partial class PersonenDaten_Bereit : HandleExternalEventActivity {
        
        public static DependencyProperty NameParameterProperty = DependencyProperty.Register("NameParameter", typeof(string), typeof(PersonenDaten_Bereit));
        
        public static DependencyProperty EMailProperty = DependencyProperty.Register("EMail", typeof(string), typeof(PersonenDaten_Bereit));
        
        public PersonenDaten_Bereit() {
            base.InterfaceType = typeof(de.WWWings.Workflow.IBuchungsdienst);
            base.EventName = "PersonenDaten_Bereit";
        }
        
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
        public override System.Type InterfaceType {
            get {
                return base.InterfaceType;
            }
            set {
                throw new InvalidOperationException("Cannot set InterfaceType on a derived HandleExternalEventActivity.");
            }
        }
        
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
        public override string EventName {
            get {
                return base.EventName;
            }
            set {
                throw new InvalidOperationException("Cannot set EventName on a derived HandleExternalEventActivity.");
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public string NameParameter {
            get {
                return ((string)(this.GetValue(PersonenDaten_Bereit.NameParameterProperty)));
            }
            set {
                this.SetValue(PersonenDaten_Bereit.NameParameterProperty, value);
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public string EMail {
            get {
                return ((string)(this.GetValue(PersonenDaten_Bereit.EMailProperty)));
            }
            set {
                this.SetValue(PersonenDaten_Bereit.EMailProperty, value);
            }
        }
        
        protected override void OnInvoked(System.EventArgs e) {
            de.WWWings.Workflow.PersonenDaten castedE = ((de.WWWings.Workflow.PersonenDaten)(e));
            this.NameParameter = ((string)(castedE.Name));
            this.EMail = ((string)(castedE.EMail));
        }
    }
    
    [ToolboxItemAttribute(typeof(ActivityToolboxItem))]
    public partial class ZahlungsDaten_Bereit : HandleExternalEventActivity {
        
        public static DependencyProperty KreditkartenNummerProperty = DependencyProperty.Register("KreditkartenNummer", typeof(long), typeof(ZahlungsDaten_Bereit));
        
        public static DependencyProperty KartenartProperty = DependencyProperty.Register("Kartenart", typeof(de.WWWings.Workflow.Kartenarten), typeof(ZahlungsDaten_Bereit));
        
        public static DependencyProperty GueltigBisProperty = DependencyProperty.Register("GueltigBis", typeof(System.DateTime), typeof(ZahlungsDaten_Bereit));
        
        public ZahlungsDaten_Bereit() {
            base.InterfaceType = typeof(de.WWWings.Workflow.IBuchungsdienst);
            base.EventName = "ZahlungsDaten_Bereit";
        }
        
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
        public override System.Type InterfaceType {
            get {
                return base.InterfaceType;
            }
            set {
                throw new InvalidOperationException("Cannot set InterfaceType on a derived HandleExternalEventActivity.");
            }
        }
        
        [BrowsableAttribute(false)]
        [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
        public override string EventName {
            get {
                return base.EventName;
            }
            set {
                throw new InvalidOperationException("Cannot set EventName on a derived HandleExternalEventActivity.");
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public long KreditkartenNummer {
            get {
                return ((long)(this.GetValue(ZahlungsDaten_Bereit.KreditkartenNummerProperty)));
            }
            set {
                this.SetValue(ZahlungsDaten_Bereit.KreditkartenNummerProperty, value);
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public de.WWWings.Workflow.Kartenarten Kartenart {
            get {
                return ((de.WWWings.Workflow.Kartenarten)(this.GetValue(ZahlungsDaten_Bereit.KartenartProperty)));
            }
            set {
                this.SetValue(ZahlungsDaten_Bereit.KartenartProperty, value);
            }
        }
        
        [ValidationOptionAttribute(ValidationOption.Required)]
        public System.DateTime GueltigBis {
            get {
                return ((System.DateTime)(this.GetValue(ZahlungsDaten_Bereit.GueltigBisProperty)));
            }
            set {
                this.SetValue(ZahlungsDaten_Bereit.GueltigBisProperty, value);
            }
        }
        
        protected override void OnInvoked(System.EventArgs e) {
            de.WWWings.Workflow.ZahlungsDaten castedE = ((de.WWWings.Workflow.ZahlungsDaten)(e));
            this.KreditkartenNummer = ((long)(castedE.KreditkartenNummer));
            this.Kartenart = ((de.WWWings.Workflow.Kartenarten)(castedE.Kartenart));
            this.GueltigBis = ((System.DateTime)(castedE.GueltigBis));
        }
    }
}
