public EditorWindow(ModelItem activity, ModelItem correlationHandler, ObservableCollection <CorrelationDataWrapper> correlationData, EditingContext context)
                {
                    this.ModelItem            = activity;
                    this.Context              = context;
                    this.Owner                = activity.View;
                    this.MinHeight            = 250;
                    this.MinWidth             = 450;
                    this.EnableMaximizeButton = false;
                    this.EnableMinimizeButton = false;
                    this.WindowResizeMode     = ResizeMode.CanResize;
                    this.WindowSizeToContent  = SizeToContent.Manual;
                    var content = new CorrelationDataDesigner()
                    {
                        Activity                  = activity,
                        CorrelationHandle         = correlationHandler,
                        CorrelationInitializeData = correlationData
                    };

                    this.Title       = (string)content.Resources["controlTitle"];
                    this.Content     = content;
                    this.HelpKeyword = HelpKeywords.InitializeCorrelationDialog;
                }
 public EditorWindow(ModelItem activity, ModelItem correlationHandler, ObservableCollection<CorrelationDataWrapper> correlationData, EditingContext context)
 {
     this.ModelItem = activity;
     this.Context = context;
     this.Owner = activity.View;
     this.MinHeight = 250;
     this.MinWidth = 450;
     this.EnableMaximizeButton = false;
     this.EnableMinimizeButton = false;
     this.WindowResizeMode = ResizeMode.CanResize;
     this.WindowSizeToContent = SizeToContent.Manual;
     var content = new CorrelationDataDesigner() 
     { 
         Activity = activity,
         CorrelationHandle = correlationHandler,
         CorrelationInitializeData = correlationData
     };
     this.Title = (string)content.Resources["controlTitle"];
     this.Content = content;
     this.HelpKeyword = HelpKeywords.InitializeCorrelationDialog;
 }